Re: [csswg-drafts] [cssom] Always return escaped idents? (#12258)

Including property names in declarations: https://software.hixie.ch/utilities/js/live-dom-viewer/saved/13829
All 3 browsers agree it's the actual value: `--a b`
I prefer to never escape, just like in HTML if I use

```html
<div id="target">a &lt; b</div>
<script>alert(target.firstChild.nodeValue)</script>
```

I expect the string `"a < b"`, not `"a &lt; b"`.

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


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

Received on Tuesday, 3 June 2025 09:05:57 UTC