Open delan opened 3 months ago
Agree that find highlights should paint on top of everything else. In WebKit/Safari, these are painted outside of the web content, in an overlay, with graphical effects that are not possible via web content.
The CSS Working Group just discussed [css-pseudo-4] painting order of find-in-page highlights
, and agreed to the following:
RESOLVED: ::search-text paints directly above or directly below ::selection (up to UA)
3812 suggests adding new highlight pseudos for find-in-page search results, but does not specify the painting order.
We propose that find-in-page highlights paint on top of all existing highlights, for three reasons: