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

@schenney-chromium 👋 

We discussed it on the last SVG WG meeting. I will add more tests. 
https://www.w3.org/2025/10/02-svg-minutes.html#df97

Current status:
1. `text {color: green}` doesn't set the color of the text
2. `text {fill: green}` sets the color of the text 
3. `text::selection {color: green}` set the color of the text in Firefox, but **not** in Safari, Chrome
4. `text::selection {fill: green}` set the color of the text to black in Firefox, and green in Safari and Chrome. 

I will add more test to look at `stroke` and `stroke-width` behaviors. 

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


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

Received on Friday, 3 October 2025 01:35:43 UTC