Re: [whatwg] A <link rel=stylesheet scoped> usecase

On Fri, 8 Jun 2012, Kang-Hao (Kenny) Lu wrote:
> (12/06/08 7:28), Ian Hickson wrote:
> > It still seems like a bit of an edge case, so I think it's ok for us 
> > to continue to rely on @import for this for now. But we should keep an 
> > eye out for how often people use this technique; if it is indeed 
> > something that comes up a lot, then introducing scoped="" on <link 
> > rel=stylesheet> would make sense.
> (12/03/03 2:03), Kang-Hao (Kenny) Lu wrote:
> > A reader of html5doctor had the same problem too[1] and I can 
> > certainly image other people being confused by this.
> >
> > [1]
> which I mentioned, Googling the string "html5 scoped @import" gives me 
> the following sites which mention this technique, even if there's only 
> one browser supporting the 'scoped' attribute at the moment: [2][3][4]
> [2]
> [3]
> [4]

Yeah, that's fair enough.

Righ now I can't find any browsers that implement <style scoped>. Unless 
<link scoped> is preferred by vendors than <style scoped>, I'd rather get 
one implemented and proven to work before we add more, so I still haven't 
added <link scoped>. To make sure I don't forget about this, though, I've 
filed it as a bug and will mark it LATER.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 30 November 2012 00:36:09 UTC