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: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 11 Jun 2018 23:18:48 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-396416571-1528759127-sysbot+gh@w3.org>
Yes, both of those examples are showing between-rules NULL; the first gloms into the second selector and invalidates it, the second is in a comment and does nothing.

<!doctype html>
<style id="s">
<div>Which color?</div>
  s.innerHTML = "div { color: green; } div { color: red\0 }";

Shows green in Chrome, but iirc (can't test at the moment) it shows red in Firefox.

GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2757#issuecomment-396416571 using your GitHub account
Received on Monday, 11 June 2018 23:18:53 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:31 UTC