[Webkit-unassigned] [Bug 100451] [Shadow DOM][Meta] Changing attribute does not cause distribution.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 30 21:13:13 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=100451





--- Comment #7 from Shinya Kawanaka <shinyak at chromium.org>  2012-10-30 21:14:31 PST ---
I'm now thinking the following plan:

1. ShadowRoot should know the set of descendant InsertionPoint
    - Maybe we can hook insertedInto and removedFrom
2. ShadowRoot should also know the descendant elements having ElementShadow
    - We also track addShadowRoot()
3. ShadowRoot will have FeatureRuleSet or something like that
    - We update it when InsertionPoint / ElementShadow is added/removed
4. When attribute of the direct child (or non-direct child in fallback element case) is changed, we consult with the FeatureRuleSet whether the change is related or not.
    - If it's related, we invalidate the distribution.
    - If not, we recursively consult with ElementShadow.

-- 
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