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

delan has just created a new issue for https://github.com/w3c/svgwg:

== ::selection and other highlights in SVG ==
https://svgwg.org/svg2-draft/text.html#TextSelection

> As the text selection operation proceeds (e.g., the user continues to press the given mouse button), all associated events with other graphics elements are ignored (i.e., the text selection operation is modal) and the SVG user agent shall dynamically indicate which characters are selected by applying styles for the ::selection pseudo-class.

::selection is not a pseudo-class (anymore?) but rather a [highlight pseudo-element](https://drafts.csswg.org/css-pseudo-4/#highlight-pseudos), with complex inheritance and painting rules. Are highlight pseudos (per css-pseudo) compatible with SVG, or do they need to be “ported” somehow?

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/894 using your GitHub account


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

Received on Thursday, 1 September 2022 13:53:05 UTC