Seems like Gecko's been somewhat fixed since last time I tested. They used to truncate to "hello" for --a below: ``` <div id="a"></div> <div id="b"></div> <script type="text/javascript"> var css = document.createElement("style"); css.innerHTML = '* { --a: hello\0world; font-family: "foo\0test"; }'; document.body.appendChild(css); a.innerHTML = getComputedStyle(document.body).getPropertyValue('--a'); b.innerHTML = getComputedStyle(document.body).getPropertyValue('font-family'); </script> ``` Gecko does not replace with a replacement character in custom idents, it seems. -- GitHub Notification of comment by lilles Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2757#issuecomment-396525340 using your GitHub accountReceived on Tuesday, 12 June 2018 09:24:06 UTC
This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:50 UTC