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

Re: [css-selectors][css-syntax] HTML5 Attribute names in CSS?

From: Simon Pieters <simonp@opera.com>
Date: Tue, 06 Aug 2013 11:59:55 +0200
To: "CSS WG" <www-style@w3.org>, François REMY <francois.remy.dev@outlook.com>
Message-ID: <op.w1d3d5l6idj3kv@simons-macbook-pro.local>
On Mon, 01 Jul 2013 21:48:47 +0200, François REMY  
<francois.remy.dev@outlook.com> wrote:

> In HTML5, attribute names like <div data-x{32}=”17” data-a.b=”21”> are  
> totally valid

data-x{32}="17" is not valid.

http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#custom-data-attribute  
(note "XML-compatible")

Dots are allowed though.

-- 
Simon Pieters
Opera Software
Received on Tuesday, 6 August 2013 09:55:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:32 UTC