Bug 84111

Summary: -webkit-mask-box-image does not draw when layer tree flattening is enabled
Product: WebKit Reporter: Andy Estes <aestes>
Component: New BugsAssignee: Andy Estes <aestes>
Severity: Normal CC: hyatt, mitz, sam, simon.fraser
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch simon.fraser: review+

Description Andy Estes 2012-04-16 18:22:23 PDT
-webkit-mask-box-image does not draw when layer tree flattening is enabled
Comment 1 Andy Estes 2012-04-16 18:25:27 PDT
Created attachment 137451 [details]
Comment 2 Andy Estes 2012-04-16 18:25:52 PDT
Comment 3 Simon Fraser (smfr) 2012-04-17 14:28:03 PDT
Comment on attachment 137451 [details]

View in context: https://bugs.webkit.org/attachment.cgi?id=137451&action=review

> Source/WebCore/rendering/InlineFlowBox.cpp:1292
> +    bool flattenCompositingLayers = !renderer()->view()->frameView() || renderer()->view()->frameView()->paintBehavior() & PaintBehaviorFlattenCompositingLayers;

I think it would be cleaner to pass this down via PaintInfo, but that would be a larger change.
Comment 4 Andy Estes 2012-04-17 14:32:51 PDT
Committed r114433: <http://trac.webkit.org/changeset/114433>