Re: [svgwg] ::selection and other highlights in SVG (#894)

@longsonr Here the results with `-webkit-text-fill-color`
It doesn't change the initial results.
 
* `text::selection {-webkit-text-fill-color: green}` https://codepen.io/webcompat/full/EaPmLKG
* `::selection {-webkit-text-fill-color: green}`https://codepen.io/webcompat/full/dPGWepb


To note that [`-webkit-text-fill-color`](https://compat.spec.whatwg.org/#the-webkit-text-fill-color) is defined in the compat spec by:

> The [-webkit-text-fill-color](https://compat.spec.whatwg.org/#propdef--webkit-text-fill-color) property defines the foreground [fill](https://svgwg.org/svg2-draft/painting.html#TermFill) color of an element’s text content.

And associated WPT https://wpt.fyi/results/compat?label=master&label=experimental&aligned&q=webkit-text-fill


<img width="3683" height="1279" alt="Image" src="https://github.com/user-attachments/assets/03f1c737-a140-4f11-8b91-e2a2c562e215" />

-- 
GitHub Notification of comment by karlcow
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/894#issuecomment-3384112618 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 9 October 2025 04:53:18 UTC