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

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

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 21 Aug 2008 23:28:28 +0000 (UTC)
To: Henri Sivonen <hsivonen@iki.fi>
Cc: HTMLWG WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0808212327300.14795@hixie.dreamhostps.com>

On Thu, 10 Jan 2008, Henri Sivonen wrote:
> 
> The permitted contexts of <style scoped> and the content models of 
> <object>, <video> and <audio> seem to be in conflict or at least subject 
> to interpretation.
> 
> <style scoped> contexts:
> "If the scoped attribute is present: where prose content is expected, but
> before any sibling elements other than style elements and before any text
> nodes other than inter-element whitespace."
> 
> <video> content model:
> "If the element does not have a src attribute: one or more source elements,
> then, transparent."
> 
> <object> content model:
> "Zero or more param elements, then, transparent."
> 
> So what are the conformance requirements for the relative order of 
> <source> (or <param>) and <style scoped>? Or should "transparent" be 
> read to imply that <style scoped> isn't allowed there? (If that's the 
> case, there are <ins>/<del> repercussions, too. Sigh.)
> 
> (FWIW, requiring <source>s or <param>s to come before <style scoped> 
> makes the simplest RELAX NG schema, but I know that's not the main 
> consideration here.)

I've tried to make this less ambiguous -- let me know if the new text 
still needs work.

Thanks,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 21 August 2008 23:28:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:22 GMT