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

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 UTC