Re: [csswg-drafts] [css-forms-1] Pseudo elements and SVG for form controls (#12039)

Here is another example from @argyleink where the fill color of the `<svg>` is hardcoded in a data URI for the CSS `content` value: https://codepen.io/editor/argyleink/pen/019c1f28-bbc2-7bac-ad4a-a7e41d3730f1

What if we start "simple" here and make `currentColor` and CSS custom props available to inline data URI SVGs? Is that doable? Are there reasons why that isn't already possible?

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


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

Received on Wednesday, 4 February 2026 08:53:46 UTC