Summary: | Compositing layers with transformed children not large enough to show contents | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||||
Component: | Layout and Rendering | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | achicu, enne, eric, jamesr, simon.fraser, webkit-bug-importer, webkit.review.bot | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Simon Fraser (smfr)
2012-05-07 20:51:33 PDT
Created attachment 140660 [details]
Testcase
RenderLayer::calculateLayerBounds() is using convertToLayerCoords() which ignores transforms! Ah, the actual bug was caused by http://trac.webkit.org/changeset/114518, by the newly added UseLocalClipRectIfPossible code path in RenderLayer::calculateLayerBounds() which didn't handle transforms. Created attachment 140675 [details]
Patch
Comment on attachment 140675 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=140675&action=review > Source/WebCore/rendering/RenderLayer.cpp:4163 > + TransformationMatrix* affineTrans = layer->transform(); Weird name for a local variable that’s not really needed. |