[Webkit-unassigned] [Bug 49142] Implement HTML5 style scoped attribute
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 31 09:03:35 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=49142
--- Comment #21 from Dimitri Glazkov (Google) <dglazkov at chromium.org> 2011-05-31 09:03:34 PST ---
(In reply to comment #20)
> (In reply to comment #19)
> > ... let's pick the simplest possible design and go with it.
>
> In this case I would suggest a hybrid of your original suggestion and my last one:
>
> 1.) create a scope-ID by simply having an incrementing counter
> 2.) automatically add all scoped stylesheets in <template>s
> 3.) add an additional flag for scoped style-sheets that are just instances of one in a <template>
>
> Scoped stylesheets with the flag set are not added/removed from the Document (their rules are already present by virtue of 2.) OTOH, scoped stylesheets that are added otherwise are dynamically added/removed as originally suggested.
>
> This should be easy enough, while still avoiding any overhead on inserting/removing <x-foo> elements.
>
> If there are no objections, I could give this version a go.
SGTM.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list