DescriptionMerge 147127 "RenderBox::backgroundIsKnownToBeOpaqueInRect may b..."
> RenderBox::backgroundIsKnownToBeOpaqueInRect may be wrong for theme-painted elements
> https://bugs.webkit.org/show_bug.cgi?id=113419
>
> Reviewed by Simon Fraser.
>
> Source/WebCore:
>
> Do not consider control elements as opaque. They are typically theme painted, and we cannot assume opaqueness on the behalf of theme. It can be improved by asking the theme if it paints opaque.
>
> Test: compositing/contents-opaque/control-layer.html
>
> * rendering/RenderBox.cpp:
> (WebCore::RenderBox::backgroundIsKnownToBeOpaqueInRect):
>
> LayoutTests:
>
> * compositing/contents-opaque/control-layer-expected.txt: Added.
> * compositing/contents-opaque/control-layer.html: Added.
> * platform/chromium/compositing/contents-opaque/control-layer-expected.txt: Added.
TBR=alokp@chromium.org
BUG=223490
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=147448
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|