W3C home > Mailing lists > Public > www-validator@w3.org > March 2012

Element style is missing required attribute scoped, but scoped is a boolean attribute

From: Martijn Otto <martijn.otto@copernica.com>
Date: Mon, 26 Mar 2012 09:39:43 +0200
Message-ID: <4F701D3F.5060105@copernica.com>
To: www-validator@w3.org
I am having issues validating a html5 document with an inline style tag. 
The validator complains about a missing scoped attribute.

When checking the specs, it says that the scoped attribute is a boolean 
one. This means that including it at all means a true value. To give 
false for the attribute it has to be omitted entirely.

Therefor, omitting the attribute has to be valid, otherwise there would 
be no valid way to specify a non-scoping style tag.
Received on Monday, 26 March 2012 08:05:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:50 GMT