Re: [csswg-drafts] [css-color-adjust-1] Define what happens to SVG in forced colors mode (#3855)

I was hoping to re-address this issue, specifically regarding what should happen to SVG `<text>` in forced colors mode. After discussing this with @atanassov, there appear to be a couple concerns with setting `forced-color-adjust: auto;` for such elements:

1. Adjusting the styles for SVG textual elements creates an inconsistent experience when the rest of the SVG element is not being styled for forced colors mode.
2. More importantly, the backplate becomes difficult to define in this case. For example, what should the backplate look like for text on a path?

Considering this, I would suggest that we do not apply forced colors to SVG  `<text>`, and only apply `forced-color-adjust: auto;` to `<foreignObject>` SVG elements.

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

Received on Tuesday, 4 February 2020 01:24:46 UTC