When selecting the following (demo):
<style> .example1::selection { text-decoration: blue underline; } .example1 sup::selection { text-decoration: green overline; } .example2::selection { text-decoration: #66339980 underline; } .example3::selection { text-decoration: underline; } </style> <span class="example1">Hello, <sup>world</sup>!</span> <span class="example2">Goodbye, <span>space</span>!</span> <span class="example3">On my way, <sup>core</sup>!</span>
We want to be careful not to inadvertently favour the incorrect decoration impl in Blink^ and WebKit, where descendants paint propagated decorations as if they were specified directly — equivalent to 3(b) in non-highlight content.
(cc @frivoal, @fantasai, @mrego, @MatsPalmgren)
^ fixed for underlines in Chromium 105
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3