[whatwg] A link[scoped] usecase

On 3/2/12 5:59 AM, Gray Zhang wrote:
> <div>
>      <!-- This link element only works for it's containing div -->
>      <link rel="stylesheet"
> href="3rd-party-theme/user-published-20120302133702.css" scoped="scoped" />
>      <span class="keyword">function</span><span
> class="identifier">test</span>...
> </div>

<div>
   <style scoped>
     @import url(3rd-party-theme/user-published-20120302133702.css);
   </style>
   Stuff
</div>

> By now, for the reason that there is not link[scoped] and style[scoped] is
> not supported for any browser

Seems like once browsers implement style[scoped] your problem is solved, 
right?

-Boris

Received on Friday, 2 March 2012 07:43:13 UTC