Bug 92053
| Summary: | [Shadow] Implicitly-scoped styles only work if the <style scoped> flag is enabled | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dominic Cooney <dominicc> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | dglazkov, morrita, shinyak, tasak |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 63606 | ||
Dominic Cooney
If you run the tabs example from https://github.com/coonsta/Web-Components-Polyfill in samples/tabs/index.html the styles in the Shadow DOM are applied differently depending on whether the Enable <style scoped> flag is enabled or not.
I believe <style scoped> is behind a flag because of questions about the HTML spec. I don’t think scoping styles for Web Components needs to block on that.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Hajime Morrita
Oops. Dominic filed this ahead of me. I'm sorry for my overlooking.
*** This bug has been marked as a duplicate of bug 95664 ***