WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
154242
Optimize style invalidations for attribute selectors
https://bugs.webkit.org/show_bug.cgi?id=154242
Summary
Optimize style invalidations for attribute selectors
Antti Koivisto
Reported
2016-02-15 06:25:27 PST
Currently we invalidate the whole element subtree if there are any attribute selectors for the changed attribute. We should only invalidate what is really needed.
Attachments
patch
(49.85 KB, patch)
2016-02-15 08:45 PST
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
patch
(51.47 KB, patch)
2016-02-15 09:25 PST
,
Antti Koivisto
kling
: review+
Details
Formatted Diff
Diff
for landing
(52.21 KB, patch)
2016-02-15 12:47 PST
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
for landing
(52.10 KB, patch)
2016-02-15 12:57 PST
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2016-02-15 08:45:48 PST
Created
attachment 271344
[details]
patch
Radar WebKit Bug Importer
Comment 2
2016-02-15 08:46:01 PST
<
rdar://problem/24655799
>
Antti Koivisto
Comment 3
2016-02-15 09:25:35 PST
Created
attachment 271345
[details]
patch
Andreas Kling
Comment 4
2016-02-15 12:08:28 PST
Comment on
attachment 271345
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=271345&action=review
r=me This is a really solid performance hack!
> Source/WebCore/style/AttributeChangeInvalidation.h:47 > + using ClassChangeVector = Vector<AtomicStringImpl*, 4>;
why
Antti Koivisto
Comment 5
2016-02-15 12:47:48 PST
Created
attachment 271360
[details]
for landing
Antti Koivisto
Comment 6
2016-02-15 12:57:08 PST
Created
attachment 271361
[details]
for landing
Antti Koivisto
Comment 7
2016-02-16 00:21:33 PST
https://trac.webkit.org/r196629
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug