Bug 125839

Summary: Fix dynamic changes with sibling selectors
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, dino, kling, koivisto, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: BlinkMergeCandidate, InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Ryosuke Niwa 2013-12-16 23:05:22 PST
Consider merging https://chromium.googlesource.com/chromium/blink/+/86556ca5bbb8c21887df53d01becdd6daef96774

We were not setting needsRecalc on sibling selectors after the first one.
Instead, keep a count of the max number of sibling selectors we see in
any stylesheet and setNeedsRecalc on that number of siblings.

http://crbug.com/304139
Comment 1 Benjamin Poulain 2014-11-01 15:49:36 PDT
Fixed that already, and in a better way too :)
Comment 2 Radar WebKit Bug Importer 2014-11-01 15:49:49 PDT
<rdar://problem/18846930>