[Webkit-unassigned] [Bug 9454] CSS2: Language not inherited from parent element (Acid3 bug)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 6 14:45:23 PST 2008


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





------- Comment #34 from sandfeld at kde.org  2008-01-06 14:45 PDT -------
I am not sure it is worthwhile to do the low-grained invalidation of a
selector-cache. 

I have a selector-cache implementation for KHTML which caches Descent
selectors, it can easily cache :lang selectors as well. The short-cut I decided
to do to make the cache really simple and mem-safe was to only use it on
recalcStyle(Forced) runs. These runs happens every time a new style-element is
loaded or added to the document, and everytime a top-selector in a Descent
selector changes (eg. [attr] div, should create a run when attr changes).
Such a cache will effectively give you and O(1) run-time on these
ancestor-crawls.  

For the language though, it doesn't solve the fast-access need if you are going
to use them in font-selection.


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