- From: Karl Dubost via GitHub <noreply@w3.org>
- Date: Wed, 08 Oct 2025 06:45:33 +0000
- To: public-svg-issues@w3.org
<img width="3679" height="1410" alt="results of different test in safari, firefox and chrome" src="https://github.com/user-attachments/assets/908fb933-091a-4b7f-bc79-a97b7cae7f4d" />
So summary:
Columns: Safari, Firefox, Chrome
Rows:
* `text::selection {color: green}` https://codepen.io/webcompat/full/EaPmYdm
* `text::selection {fill: green}` https://codepen.io/webcompat/full/gbPWYQZ
* `text::selection {stroke: blue}` https://codepen.io/webcompat/full/xbZdKMX
* `text::selection {stroke: blue; stroke-width: 2px;}` https://codepen.io/webcompat/full/RNrVbde
We can notice that
1. Firefox doesn't know about `fill`, `stroke` and `stroke-width` at all.
2. Chrome and Safari have the same behavior mostly, except that Chrome shows a selection background per default once you apply a change of style. `color` has no effect for Chrome and Safari.
Opened on Bugzilla Mozilla.
https://bugzilla.mozilla.org/show_bug.cgi?id=1993164
--
GitHub Notification of comment by karlcow
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/894#issuecomment-3379953558 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 8 October 2025 06:45:34 UTC