Bug 181604 - Avoid traversing too much when doing class change invalidation
Summary: Avoid traversing too much when doing class change invalidation
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-01-12 11:08 PST by Antti Koivisto
Modified: 2018-01-30 08:13 PST (History)
4 users (show)

See Also:


Attachments
wip (17.54 KB, patch)
2018-01-12 11:09 PST, Antti Koivisto
no flags Details | Formatted Diff | Diff
patch (21.27 KB, patch)
2018-01-13 08:24 PST, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2018-01-12 11:08:17 PST
Currently StyleInvalidator traverses all descendants if there is something to potentially invalidate, even if we know only element itself or direct children can be affected.
Comment 1 Antti Koivisto 2018-01-12 11:09:47 PST
Created attachment 331218 [details]
wip
Comment 2 Antti Koivisto 2018-01-13 08:24:06 PST
Created attachment 331283 [details]
patch
Comment 3 Radar WebKit Bug Importer 2018-01-30 07:55:37 PST
<rdar://problem/37028606>
Comment 4 WebKit Commit Bot 2018-01-30 08:13:20 PST
Comment on attachment 331283 [details]
patch

Clearing flags on attachment: 331283

Committed r227787: <https://trac.webkit.org/changeset/227787>
Comment 5 WebKit Commit Bot 2018-01-30 08:13:22 PST
All reviewed patches have been landed.  Closing bug.