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

> [@jpzwarte](https://github.com/jpzwarte) In theory, this is covered by https://drafts.csswg.org/css-link-params-1/, although no browser has implemented that yet.

There is no data URI example in there, but i assume it would look something like this?

```css
content: url(
  'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" stroke="env(--stroke, black)" fill="none" viewBox="0 0 24 24"  stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="m4.5 12.75 6 6 9-13.5"/></svg>', 
  param(--stroke, var(--some-design-system-color))
);

-- 
GitHub Notification of comment by jpzwarte
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12039#issuecomment-3846325533 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 09:30:51 UTC