Summary: | Child elements disappear, then get doubled, when changing -webkit-transform-style | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adam Roben (:aroben) <aroben> | ||||||
Component: | Layout and Rendering | Assignee: | Chris Marrin <cmarrin> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | cmarrin | ||||||
Priority: | P2 | Keywords: | InRadar, PlatformOnly | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | PC | ||||||||
OS: | Windows 7 | ||||||||
URL: | http://webkit.org/blog-files/3d-transforms/transform-style.html | ||||||||
Attachments: |
|
Description
Adam Roben (:aroben)
2009-12-11 14:07:06 PST
Created attachment 50972 [details]
Patch
Created attachment 51097 [details]
replacement patch
This separates the removeFromSuperLayer loop from the insertSublayer loop in the setSublayers method. This is safer to avoid mutating the array while traversing it.
Comment on attachment 51097 [details]
replacement patch
r=me but this needs a layout test (written to assume that pixel and/or layer dumping is available in future).
Landed in http://trac.webkit.org/changeset/56200 I am working on printing the layer tree from DRT. When I land that, I will land a test for this bug as a proof of concept |