csswg-drafts icon indicating copy to clipboard operation
csswg-drafts copied to clipboard

[css-pseudo-4] Add a new pseudo element search-text

Open jihyerish opened this issue 1 year ago • 1 comments

Add a new pseudo-element ::search-text which is highlight pseudo-elements allowing CSS styling of the search results shown using a browser’s find-in-page feature and its painting order among others.

There are resolutions from CSSWG:

  • Add ::search-text : https://github.com/w3c/csswg-drafts/issues/10212#issuecomment-2089302563
  • Painting order of ::search-text: https://github.com/w3c/csswg-drafts/issues/10213#issuecomment-2089311110

jihyerish avatar Jun 20 '24 04:06 jihyerish

@fantasai , In the resolution , this feature needs to be marked as optional to implement. How can I put it in the spec?

jihyerish avatar Jun 26 '24 00:06 jihyerish

I rebased the PR to clear the conflicts and made some edits and merged it, so closing.

fantasai avatar Oct 15 '24 04:10 fantasai