Re: What attributes are required on the <sytle> element?

Anne,

On the contrary, I missed where it described that 'scope' was required
for flow content because I missed it here:
http://www.whatwg.org/specs/web-apps/current-work/#attr-style-scoped

(thus, I started with this mailing list)

Sam,

I do see in the spec where it describes this behavior now.

Thanks,
Jeff


On Wed, Sep 23, 2009 at 10:11 AM, Sam Ruby <rubys@intertwingly.net> wrote:
> Jeff Schiller wrote:
>>
>>
>> http://html5.validator.nu/?doc=http%3A%2F%2Fsvg-edit.googlecode.com%2Fsvn%2Ftrunk%2Feditor%2Fsvg-editor.html&showsource=yes
>
> Style elements may only be used in the body of a document if the scoped
> attribute is present.
>
> Either:
>
> a) move the element to the <head> if you mean for this style to apply to the
> whole document.
>
> or
>
> b) add the scoped attribute (as a boolean attribute, i.e., either with no
> value or with either "" or "scoped" as the value) if you mean for this style
> to only apply to this element and any nested content.
>
>> Thanks,
>> Jeff
>
> - Sam Ruby
>
>

Received on Wednesday, 23 September 2009 15:23:04 UTC