Re: <style scoped> and semi-transparent content models

On Thu, 25 Sep 2008, Henri Sivonen wrote:
> 
> I'm still unable to determine whether 
> http://hsivonen.iki.fi/test/moz/source-then-scoped.html is supposed to 
> conform.

  ...
  <body>
   <video>
    <source src=foo>
    <style scoped>
    </style>
    <p>foo</p>
   </video>

The content model of <video> is one or more source elements then 
transparent.

When a content model includes a part that is "transparent", those parts 
must not contain content that would not be conformant if all transparent 
and semi-transparent elements in the tree were replaced, in their parent 
element, by the children in the "transparent" part of their content model, 
retaining order.

The <body> element's content model is "flow content".

The <style> element, since it has a scoped="" attribute, is flow content 
and is allowed where flow content is expected, but before any other flow 
content other than other style elements and inter-element whitespace.

The <source> element is not flow content.

This seems unambiguous -- what reading of the above would lead to the 
conclusion that the above snippet is non-conforming?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 15 October 2008 00:32:38 UTC