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

Both Blink and Firefox show green in:

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

So I don't think https://github.com/w3c/csswg-drafts/issues/2757#issuecomment-396337601 is quite accurate.

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

Received on Monday, 11 June 2018 22:36:58 UTC