RESOLVED CONFIGURATION CHANGED 71026
Tighten font change conditions in matched declaration cache
https://bugs.webkit.org/show_bug.cgi?id=71026
Summary Tighten font change conditions in matched declaration cache
Antti Koivisto
Reported 2011-10-27 09:28:23 PDT
We currently test if font description has changed to see if all properties need to be applied. However only a few size related metrics can actually affect other properties. We can just test those, making the cache somewhat more effective while also making the test faster.
Attachments
patch (4.19 KB, patch)
2011-10-27 09:37 PDT, Antti Koivisto
no flags
Antti Koivisto
Comment 1 2011-10-27 09:37:53 PDT
Antti Koivisto
Comment 2 2011-10-29 02:36:41 PDT
Csaba Osztrogonác
Comment 3 2011-10-29 10:37:58 PDT
It made all tests assert on Qt in debug mode: ASSERTION FAILED: fontCache()->generation() == m_generation ../../../Source/WebCore/platform/graphics/FontFallbackList.cpp(104) : const WebCore::FontData* WebCore::FontFallbackList::fontDataAt(const WebCore::Font*, unsigned int) const Could you check it, please?
Ryosuke Niwa
Comment 4 2011-10-29 14:18:33 PDT
It appears that this patch broke 500+ tests on Windows: http://build.webkit.org/builders/Windows%207%20Release%20%28Tests%29/builds/17418
Antti Koivisto
Comment 5 2011-10-30 09:06:12 PDT
Rolled out in http://trac.webkit.org/changeset/98826, don't know yet why this would fail only on some platforms.
Eric Seidel (no email)
Comment 6 2011-12-21 14:34:33 PST
Attachment 112694 [details] was posted by a committer and has review+, assigning to Antti Koivisto for commit.
Brent Fulgham
Comment 7 2022-08-02 13:25:44 PDT
This path doesn't seem relevant after the updated CSS parser.
Radar WebKit Bug Importer
Comment 8 2022-08-02 13:26:18 PDT
Note You need to log in before you can comment on or make changes to this bug.