W3C home > Mailing lists > Public > www-style@w3.org > December 2013

Re: [CSSWG][css-syntax] Last Call WD of CSS Syntax Module Level 3

From: Simon Pieters <simonp@opera.com>
Date: Wed, 18 Dec 2013 22:56:34 +0100
To: "Simon Sapin" <simon.sapin@exyr.org>, "Lev Solntsev" <greli@mail.ru>
Cc: www-style@w3.org
Message-ID: <op.w8a5wkpmidj3kv@simons-macbook-pro.local>
On Wed, 18 Dec 2013 21:04:54 +0100, Lev Solntsev <greli@mail.ru> wrote:

> A colleague of mine noted that in HTML5 it's allowed to write an id that  
> starts with a number, but it isn't in CSS.

In HTML an id can be anything but the empty string and it can't contain  
whitespace. So ids that start with a number is but one of many cases that  
need escaping in CSS.

-- 
Simon Pieters
Opera Software
Received on Wednesday, 18 December 2013 21:57:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:17 UTC