[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 10:53:02 PDT 2012


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





--- Comment #5 from Dimitri Glazkov (Google) <dglazkov at chromium.org>  2012-10-30 10:54:20 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > Hmm... it seems changing attribute does not reflect immediately at all.
> > Let's use this as a meta bug and fix them one by one.
> 
> Right. we need to address this.
> On the other hand, it is bad idea to re-run distribution algorithm for each attribute change
> from a performance perspective.

It may sound pretty bad, but it's something CSS does anyway, right?

> Can we do something more efficient like examining @select attribute values before
> invalidating the distribution?

This sounds like an interesting optimization:
1) determine effects of the select as some subset of DOM changes
2) act only on DOM changes that are in this subset.

Also sounds:
1) incredibly complex
2) something that could be shared with general CSS rule matching

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