[Webkit-unassigned] [Bug 17680] Combination of checked pseudo-class and multiple chained sibling selectors fails in Webkit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 3 14:14:28 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=17680





------- Comment #6 from hyatt at apple.com  2008-04-03 14:14 PDT -------
Yeah this case fails "on purpose" right now, since I wanted to come up with a
performant way of doing it.  Ideas include:

(1) Just re-resolve everything after the first changed sibling.  Could result
in bad slowness in pages as a result, but then again, people chaining these
selectors are kind of asking  for it. ;)

(2) Waste more memory and hold a maximum sibling chain count in the
RenderStyles.  This count would enable you to only re-resolve as many siblings
as necessary on a change.  Would be faster but RenderStyles would have to grow
(making all pages take up more memory).

I'm inclined to just do (1) and not worry about the performance.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list