W3C home > Mailing lists > Public > public-html@w3.org > October 2008

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

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 15 Oct 2008 00:32:03 +0000 (UTC)
To: Henri Sivonen <hsivonen@iki.fi>
Cc: HTMLWG WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0810150027370.1237@hixie.dreamhostps.com>

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.

    <source src=foo>
    <style scoped>

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

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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:38 UTC