Summary: | Updating class name doesn't update the slotted content's style | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||||||||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | cdumez, commit-queue, dbates, esprehn+autocc, jan, kangil.han, koivisto, webkit-bug-importer, webkit | ||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Bug Depends on: | |||||||||||||||
Bug Blocks: | 148695 | ||||||||||||||
Attachments: |
|
*** Bug 160865 has been marked as a duplicate of this bug. *** A few more test cases listed on https://polymerlabs.github.io/wc-demos/ Created attachment 294494 [details]
patch
Created attachment 294501 [details]
patch
Created attachment 294502 [details]
patch
Comment on attachment 294502 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=294502&action=review > LayoutTests/fast/shadow-dom/css-scoping-slotted-invalidation.html:86 > + Maybe we should add a test which involves multiple slots in a single shadow tree? Created attachment 294539 [details]
patch for landing
Comment on attachment 294539 [details] patch for landing Clearing flags on attachment: 294539 Committed r208616: <http://trac.webkit.org/changeset/208616> All reviewed patches have been landed. Closing bug. |
Created attachment 294319 [details] Demo ::slotted(.selected) wouldn't apply when the class name is applied dynamically.