W3C home > Mailing lists > Public > public-html@w3.org > June 2007

Re: Scoped style element questions Re: Unscoped <style> found outside the <head>

From: Dão Gottwald <dao@design-noir.de>
Date: Mon, 04 Jun 2007 13:33:31 +0200
Message-ID: <4663F88B.1010608@design-noir.de>
To: liorean <liorean@gmail.com>
CC: HTML WG <public-html@w3.org>

liorean schrieb:
> 
> On 03/06/07, Laurens Holst <lholst@students.cs.uu.nl> wrote:
>> Better use IDs then, e.g. <elm id="scope.identifier.string">. That will
>> make converting a 'scoped' stylesheet also a lot easier, as it's just a
>> matter of prefixing all selectors in the scoped stylesheet with 
>> #{@scope}.
> 
> True. However, I just chimed in to make sure that the third proposal
> wasn't left out of the discussion, since Karl obviously didn't list
> that suggestion.
> 
> I would personally prefer the following-siblings-only scoping proposal
> to be what we specify, possibly together with a new ::scopeRoot
> pseudo-element that encompasses all those siblings.

I'd prefer a :scope-root pseudo-class, applying to the parent node. 
Creating a magic range sounds like unneeded complication to me.

--Dao
Received on Monday, 4 June 2007 11:33:46 GMT

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