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

I just want to mention that @smfr's comment applies in Gecko too. Any time the `stroke-width` property changes, we perform a reflow to recompute the painted bounds of the element. (This won't affect the layout / position of other elements, but it's still work that must be done.) It's probably not super awful to reflow during selection dragging as the selection encompasses new elements with `::selection { stroke-width: ... }` styles but it's not something we do now and it would be good to avoid if we could since currently updating for selection styles only require a repaint.

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

Received on Wednesday, 30 January 2019 00:47:02 UTC