W3C home > Mailing lists > Public > www-style@w3.org > January 2012

Re: Suggestion for @global to help with <style scoped>

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 30 Jan 2012 23:42:10 +0000 (UTC)
To: "Tab Atkins Jr." <jackalmage@gmail.com>
cc: www-style list <www-style@w3.org>
Message-ID: <Pine.LNX.4.64.1201302304540.3868@ps20323.dreamhostps.com>
On Mon, 19 Sep 2011, Tab Atkins Jr. wrote:
> 
> [http://www.w3.org/mid/CAAWBYDD_xKkO5Ay9Z3vqHh-dPTgZc5QCghy4edoac6+SnbMYCQ@mail.gmail.com]
>
> We add an @global rule to Selectors 4.  The syntax of this is:
> 
> @global <selector> {
>   <decl block>
> }
> 
> In other words, it's exactly like a normal selector+decl-block, just 
> preceded by "@global ". [...]

For now, I've specced this in the HTML spec. I'd like to move the @global 
rule to a CSS spec, so when that's an option please let me know. I'd be 
happy to coordinate with whoever edits the relevant CSS spec.

http://www.whatwg.org/specs/web-apps/current-work/#attr-style-scoped

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 30 January 2012 23:42:33 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:49 GMT