Re: [csswg-drafts] [css-syntax] Consider disallowing NULL code points in stylesheets

Just curious, is there a test-case for this? Both Blink and Firefox show red in the following example:

```html
<!doctype html>
<style id="s">
</style>
<div>Which color?</div>
<script>
  s.innerHTML = [
    "div { color: red; }",
    "div { color: green; }",
  ].join("\0");
</script>
```

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

Received on Monday, 11 June 2018 22:21:38 UTC