Bugzilla – Bug 968
A style element with scoped attribute should be accepted at the start of body
Last modified: 2013-09-09 22:48:52 CEST
The following minimal document causes an error message: <!doctype html> <title></title> <body> <style scoped></style> The message says: “Element style not allowed as child of element body in this context.” followed by the following information: “Contexts in which element style may be used: If the scoped attribute is absent: where metadata content is expected. If the scoped attribute is absent: in a noscript element that is a child of a head element. If the scoped attribute is present: where flow content is expected, but before any other flow content other than inter-element whitespace, and not as the child of an element whose content model is transparent. Content model for element body: Flow content.” Thus, the element should be accepted at the very start of the body element.
Fixed. You can test at http://validator.w3.org/nu/
Verified, fixed in http://validator.w3.org too.