Bug 84111 - -webkit-mask-box-image does not draw when layer tree flattening is enabled
Summary: -webkit-mask-box-image does not draw when layer tree flattening is enabled
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andy Estes
Keywords: InRadar
Depends on:
Reported: 2012-04-16 18:22 PDT by Andy Estes
Modified: 2012-04-17 14:32 PDT (History)
4 users (show)

See Also:

Patch (3.20 KB, patch)
2012-04-16 18:25 PDT, Andy Estes
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>