- From: Olivier GENDRIN <olivier.gendrin@gmail.com>
- Date: Fri, 1 Jun 2007 13:37:04 +0200
- To: "Karl Dubost" <karl@w3.org>
- Cc: "David Hyatt" <hyatt@apple.com>, "public-html@w3.org WG" <public-html@w3.org>
On 5/29/07, Karl Dubost <karl@w3.org> wrote: > <div class="parent"> > content 1 > <style scope=""> > some CSS rules > </style> > content 2 > <div class="child"> > content 3 > </div> > </div> > > Issues: > > * everything inside div.parent > - including div.parent? > - excluding div.parent? > * what's happening with a rule like: > style {display: block; > background:red;} > * Is an empty element a parent? And what about body, head css target ? How to handle a scoped body{background: #fff} ? If we make an analogy with a full documents, we could consider that a scoped html applies to the parent element of <style>, and that body applies to the sibblings (they can also be targeted by usual selectors). And what about external stylesheets ? <style> should have a @src element that could be scoped. -- Olivier G. http://www.lespacedunmatin.info/blog/
Received on Friday, 1 June 2007 11:55:42 UTC