W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

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

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Mon, 11 Jun 2018 22:21:36 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-396405872-1528755695-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 11 June 2018 22:21:39 UTC