Bug 141572

Summary: RenderListItem resets its marker's style on style change even if the diff is StyleDifferenceEqual
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Layout and RenderingAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, hyatt, kondapallykalyan, simon.fraser
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Chris Dumez
Reported 2015-02-13 12:13:41 PST
RenderListItem resets its marker's style on style change even if the diff is StyleDifferenceEqual. This causes high cpu usage on http://www.nokogiri.org/tutorials/searching_a_xml_html_document.html because there is an animation that changes the style every second and the RenderListItem keeps resetting its marker's margin, which triggers a layout and the RenderListMarker re-computes its margin during layout and updates its style again. Radar: rdar://problem/19759818
Attachments
Patch (2.38 KB, patch)
2015-02-13 12:27 PST, Chris Dumez
no flags
Patch (4.77 KB, patch)
2015-02-13 15:35 PST, Chris Dumez
no flags
Patch (4.76 KB, patch)
2015-02-13 15:52 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2015-02-13 12:27:11 PST
Chris Dumez
Comment 2 2015-02-13 15:35:30 PST
Chris Dumez
Comment 3 2015-02-13 15:52:21 PST
WebKit Commit Bot
Comment 4 2015-02-13 16:37:48 PST
Comment on attachment 246554 [details] Patch Clearing flags on attachment: 246554 Committed r180090: <http://trac.webkit.org/changeset/180090>
WebKit Commit Bot
Comment 5 2015-02-13 16:37:54 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.