Re: [csswg-drafts] [css-pseudo] Add stroke-color and stroke-width to the list of highlight properties (#2362)

I'm not sure that "layout overflow" is a meaningful concept in SVG. There's currently no way that a stroke  size on one element can affect the layout of another rendered element, although it can affect marker sizing (Markers being "decorations" on the same element as the stroke property -- from a rendering-tree perspective they'd be like child content.)

Chrome already supports the stroke and fill properties on `::selection` in SVG. (https://codepen.io/AmeliaBR/pen/VqMrPV) although not `paint-order`, which I would add to the list. 

In general, selection styling and SVG is a mess, because there is no official support for background color on SVG text spans, yet it's still part of the default selection styles in most browsers. But that's a separate issue that shouldn't hold up these changes.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2362#issuecomment-450438254 using your GitHub account

Received on Friday, 28 December 2018 22:39:17 UTC