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

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