Mark GraphicsLayers as opaque when possible
authoralokp@chromium.org <alokp@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Feb 2013 18:25:32 +0000 (18:25 +0000)
committeralokp@chromium.org <alokp@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 21 Feb 2013 18:25:32 +0000 (18:25 +0000)
https://bugs.webkit.org/show_bug.cgi?id=70634

Reviewed by Simon Fraser.

Source/WebCore:

Mark layers as opaque in a very simple case - the main renderer has an
opaque background and covers the entire composited bounds.
RenderLayer::contentsOpaqueInRect has been implemented conservatively,
i.e. it errs towards returning false negative.

Tests: compositing/contents-opaque/contents-opaque-background-clip.html
       compositing/contents-opaque/contents-opaque-background-color.html
       compositing/contents-opaque/contents-opaque-layer-opacity.html
       compositing/contents-opaque/contents-opaque-layer-transform.html

* rendering/RenderBox.cpp:
(WebCore::RenderBox::backgroundIsOpaqueInRect):
(WebCore):
* rendering/RenderBox.h:
(RenderBox):
* rendering/RenderBoxModelObject.h:
(WebCore::RenderBoxModelObject::backgroundIsOpaqueInRect):
(WebCore::RenderBoxModelObject::foregroundIsOpaqueInRect):
(RenderBoxModelObject):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::contentsOpaqueInRect):
(WebCore):
(WebCore::RenderLayer::listContentsOpaqueInRect):
* rendering/RenderLayer.h:
(RenderLayer):
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
* rendering/RenderLayerModelObject.h:
(RenderLayerModelObject):

LayoutTests:

* compositing/absolute-inside-out-of-view-fixed-expected.txt:
* compositing/backing/no-backing-for-clip-expected.txt:
* compositing/backing/no-backing-for-clip-overlap-expected.txt:
* compositing/backing/no-backing-for-perspective-expected.txt:
* compositing/clip-child-by-non-stacking-ancestor-expected.txt:
* compositing/columns/composited-in-paginated-expected.txt:
* compositing/contents-opaque/contents-opaque-background-clip-expected.txt: Copied from LayoutTests/platform/chromium/compositing/geometry/limit-layer-bounds-positioned-expected.txt.
* compositing/contents-opaque/contents-opaque-background-clip.html: Added.
* compositing/contents-opaque/contents-opaque-background-color-expected.txt: Copied from LayoutTests/platform/chromium/compositing/geometry/limit-layer-bounds-positioned-expected.txt.
* compositing/contents-opaque/contents-opaque-background-color.html: Added.
* compositing/contents-opaque/contents-opaque-layer-opacity-expected.txt: Copied from LayoutTests/compositing/clip-child-by-non-stacking-ancestor-expected.txt.
* compositing/contents-opaque/contents-opaque-layer-opacity.html: Added.
* compositing/contents-opaque/contents-opaque-layer-transform-expected.txt: Copied from LayoutTests/compositing/clip-child-by-non-stacking-ancestor-expected.txt.
* compositing/contents-opaque/contents-opaque-layer-transform.html: Added.
* compositing/filters/sw-layer-overlaps-hw-shadow-expected.txt:
* compositing/filters/sw-shadow-overlaps-hw-layer-expected.txt:
* compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
* compositing/geometry/bounds-ignores-hidden-dynamic-expected.txt:
* compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt:
* compositing/geometry/bounds-ignores-hidden-expected.txt:
* compositing/geometry/clip-expected.txt:
* compositing/geometry/clip-inside-expected.txt:
* compositing/geometry/fixed-position-composited-switch-expected.txt:
* compositing/geometry/flipped-writing-mode-expected.txt:
* compositing/geometry/layer-due-to-layer-children-deep-switch-expected.txt:
* compositing/geometry/layer-due-to-layer-children-switch-expected.txt:
* compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt:
* compositing/geometry/limit-layer-bounds-fixed-expected.txt:
* compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt:
* compositing/geometry/limit-layer-bounds-overflow-root-expected.txt:
* compositing/geometry/limit-layer-bounds-positioned-expected.txt:
* compositing/geometry/limit-layer-bounds-positioned-transition-expected.txt:
* compositing/geometry/limit-layer-bounds-transformed-expected.txt:
* compositing/geometry/limit-layer-bounds-transformed-overflow-expected.txt:
* compositing/geometry/preserve-3d-switching-expected.txt:
* compositing/iframes/become-composited-nested-iframes-expected.txt:
* compositing/iframes/become-overlapped-iframe-expected.txt:
* compositing/iframes/composited-parent-iframe-expected.txt:
* compositing/iframes/connect-compositing-iframe-delayed-expected.txt:
* compositing/iframes/connect-compositing-iframe-expected.txt:
* compositing/iframes/connect-compositing-iframe2-expected.txt:
* compositing/iframes/connect-compositing-iframe3-expected.txt:
* compositing/iframes/enter-compositing-iframe-expected.txt:
* compositing/iframes/iframe-resize-expected.txt:
* compositing/iframes/invisible-nested-iframe-hide-expected.txt:
* compositing/iframes/invisible-nested-iframe-show-expected.txt:
* compositing/iframes/overlapped-iframe-expected.txt:
* compositing/iframes/overlapped-iframe-iframe-expected.txt:
* compositing/iframes/overlapped-nested-iframes-expected.txt:
* compositing/iframes/page-cache-layer-tree-expected.txt:
* compositing/iframes/scrolling-iframe-expected.txt:
* compositing/layer-creation/animation-overlap-with-children-expected.txt:
* compositing/layer-creation/fixed-position-and-transform-expected.txt:
* compositing/layer-creation/fixed-position-change-out-of-view-in-view-expected.txt:
* compositing/layer-creation/fixed-position-out-of-view-expected.txt:
* compositing/layer-creation/fixed-position-out-of-view-scaled-expected.txt:
* compositing/layer-creation/fixed-position-out-of-view-scaled-scroll-expected.txt:
* compositing/layer-creation/fixed-position-under-transform-expected.txt:
* compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt:
* compositing/layer-creation/overflow-scroll-overlap-expected.txt:
* compositing/layer-creation/overlap-animation-clipping-expected.txt:
* compositing/layer-creation/overlap-animation-expected.txt:
* compositing/layer-creation/overlap-child-layer-expected.txt:
* compositing/layer-creation/overlap-clipping-expected.txt:
* compositing/layer-creation/overlap-transformed-3d-expected.txt:
* compositing/layer-creation/overlap-transformed-and-clipped-expected.txt:
* compositing/layer-creation/overlap-transformed-layer-expected.txt:
* compositing/layer-creation/overlap-transformed-preserved-3d-expected.txt:
* compositing/layer-creation/overlap-transforms-expected.txt:
* compositing/layer-creation/spanOverlapsCanvas-expected.txt:
* compositing/layer-creation/stacking-context-overlap-expected.txt:
* compositing/layer-creation/translatez-overlap-expected.txt:
* compositing/masks/mask-layer-size-expected.txt:
* compositing/overflow-trumps-transform-style-expected.txt:
* compositing/overflow/clip-descendents-expected.txt:
* compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt:
* compositing/overflow/textarea-scroll-touch-expected.txt:
* compositing/plugins/no-backing-store-expected.txt:
* compositing/repaint/invalidations-on-composited-layers-expected.txt:
* compositing/rtl/rtl-absolute-expected.txt:
* compositing/rtl/rtl-absolute-overflow-expected.txt:
* compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt:
* compositing/rtl/rtl-fixed-expected.txt:
* compositing/rtl/rtl-fixed-overflow-expected.txt:
* compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
* compositing/rtl/rtl-iframe-absolute-expected.txt:
* compositing/rtl/rtl-iframe-absolute-overflow-expected.txt:
* compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt:
* compositing/rtl/rtl-iframe-fixed-expected.txt:
* compositing/rtl/rtl-iframe-fixed-overflow-expected.txt:
* compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt:
* compositing/rtl/rtl-iframe-relative-expected.txt:
* compositing/rtl/rtl-relative-expected.txt:
* compositing/tiled-layers-hidpi-expected.txt:
* compositing/tiling/backface-preserve-3d-tiled-expected.txt:
* compositing/tiling/crash-reparent-tiled-layer-expected.txt:
* compositing/tiling/huge-layer-add-remove-child-expected.txt:
* compositing/tiling/huge-layer-with-layer-children-expected.txt:
* compositing/tiling/huge-layer-with-layer-children-resize-expected.txt:
* compositing/tiling/rotated-tiled-clamped-expected.txt:
* compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
* compositing/tiling/tile-cache-zoomed-expected.txt:
* compositing/tiling/tiled-layer-resize-expected.txt:
* compositing/visible-rect/2d-transformed-expected.txt:
* compositing/visible-rect/3d-transform-style-expected.txt:
* compositing/visible-rect/3d-transformed-expected.txt:
* compositing/visible-rect/animated-expected.txt:
* compositing/visible-rect/animated-from-none-expected.txt:
* compositing/visible-rect/clipped-by-viewport-expected.txt:
* compositing/visible-rect/clipped-visible-rect-expected.txt:
* compositing/visible-rect/iframe-and-layers-expected.txt:
* compositing/visible-rect/iframe-no-layers-expected.txt:
* compositing/visible-rect/nested-transform-expected.txt:
* compositing/visible-rect/scrolled-expected.txt:
* css3/filters/filtered-compositing-descendant-expected.txt:
* platform/chromium-linux-x86/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
* platform/chromium-linux-x86/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt:
* platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
* platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
* platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
* platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
* platform/chromium-linux/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
* platform/chromium-linux/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt:
* platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
* platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
* platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
* platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
* platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
* platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
* platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
* platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
* platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
* platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
* platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
* platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
* platform/chromium-mac/compositing/iframes/invisible-nested-iframe-show-expected.txt:
* platform/chromium-mac/compositing/overflow/textarea-scroll-touch-expected.txt:
* platform/chromium-mac/compositing/repaint/invalidations-on-composited-layers-expected.txt:
* platform/chromium-mac/compositing/tiling/crash-reparent-tiled-layer-expected.txt:
* platform/chromium-mac/compositing/tiling/huge-layer-add-remove-child-expected.txt:
* platform/chromium-mac/compositing/tiling/huge-layer-with-layer-children-expected.txt:
* platform/chromium-mac/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt:
* platform/chromium-mac/platform/chromium/virtual/gpu/compositedscrolling/overflow/textarea-scroll-touch-expected.txt:
* platform/chromium-mac/platform/chromium/virtual/softwarecompositing/overflow/textarea-scroll-touch-expected.txt:
* platform/chromium-mac/platform/chromium/virtual/softwarecompositing/repaint/invalidations-on-composited-layers-expected.txt:
* platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
* platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
* platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
* platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
* platform/chromium-mac/platform/chromium/virtual/softwarecompositing/tiling/huge-layer-add-remove-child-expected.txt:
* platform/chromium-mac/platform/chromium/virtual/softwarecompositing/tiling/huge-layer-with-layer-children-expected.txt:
* platform/chromium-win-xp/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
* platform/chromium-win-xp/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt:
* platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
* platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
* platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
* platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
* platform/chromium-win/compositing/backing/no-backing-for-clip-expected.txt:
* platform/chromium-win/compositing/backing/no-backing-for-clip-overlap-expected.txt:
* platform/chromium-win/compositing/backing/no-backing-for-perspective-expected.txt:
* platform/chromium-win/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
* platform/chromium-win/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt:
* platform/chromium-win/compositing/geometry/layer-due-to-layer-children-deep-switch-expected.txt:
* platform/chromium-win/compositing/geometry/layer-due-to-layer-children-switch-expected.txt:
* platform/chromium-win/compositing/geometry/limit-layer-bounds-overflow-root-expected.txt:
* platform/chromium-win/compositing/geometry/preserve-3d-switching-expected.txt:
* platform/chromium-win/compositing/iframes/invisible-nested-iframe-show-expected.txt:
* platform/chromium-win/compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt:
* platform/chromium-win/compositing/tiling/crash-reparent-tiled-layer-expected.txt:
* platform/chromium-win/compositing/tiling/huge-layer-add-remove-child-expected.txt:
* platform/chromium-win/compositing/tiling/huge-layer-with-layer-children-expected.txt:
* platform/chromium-win/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt:
* platform/chromium/TestExpectations:
* platform/chromium/compositing/backing/no-backing-for-clip-expected.txt:
* platform/chromium/compositing/backing/no-backing-for-clip-overlap-expected.txt:
* platform/chromium/compositing/backing/no-backing-for-perspective-expected.txt:
* platform/chromium/compositing/columns/composited-in-paginated-expected.txt:
* platform/chromium/compositing/filters/sw-layer-overlaps-hw-shadow-expected.txt:
* platform/chromium/compositing/filters/sw-shadow-overlaps-hw-layer-expected.txt:
* platform/chromium/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
* platform/chromium/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt:
* platform/chromium/compositing/geometry/clip-expected.txt:
* platform/chromium/compositing/geometry/clip-inside-expected.txt:
* platform/chromium/compositing/geometry/fixed-position-composited-switch-expected.txt:
* platform/chromium/compositing/geometry/flipped-writing-mode-expected.txt:
* platform/chromium/compositing/geometry/layer-due-to-layer-children-deep-switch-expected.txt:
* platform/chromium/compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt:
* platform/chromium/compositing/geometry/limit-layer-bounds-overflow-root-expected.txt:
* platform/chromium/compositing/geometry/limit-layer-bounds-positioned-expected.txt:
* platform/chromium/compositing/geometry/limit-layer-bounds-positioned-transition-expected.txt:
* platform/chromium/compositing/geometry/limit-layer-bounds-transformed-expected.txt:
* platform/chromium/compositing/geometry/limit-layer-bounds-transformed-overflow-expected.txt:
* platform/chromium/compositing/geometry/preserve-3d-switching-expected.txt:
* platform/chromium/compositing/iframes/become-composited-nested-iframes-expected.txt:
* platform/chromium/compositing/iframes/become-overlapped-iframe-expected.txt:
* platform/chromium/compositing/iframes/composited-parent-iframe-expected.txt:
* platform/chromium/compositing/iframes/connect-compositing-iframe-delayed-expected.txt:
* platform/chromium/compositing/iframes/connect-compositing-iframe-expected.txt:
* platform/chromium/compositing/iframes/connect-compositing-iframe2-expected.txt:
* platform/chromium/compositing/iframes/connect-compositing-iframe3-expected.txt:
* platform/chromium/compositing/iframes/enter-compositing-iframe-expected.txt:
* platform/chromium/compositing/iframes/iframe-resize-expected.txt:
* platform/chromium/compositing/iframes/iframe-size-from-zero-expected.txt:
* platform/chromium/compositing/iframes/invisible-nested-iframe-hide-expected.txt:
* platform/chromium/compositing/iframes/overlapped-iframe-expected.txt:
* platform/chromium/compositing/iframes/overlapped-iframe-iframe-expected.txt:
* platform/chromium/compositing/iframes/overlapped-nested-iframes-expected.txt:
* platform/chromium/compositing/iframes/resizer-expected.txt:
* platform/chromium/compositing/iframes/scrolling-iframe-expected.txt:
* platform/chromium/compositing/layer-creation/fixed-position-and-transform-expected.txt:
* platform/chromium/compositing/layer-creation/fixed-position-change-out-of-view-in-view-expected.txt:
* platform/chromium/compositing/layer-creation/fixed-position-out-of-view-expected.txt:
* platform/chromium/compositing/layer-creation/fixed-position-out-of-view-scaled-expected.txt:
* platform/chromium/compositing/layer-creation/fixed-position-out-of-view-scaled-scroll-expected.txt:
* platform/chromium/compositing/layer-creation/fixed-position-under-transform-expected.txt:
* platform/chromium/compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt:
* platform/chromium/compositing/layer-creation/overflow-scroll-overlap-expected.txt:
* platform/chromium/compositing/layer-creation/overlap-animation-clipping-expected.txt:
* platform/chromium/compositing/layer-creation/overlap-animation-expected.txt:
* platform/chromium/compositing/layer-creation/overlap-child-layer-expected.txt:
* platform/chromium/compositing/layer-creation/overlap-clipping-expected.txt:
* platform/chromium/compositing/layer-creation/overlap-transformed-3d-expected.txt:
* platform/chromium/compositing/layer-creation/overlap-transformed-and-clipped-expected.txt:
* platform/chromium/compositing/layer-creation/overlap-transformed-layer-expected.txt:
* platform/chromium/compositing/layer-creation/overlap-transformed-preserved-3d-expected.txt:
* platform/chromium/compositing/layer-creation/overlap-transforms-expected.txt:
* platform/chromium/compositing/layer-creation/spanOverlapsCanvas-expected.txt:
* platform/chromium/compositing/layer-creation/stacking-context-overlap-expected.txt:
* platform/chromium/compositing/layer-creation/translatez-overlap-expected.txt:
* platform/chromium/compositing/overflow-trumps-transform-style-expected.txt:
* platform/chromium/compositing/overflow/clip-descendents-expected.txt:
* platform/chromium/compositing/rtl/rtl-absolute-expected.txt:
* platform/chromium/compositing/rtl/rtl-absolute-overflow-expected.txt:
* platform/chromium/compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt:
* platform/chromium/compositing/rtl/rtl-fixed-expected.txt:
* platform/chromium/compositing/rtl/rtl-fixed-overflow-expected.txt:
* platform/chromium/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
* platform/chromium/compositing/rtl/rtl-iframe-absolute-expected.txt:
* platform/chromium/compositing/rtl/rtl-iframe-fixed-expected.txt:
* platform/chromium/compositing/rtl/rtl-iframe-relative-expected.txt:
* platform/chromium/compositing/rtl/rtl-relative-expected.txt:
* platform/chromium/css3/filters/filtered-compositing-descendant-expected.txt:
* platform/chromium/platform/chromium/virtual/softwarecompositing/layer-creation/fixed-position-change-out-of-view-in-view-expected.txt:
* platform/chromium/platform/chromium/virtual/softwarecompositing/layer-creation/fixed-position-out-of-view-expected.txt:
* platform/chromium/platform/chromium/virtual/softwarecompositing/layer-creation/fixed-position-out-of-view-scaled-expected.txt:
* platform/chromium/platform/chromium/virtual/softwarecompositing/layer-creation/fixed-position-out-of-view-scaled-scroll-expected.txt:
* platform/efl/compositing/repaint/invalidations-on-composited-layers-expected.txt:
* platform/mac-wk2/compositing/visible-rect/iframe-no-layers-expected.txt:
* platform/mac/TestExpectations:
* platform/mac/compositing/geometry/fixed-position-composited-switch-expected.txt:
* platform/mac/compositing/iframes/resizer-expected.txt:
* platform/mac/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt:
* platform/mac/compositing/repaint/invalidations-on-composited-layers-expected.txt:
* platform/mac/compositing/tiling/backface-preserve-3d-tiled-expected.txt:
* platform/mac/compositing/tiling/crash-reparent-tiled-layer-expected.txt:
* platform/mac/compositing/tiling/huge-layer-add-remove-child-expected.txt:
* platform/mac/compositing/tiling/huge-layer-with-layer-children-expected.txt:
* platform/mac/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt:
* platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt:
* platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
* platform/mac/compositing/tiling/tile-cache-zoomed-expected.txt:
* platform/mac/compositing/tiling/tiled-layer-resize-expected.txt:
* platform/mac/compositing/visible-rect/iframe-no-layers-expected.txt:
* platform/qt-5.0-wk2/compositing/columns/composited-in-paginated-expected.txt:
* platform/qt-5.0-wk2/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
* platform/qt-5.0-wk2/compositing/iframes/become-composited-nested-iframes-expected.txt:
* platform/qt-5.0-wk2/compositing/iframes/become-overlapped-iframe-expected.txt:
* platform/qt-5.0-wk2/compositing/iframes/composited-parent-iframe-expected.txt:
* platform/qt-5.0-wk2/compositing/iframes/connect-compositing-iframe-delayed-expected.txt:
* platform/qt-5.0-wk2/compositing/iframes/connect-compositing-iframe-expected.txt:
* platform/qt-5.0-wk2/compositing/iframes/connect-compositing-iframe2-expected.txt:
* platform/qt-5.0-wk2/compositing/iframes/connect-compositing-iframe3-expected.txt:
* platform/qt-5.0-wk2/compositing/iframes/enter-compositing-iframe-expected.txt:
* platform/qt-5.0-wk2/compositing/iframes/iframe-resize-expected.txt:
* platform/qt-5.0-wk2/compositing/iframes/invisible-nested-iframe-show-expected.txt:
* platform/qt-5.0-wk2/compositing/iframes/overlapped-iframe-expected.txt:
* platform/qt-5.0-wk2/compositing/iframes/overlapped-nested-iframes-expected.txt:
* platform/qt-5.0-wk2/compositing/iframes/page-cache-layer-tree-expected.txt:
* platform/qt-5.0-wk2/compositing/iframes/resizer-expected.txt:
* platform/qt-5.0-wk2/compositing/iframes/scrolling-iframe-expected.txt:
* platform/qt-5.0-wk2/compositing/layer-creation/fixed-position-and-transform-expected.txt:
* platform/qt-5.0-wk2/compositing/layer-creation/fixed-position-under-transform-expected.txt:
* platform/qt-5.0-wk2/compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt:
* platform/qt-5.0-wk2/compositing/rtl/rtl-absolute-overflow-expected.txt:
* platform/qt-5.0-wk2/compositing/rtl/rtl-fixed-overflow-expected.txt:
* platform/qt-5.0-wk2/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
* platform/qt-5.0-wk2/compositing/tiled-layers-hidpi-expected.txt:
* platform/qt-5.0-wk2/compositing/tiling/crash-reparent-tiled-layer-expected.txt:
* platform/qt-5.0-wk2/compositing/tiling/huge-layer-add-remove-child-expected.txt:
* platform/qt-5.0-wk2/compositing/tiling/huge-layer-with-layer-children-expected.txt:
* platform/qt-5.0-wk2/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt:
* platform/qt/compositing/backing/no-backing-for-clip-expected.txt:
* platform/qt/compositing/backing/no-backing-for-clip-overlap-expected.txt:
* platform/qt/compositing/backing/no-backing-for-perspective-expected.txt:
* platform/qt/compositing/geometry/preserve-3d-switching-expected.txt:
* platform/qt/compositing/iframes/invisible-nested-iframe-show-expected.txt:
* platform/qt/compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt:
* platform/qt/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt:
* platform/win/compositing/iframes/overlapped-iframe-iframe-expected.txt:
* platform/win/compositing/tiling/huge-layer-add-remove-child-expected.txt:
* platform/win/compositing/tiling/rotated-tiled-clamped-expected.txt:
* platform/win/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@143626 268f45cc-cd09-0410-ab3c-d52691b4dbfc

311 files changed:
LayoutTests/ChangeLog
LayoutTests/compositing/absolute-inside-out-of-view-fixed-expected.txt
LayoutTests/compositing/backing/no-backing-for-clip-expected.txt
LayoutTests/compositing/backing/no-backing-for-clip-overlap-expected.txt
LayoutTests/compositing/backing/no-backing-for-perspective-expected.txt
LayoutTests/compositing/clip-child-by-non-stacking-ancestor-expected.txt
LayoutTests/compositing/columns/composited-in-paginated-expected.txt
LayoutTests/compositing/contents-opaque/contents-opaque-background-clip-expected.txt [new file with mode: 0644]
LayoutTests/compositing/contents-opaque/contents-opaque-background-clip.html [new file with mode: 0644]
LayoutTests/compositing/contents-opaque/contents-opaque-background-color-expected.txt [new file with mode: 0644]
LayoutTests/compositing/contents-opaque/contents-opaque-background-color.html [new file with mode: 0644]
LayoutTests/compositing/contents-opaque/contents-opaque-layer-opacity-expected.txt [new file with mode: 0644]
LayoutTests/compositing/contents-opaque/contents-opaque-layer-opacity.html [new file with mode: 0644]
LayoutTests/compositing/contents-opaque/contents-opaque-layer-transform-expected.txt [new file with mode: 0644]
LayoutTests/compositing/contents-opaque/contents-opaque-layer-transform.html [new file with mode: 0644]
LayoutTests/compositing/filters/sw-layer-overlaps-hw-shadow-expected.txt
LayoutTests/compositing/filters/sw-shadow-overlaps-hw-layer-expected.txt
LayoutTests/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt
LayoutTests/compositing/geometry/bounds-ignores-hidden-dynamic-expected.txt
LayoutTests/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt
LayoutTests/compositing/geometry/bounds-ignores-hidden-expected.txt
LayoutTests/compositing/geometry/clip-expected.txt
LayoutTests/compositing/geometry/clip-inside-expected.txt
LayoutTests/compositing/geometry/fixed-position-composited-switch-expected.txt
LayoutTests/compositing/geometry/flipped-writing-mode-expected.txt
LayoutTests/compositing/geometry/layer-due-to-layer-children-deep-switch-expected.txt
LayoutTests/compositing/geometry/layer-due-to-layer-children-switch-expected.txt
LayoutTests/compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt
LayoutTests/compositing/geometry/limit-layer-bounds-fixed-expected.txt
LayoutTests/compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt
LayoutTests/compositing/geometry/limit-layer-bounds-overflow-root-expected.txt
LayoutTests/compositing/geometry/limit-layer-bounds-positioned-expected.txt
LayoutTests/compositing/geometry/limit-layer-bounds-positioned-transition-expected.txt
LayoutTests/compositing/geometry/limit-layer-bounds-transformed-expected.txt
LayoutTests/compositing/geometry/limit-layer-bounds-transformed-overflow-expected.txt
LayoutTests/compositing/geometry/preserve-3d-switching-expected.txt
LayoutTests/compositing/iframes/become-composited-nested-iframes-expected.txt
LayoutTests/compositing/iframes/become-overlapped-iframe-expected.txt
LayoutTests/compositing/iframes/composited-parent-iframe-expected.txt
LayoutTests/compositing/iframes/connect-compositing-iframe-delayed-expected.txt
LayoutTests/compositing/iframes/connect-compositing-iframe-expected.txt
LayoutTests/compositing/iframes/connect-compositing-iframe2-expected.txt
LayoutTests/compositing/iframes/connect-compositing-iframe3-expected.txt
LayoutTests/compositing/iframes/enter-compositing-iframe-expected.txt
LayoutTests/compositing/iframes/iframe-resize-expected.txt
LayoutTests/compositing/iframes/invisible-nested-iframe-hide-expected.txt
LayoutTests/compositing/iframes/invisible-nested-iframe-show-expected.txt
LayoutTests/compositing/iframes/overlapped-iframe-expected.txt
LayoutTests/compositing/iframes/overlapped-iframe-iframe-expected.txt
LayoutTests/compositing/iframes/overlapped-nested-iframes-expected.txt
LayoutTests/compositing/iframes/page-cache-layer-tree-expected.txt
LayoutTests/compositing/iframes/scrolling-iframe-expected.txt
LayoutTests/compositing/layer-creation/animation-overlap-with-children-expected.txt
LayoutTests/compositing/layer-creation/fixed-position-and-transform-expected.txt
LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view-expected.txt
LayoutTests/compositing/layer-creation/fixed-position-out-of-view-expected.txt
LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-expected.txt
LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-scroll-expected.txt
LayoutTests/compositing/layer-creation/fixed-position-under-transform-expected.txt
LayoutTests/compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt
LayoutTests/compositing/layer-creation/overflow-scroll-overlap-expected.txt
LayoutTests/compositing/layer-creation/overlap-animation-clipping-expected.txt
LayoutTests/compositing/layer-creation/overlap-animation-expected.txt
LayoutTests/compositing/layer-creation/overlap-child-layer-expected.txt
LayoutTests/compositing/layer-creation/overlap-clipping-expected.txt
LayoutTests/compositing/layer-creation/overlap-transformed-3d-expected.txt
LayoutTests/compositing/layer-creation/overlap-transformed-and-clipped-expected.txt
LayoutTests/compositing/layer-creation/overlap-transformed-layer-expected.txt
LayoutTests/compositing/layer-creation/overlap-transformed-preserved-3d-expected.txt
LayoutTests/compositing/layer-creation/overlap-transforms-expected.txt
LayoutTests/compositing/layer-creation/spanOverlapsCanvas-expected.txt
LayoutTests/compositing/layer-creation/stacking-context-overlap-expected.txt
LayoutTests/compositing/layer-creation/translatez-overlap-expected.txt
LayoutTests/compositing/masks/mask-layer-size-expected.txt
LayoutTests/compositing/overflow-trumps-transform-style-expected.txt
LayoutTests/compositing/overflow/clip-descendents-expected.txt
LayoutTests/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt
LayoutTests/compositing/overflow/textarea-scroll-touch-expected.txt
LayoutTests/compositing/plugins/no-backing-store-expected.txt
LayoutTests/compositing/repaint/invalidations-on-composited-layers-expected.txt
LayoutTests/compositing/rtl/rtl-absolute-expected.txt
LayoutTests/compositing/rtl/rtl-absolute-overflow-expected.txt
LayoutTests/compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt
LayoutTests/compositing/rtl/rtl-fixed-expected.txt
LayoutTests/compositing/rtl/rtl-fixed-overflow-expected.txt
LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt
LayoutTests/compositing/rtl/rtl-iframe-absolute-expected.txt
LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-expected.txt
LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt
LayoutTests/compositing/rtl/rtl-iframe-fixed-expected.txt
LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-expected.txt
LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt
LayoutTests/compositing/rtl/rtl-iframe-relative-expected.txt
LayoutTests/compositing/rtl/rtl-relative-expected.txt
LayoutTests/compositing/tiled-layers-hidpi-expected.txt
LayoutTests/compositing/tiling/backface-preserve-3d-tiled-expected.txt
LayoutTests/compositing/tiling/crash-reparent-tiled-layer-expected.txt
LayoutTests/compositing/tiling/huge-layer-add-remove-child-expected.txt
LayoutTests/compositing/tiling/huge-layer-with-layer-children-expected.txt
LayoutTests/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt
LayoutTests/compositing/tiling/rotated-tiled-clamped-expected.txt
LayoutTests/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt
LayoutTests/compositing/tiling/tile-cache-zoomed-expected.txt
LayoutTests/compositing/tiling/tiled-layer-resize-expected.txt
LayoutTests/compositing/visible-rect/2d-transformed-expected.txt
LayoutTests/compositing/visible-rect/3d-transform-style-expected.txt
LayoutTests/compositing/visible-rect/3d-transformed-expected.txt
LayoutTests/compositing/visible-rect/animated-expected.txt
LayoutTests/compositing/visible-rect/animated-from-none-expected.txt
LayoutTests/compositing/visible-rect/clipped-by-viewport-expected.txt
LayoutTests/compositing/visible-rect/clipped-visible-rect-expected.txt
LayoutTests/compositing/visible-rect/iframe-and-layers-expected.txt
LayoutTests/compositing/visible-rect/iframe-no-layers-expected.txt
LayoutTests/compositing/visible-rect/nested-transform-expected.txt
LayoutTests/compositing/visible-rect/scrolled-expected.txt
LayoutTests/css3/filters/filtered-compositing-descendant-expected.txt
LayoutTests/platform/chromium-linux-x86/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt
LayoutTests/platform/chromium-linux-x86/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt
LayoutTests/platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt
LayoutTests/platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt
LayoutTests/platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt
LayoutTests/platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt
LayoutTests/platform/chromium-linux/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt
LayoutTests/platform/chromium-linux/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt
LayoutTests/platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt
LayoutTests/platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt
LayoutTests/platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt
LayoutTests/platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt
LayoutTests/platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt
LayoutTests/platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt
LayoutTests/platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt
LayoutTests/platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt
LayoutTests/platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt
LayoutTests/platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt
LayoutTests/platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt
LayoutTests/platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt
LayoutTests/platform/chromium-mac/compositing/iframes/invisible-nested-iframe-show-expected.txt
LayoutTests/platform/chromium-mac/compositing/overflow/textarea-scroll-touch-expected.txt
LayoutTests/platform/chromium-mac/compositing/repaint/invalidations-on-composited-layers-expected.txt
LayoutTests/platform/chromium-mac/compositing/tiling/crash-reparent-tiled-layer-expected.txt
LayoutTests/platform/chromium-mac/compositing/tiling/huge-layer-add-remove-child-expected.txt
LayoutTests/platform/chromium-mac/compositing/tiling/huge-layer-with-layer-children-expected.txt
LayoutTests/platform/chromium-mac/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt
LayoutTests/platform/chromium-mac/platform/chromium/virtual/gpu/compositedscrolling/overflow/textarea-scroll-touch-expected.txt
LayoutTests/platform/chromium-mac/platform/chromium/virtual/softwarecompositing/overflow/textarea-scroll-touch-expected.txt
LayoutTests/platform/chromium-mac/platform/chromium/virtual/softwarecompositing/repaint/invalidations-on-composited-layers-expected.txt
LayoutTests/platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt
LayoutTests/platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt
LayoutTests/platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt
LayoutTests/platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt
LayoutTests/platform/chromium-mac/platform/chromium/virtual/softwarecompositing/tiling/huge-layer-add-remove-child-expected.txt
LayoutTests/platform/chromium-mac/platform/chromium/virtual/softwarecompositing/tiling/huge-layer-with-layer-children-expected.txt
LayoutTests/platform/chromium-win-xp/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt
LayoutTests/platform/chromium-win-xp/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt
LayoutTests/platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt
LayoutTests/platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt
LayoutTests/platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt
LayoutTests/platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt
LayoutTests/platform/chromium-win/compositing/backing/no-backing-for-clip-expected.txt
LayoutTests/platform/chromium-win/compositing/backing/no-backing-for-clip-overlap-expected.txt
LayoutTests/platform/chromium-win/compositing/backing/no-backing-for-perspective-expected.txt
LayoutTests/platform/chromium-win/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt
LayoutTests/platform/chromium-win/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt
LayoutTests/platform/chromium-win/compositing/geometry/layer-due-to-layer-children-deep-switch-expected.txt
LayoutTests/platform/chromium-win/compositing/geometry/layer-due-to-layer-children-switch-expected.txt
LayoutTests/platform/chromium-win/compositing/geometry/limit-layer-bounds-overflow-root-expected.txt
LayoutTests/platform/chromium-win/compositing/geometry/preserve-3d-switching-expected.txt
LayoutTests/platform/chromium-win/compositing/iframes/invisible-nested-iframe-show-expected.txt
LayoutTests/platform/chromium-win/compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt
LayoutTests/platform/chromium-win/compositing/tiling/crash-reparent-tiled-layer-expected.txt
LayoutTests/platform/chromium-win/compositing/tiling/huge-layer-add-remove-child-expected.txt
LayoutTests/platform/chromium-win/compositing/tiling/huge-layer-with-layer-children-expected.txt
LayoutTests/platform/chromium-win/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt
LayoutTests/platform/chromium/TestExpectations
LayoutTests/platform/chromium/compositing/backing/no-backing-for-clip-expected.txt
LayoutTests/platform/chromium/compositing/backing/no-backing-for-clip-overlap-expected.txt
LayoutTests/platform/chromium/compositing/backing/no-backing-for-perspective-expected.txt
LayoutTests/platform/chromium/compositing/columns/composited-in-paginated-expected.txt
LayoutTests/platform/chromium/compositing/filters/sw-layer-overlaps-hw-shadow-expected.txt
LayoutTests/platform/chromium/compositing/filters/sw-shadow-overlaps-hw-layer-expected.txt
LayoutTests/platform/chromium/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt
LayoutTests/platform/chromium/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt
LayoutTests/platform/chromium/compositing/geometry/clip-expected.txt
LayoutTests/platform/chromium/compositing/geometry/clip-inside-expected.txt
LayoutTests/platform/chromium/compositing/geometry/fixed-position-composited-switch-expected.txt
LayoutTests/platform/chromium/compositing/geometry/flipped-writing-mode-expected.txt
LayoutTests/platform/chromium/compositing/geometry/layer-due-to-layer-children-deep-switch-expected.txt
LayoutTests/platform/chromium/compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt
LayoutTests/platform/chromium/compositing/geometry/limit-layer-bounds-overflow-root-expected.txt
LayoutTests/platform/chromium/compositing/geometry/limit-layer-bounds-positioned-expected.txt
LayoutTests/platform/chromium/compositing/geometry/limit-layer-bounds-positioned-transition-expected.txt
LayoutTests/platform/chromium/compositing/geometry/limit-layer-bounds-transformed-expected.txt
LayoutTests/platform/chromium/compositing/geometry/limit-layer-bounds-transformed-overflow-expected.txt
LayoutTests/platform/chromium/compositing/geometry/preserve-3d-switching-expected.txt
LayoutTests/platform/chromium/compositing/iframes/become-composited-nested-iframes-expected.txt
LayoutTests/platform/chromium/compositing/iframes/become-overlapped-iframe-expected.txt
LayoutTests/platform/chromium/compositing/iframes/composited-parent-iframe-expected.txt
LayoutTests/platform/chromium/compositing/iframes/connect-compositing-iframe-delayed-expected.txt
LayoutTests/platform/chromium/compositing/iframes/connect-compositing-iframe-expected.txt
LayoutTests/platform/chromium/compositing/iframes/connect-compositing-iframe2-expected.txt
LayoutTests/platform/chromium/compositing/iframes/connect-compositing-iframe3-expected.txt
LayoutTests/platform/chromium/compositing/iframes/enter-compositing-iframe-expected.txt
LayoutTests/platform/chromium/compositing/iframes/iframe-resize-expected.txt
LayoutTests/platform/chromium/compositing/iframes/iframe-size-from-zero-expected.txt
LayoutTests/platform/chromium/compositing/iframes/invisible-nested-iframe-hide-expected.txt
LayoutTests/platform/chromium/compositing/iframes/overlapped-iframe-expected.txt
LayoutTests/platform/chromium/compositing/iframes/overlapped-iframe-iframe-expected.txt
LayoutTests/platform/chromium/compositing/iframes/overlapped-nested-iframes-expected.txt
LayoutTests/platform/chromium/compositing/iframes/resizer-expected.txt
LayoutTests/platform/chromium/compositing/iframes/scrolling-iframe-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/fixed-position-and-transform-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/fixed-position-change-out-of-view-in-view-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/fixed-position-out-of-view-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/fixed-position-out-of-view-scaled-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/fixed-position-out-of-view-scaled-scroll-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/fixed-position-under-transform-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/overflow-scroll-overlap-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/overlap-animation-clipping-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/overlap-animation-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/overlap-child-layer-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/overlap-clipping-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/overlap-transformed-3d-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/overlap-transformed-and-clipped-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/overlap-transformed-layer-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/overlap-transformed-preserved-3d-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/overlap-transforms-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/spanOverlapsCanvas-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/stacking-context-overlap-expected.txt
LayoutTests/platform/chromium/compositing/layer-creation/translatez-overlap-expected.txt
LayoutTests/platform/chromium/compositing/overflow-trumps-transform-style-expected.txt
LayoutTests/platform/chromium/compositing/overflow/clip-descendents-expected.txt
LayoutTests/platform/chromium/compositing/rtl/rtl-absolute-expected.txt
LayoutTests/platform/chromium/compositing/rtl/rtl-absolute-overflow-expected.txt
LayoutTests/platform/chromium/compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt
LayoutTests/platform/chromium/compositing/rtl/rtl-fixed-expected.txt
LayoutTests/platform/chromium/compositing/rtl/rtl-fixed-overflow-expected.txt
LayoutTests/platform/chromium/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt
LayoutTests/platform/chromium/compositing/rtl/rtl-iframe-absolute-expected.txt
LayoutTests/platform/chromium/compositing/rtl/rtl-iframe-fixed-expected.txt
LayoutTests/platform/chromium/compositing/rtl/rtl-iframe-relative-expected.txt
LayoutTests/platform/chromium/compositing/rtl/rtl-relative-expected.txt
LayoutTests/platform/chromium/css3/filters/filtered-compositing-descendant-expected.txt
LayoutTests/platform/chromium/platform/chromium/virtual/softwarecompositing/layer-creation/fixed-position-change-out-of-view-in-view-expected.txt
LayoutTests/platform/chromium/platform/chromium/virtual/softwarecompositing/layer-creation/fixed-position-out-of-view-expected.txt
LayoutTests/platform/chromium/platform/chromium/virtual/softwarecompositing/layer-creation/fixed-position-out-of-view-scaled-expected.txt
LayoutTests/platform/chromium/platform/chromium/virtual/softwarecompositing/layer-creation/fixed-position-out-of-view-scaled-scroll-expected.txt
LayoutTests/platform/efl/compositing/repaint/invalidations-on-composited-layers-expected.txt
LayoutTests/platform/mac-wk2/compositing/visible-rect/iframe-no-layers-expected.txt
LayoutTests/platform/mac/TestExpectations
LayoutTests/platform/mac/compositing/geometry/fixed-position-composited-switch-expected.txt
LayoutTests/platform/mac/compositing/iframes/resizer-expected.txt
LayoutTests/platform/mac/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt
LayoutTests/platform/mac/compositing/repaint/invalidations-on-composited-layers-expected.txt
LayoutTests/platform/mac/compositing/tiling/backface-preserve-3d-tiled-expected.txt
LayoutTests/platform/mac/compositing/tiling/crash-reparent-tiled-layer-expected.txt
LayoutTests/platform/mac/compositing/tiling/huge-layer-add-remove-child-expected.txt
LayoutTests/platform/mac/compositing/tiling/huge-layer-with-layer-children-expected.txt
LayoutTests/platform/mac/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt
LayoutTests/platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt
LayoutTests/platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt
LayoutTests/platform/mac/compositing/tiling/tile-cache-zoomed-expected.txt
LayoutTests/platform/mac/compositing/tiling/tiled-layer-resize-expected.txt
LayoutTests/platform/mac/compositing/visible-rect/iframe-no-layers-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/columns/composited-in-paginated-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/iframes/become-composited-nested-iframes-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/iframes/become-overlapped-iframe-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/iframes/composited-parent-iframe-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/iframes/connect-compositing-iframe-delayed-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/iframes/connect-compositing-iframe-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/iframes/connect-compositing-iframe2-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/iframes/connect-compositing-iframe3-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/iframes/enter-compositing-iframe-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/iframes/iframe-resize-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/iframes/invisible-nested-iframe-show-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/iframes/overlapped-iframe-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/iframes/overlapped-nested-iframes-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/iframes/page-cache-layer-tree-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/iframes/resizer-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/iframes/scrolling-iframe-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/layer-creation/fixed-position-and-transform-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/layer-creation/fixed-position-under-transform-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/rtl/rtl-absolute-overflow-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/rtl/rtl-fixed-overflow-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/tiled-layers-hidpi-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/tiling/crash-reparent-tiled-layer-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/tiling/huge-layer-add-remove-child-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/tiling/huge-layer-with-layer-children-expected.txt
LayoutTests/platform/qt-5.0-wk2/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt
LayoutTests/platform/qt/compositing/backing/no-backing-for-clip-expected.txt
LayoutTests/platform/qt/compositing/backing/no-backing-for-clip-overlap-expected.txt
LayoutTests/platform/qt/compositing/backing/no-backing-for-perspective-expected.txt
LayoutTests/platform/qt/compositing/geometry/preserve-3d-switching-expected.txt
LayoutTests/platform/qt/compositing/iframes/invisible-nested-iframe-show-expected.txt
LayoutTests/platform/qt/compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt
LayoutTests/platform/qt/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt
LayoutTests/platform/win/compositing/iframes/overlapped-iframe-iframe-expected.txt
LayoutTests/platform/win/compositing/tiling/huge-layer-add-remove-child-expected.txt
LayoutTests/platform/win/compositing/tiling/rotated-tiled-clamped-expected.txt
LayoutTests/platform/win/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBox.cpp
Source/WebCore/rendering/RenderBox.h
Source/WebCore/rendering/RenderBoxModelObject.h
Source/WebCore/rendering/RenderLayer.cpp
Source/WebCore/rendering/RenderLayer.h
Source/WebCore/rendering/RenderLayerBacking.cpp
Source/WebCore/rendering/RenderLayerModelObject.h

index f46163f..34875af 100644 (file)
@@ -1,3 +1,313 @@
+2013-02-21  Alok Priyadarshi  <alokp@chromium.org>
+
+        Mark GraphicsLayers as opaque when possible
+        https://bugs.webkit.org/show_bug.cgi?id=70634
+
+        Reviewed by Simon Fraser.
+
+        * compositing/absolute-inside-out-of-view-fixed-expected.txt:
+        * compositing/backing/no-backing-for-clip-expected.txt:
+        * compositing/backing/no-backing-for-clip-overlap-expected.txt:
+        * compositing/backing/no-backing-for-perspective-expected.txt:
+        * compositing/clip-child-by-non-stacking-ancestor-expected.txt:
+        * compositing/columns/composited-in-paginated-expected.txt:
+        * compositing/contents-opaque/contents-opaque-background-clip-expected.txt: Copied from LayoutTests/platform/chromium/compositing/geometry/limit-layer-bounds-positioned-expected.txt.
+        * compositing/contents-opaque/contents-opaque-background-clip.html: Added.
+        * compositing/contents-opaque/contents-opaque-background-color-expected.txt: Copied from LayoutTests/platform/chromium/compositing/geometry/limit-layer-bounds-positioned-expected.txt.
+        * compositing/contents-opaque/contents-opaque-background-color.html: Added.
+        * compositing/contents-opaque/contents-opaque-layer-opacity-expected.txt: Copied from LayoutTests/compositing/clip-child-by-non-stacking-ancestor-expected.txt.
+        * compositing/contents-opaque/contents-opaque-layer-opacity.html: Added.
+        * compositing/contents-opaque/contents-opaque-layer-transform-expected.txt: Copied from LayoutTests/compositing/clip-child-by-non-stacking-ancestor-expected.txt.
+        * compositing/contents-opaque/contents-opaque-layer-transform.html: Added.
+        * compositing/filters/sw-layer-overlaps-hw-shadow-expected.txt:
+        * compositing/filters/sw-shadow-overlaps-hw-layer-expected.txt:
+        * compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
+        * compositing/geometry/bounds-ignores-hidden-dynamic-expected.txt:
+        * compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt:
+        * compositing/geometry/bounds-ignores-hidden-expected.txt:
+        * compositing/geometry/clip-expected.txt:
+        * compositing/geometry/clip-inside-expected.txt:
+        * compositing/geometry/fixed-position-composited-switch-expected.txt:
+        * compositing/geometry/flipped-writing-mode-expected.txt:
+        * compositing/geometry/layer-due-to-layer-children-deep-switch-expected.txt:
+        * compositing/geometry/layer-due-to-layer-children-switch-expected.txt:
+        * compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt:
+        * compositing/geometry/limit-layer-bounds-fixed-expected.txt:
+        * compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt:
+        * compositing/geometry/limit-layer-bounds-overflow-root-expected.txt:
+        * compositing/geometry/limit-layer-bounds-positioned-expected.txt:
+        * compositing/geometry/limit-layer-bounds-positioned-transition-expected.txt:
+        * compositing/geometry/limit-layer-bounds-transformed-expected.txt:
+        * compositing/geometry/limit-layer-bounds-transformed-overflow-expected.txt:
+        * compositing/geometry/preserve-3d-switching-expected.txt:
+        * compositing/iframes/become-composited-nested-iframes-expected.txt:
+        * compositing/iframes/become-overlapped-iframe-expected.txt:
+        * compositing/iframes/composited-parent-iframe-expected.txt:
+        * compositing/iframes/connect-compositing-iframe-delayed-expected.txt:
+        * compositing/iframes/connect-compositing-iframe-expected.txt:
+        * compositing/iframes/connect-compositing-iframe2-expected.txt:
+        * compositing/iframes/connect-compositing-iframe3-expected.txt:
+        * compositing/iframes/enter-compositing-iframe-expected.txt:
+        * compositing/iframes/iframe-resize-expected.txt:
+        * compositing/iframes/invisible-nested-iframe-hide-expected.txt:
+        * compositing/iframes/invisible-nested-iframe-show-expected.txt:
+        * compositing/iframes/overlapped-iframe-expected.txt:
+        * compositing/iframes/overlapped-iframe-iframe-expected.txt:
+        * compositing/iframes/overlapped-nested-iframes-expected.txt:
+        * compositing/iframes/page-cache-layer-tree-expected.txt:
+        * compositing/iframes/scrolling-iframe-expected.txt:
+        * compositing/layer-creation/animation-overlap-with-children-expected.txt:
+        * compositing/layer-creation/fixed-position-and-transform-expected.txt:
+        * compositing/layer-creation/fixed-position-change-out-of-view-in-view-expected.txt:
+        * compositing/layer-creation/fixed-position-out-of-view-expected.txt:
+        * compositing/layer-creation/fixed-position-out-of-view-scaled-expected.txt:
+        * compositing/layer-creation/fixed-position-out-of-view-scaled-scroll-expected.txt:
+        * compositing/layer-creation/fixed-position-under-transform-expected.txt:
+        * compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt:
+        * compositing/layer-creation/overflow-scroll-overlap-expected.txt:
+        * compositing/layer-creation/overlap-animation-clipping-expected.txt:
+        * compositing/layer-creation/overlap-animation-expected.txt:
+        * compositing/layer-creation/overlap-child-layer-expected.txt:
+        * compositing/layer-creation/overlap-clipping-expected.txt:
+        * compositing/layer-creation/overlap-transformed-3d-expected.txt:
+        * compositing/layer-creation/overlap-transformed-and-clipped-expected.txt:
+        * compositing/layer-creation/overlap-transformed-layer-expected.txt:
+        * compositing/layer-creation/overlap-transformed-preserved-3d-expected.txt:
+        * compositing/layer-creation/overlap-transforms-expected.txt:
+        * compositing/layer-creation/spanOverlapsCanvas-expected.txt:
+        * compositing/layer-creation/stacking-context-overlap-expected.txt:
+        * compositing/layer-creation/translatez-overlap-expected.txt:
+        * compositing/masks/mask-layer-size-expected.txt:
+        * compositing/overflow-trumps-transform-style-expected.txt:
+        * compositing/overflow/clip-descendents-expected.txt:
+        * compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt:
+        * compositing/overflow/textarea-scroll-touch-expected.txt:
+        * compositing/plugins/no-backing-store-expected.txt:
+        * compositing/repaint/invalidations-on-composited-layers-expected.txt:
+        * compositing/rtl/rtl-absolute-expected.txt:
+        * compositing/rtl/rtl-absolute-overflow-expected.txt:
+        * compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt:
+        * compositing/rtl/rtl-fixed-expected.txt:
+        * compositing/rtl/rtl-fixed-overflow-expected.txt:
+        * compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
+        * compositing/rtl/rtl-iframe-absolute-expected.txt:
+        * compositing/rtl/rtl-iframe-absolute-overflow-expected.txt:
+        * compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt:
+        * compositing/rtl/rtl-iframe-fixed-expected.txt:
+        * compositing/rtl/rtl-iframe-fixed-overflow-expected.txt:
+        * compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt:
+        * compositing/rtl/rtl-iframe-relative-expected.txt:
+        * compositing/rtl/rtl-relative-expected.txt:
+        * compositing/tiled-layers-hidpi-expected.txt:
+        * compositing/tiling/backface-preserve-3d-tiled-expected.txt:
+        * compositing/tiling/crash-reparent-tiled-layer-expected.txt:
+        * compositing/tiling/huge-layer-add-remove-child-expected.txt:
+        * compositing/tiling/huge-layer-with-layer-children-expected.txt:
+        * compositing/tiling/huge-layer-with-layer-children-resize-expected.txt:
+        * compositing/tiling/rotated-tiled-clamped-expected.txt:
+        * compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
+        * compositing/tiling/tile-cache-zoomed-expected.txt:
+        * compositing/tiling/tiled-layer-resize-expected.txt:
+        * compositing/visible-rect/2d-transformed-expected.txt:
+        * compositing/visible-rect/3d-transform-style-expected.txt:
+        * compositing/visible-rect/3d-transformed-expected.txt:
+        * compositing/visible-rect/animated-expected.txt:
+        * compositing/visible-rect/animated-from-none-expected.txt:
+        * compositing/visible-rect/clipped-by-viewport-expected.txt:
+        * compositing/visible-rect/clipped-visible-rect-expected.txt:
+        * compositing/visible-rect/iframe-and-layers-expected.txt:
+        * compositing/visible-rect/iframe-no-layers-expected.txt:
+        * compositing/visible-rect/nested-transform-expected.txt:
+        * compositing/visible-rect/scrolled-expected.txt:
+        * css3/filters/filtered-compositing-descendant-expected.txt:
+        * platform/chromium-linux-x86/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
+        * platform/chromium-linux-x86/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt:
+        * platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
+        * platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
+        * platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
+        * platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
+        * platform/chromium-linux/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
+        * platform/chromium-linux/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt:
+        * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
+        * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
+        * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
+        * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
+        * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
+        * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
+        * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
+        * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
+        * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
+        * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
+        * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
+        * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
+        * platform/chromium-mac/compositing/iframes/invisible-nested-iframe-show-expected.txt:
+        * platform/chromium-mac/compositing/overflow/textarea-scroll-touch-expected.txt:
+        * platform/chromium-mac/compositing/repaint/invalidations-on-composited-layers-expected.txt:
+        * platform/chromium-mac/compositing/tiling/crash-reparent-tiled-layer-expected.txt:
+        * platform/chromium-mac/compositing/tiling/huge-layer-add-remove-child-expected.txt:
+        * platform/chromium-mac/compositing/tiling/huge-layer-with-layer-children-expected.txt:
+        * platform/chromium-mac/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt:
+        * platform/chromium-mac/platform/chromium/virtual/gpu/compositedscrolling/overflow/textarea-scroll-touch-expected.txt:
+        * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/overflow/textarea-scroll-touch-expected.txt:
+        * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/repaint/invalidations-on-composited-layers-expected.txt:
+        * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
+        * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
+        * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
+        * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
+        * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/tiling/huge-layer-add-remove-child-expected.txt:
+        * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/tiling/huge-layer-with-layer-children-expected.txt:
+        * platform/chromium-win-xp/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
+        * platform/chromium-win-xp/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt:
+        * platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
+        * platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-absolute-expected.txt:
+        * platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-fixed-expected.txt:
+        * platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/rtl/rtl-iframe-relative-expected.txt:
+        * platform/chromium-win/compositing/backing/no-backing-for-clip-expected.txt:
+        * platform/chromium-win/compositing/backing/no-backing-for-clip-overlap-expected.txt:
+        * platform/chromium-win/compositing/backing/no-backing-for-perspective-expected.txt:
+        * platform/chromium-win/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
+        * platform/chromium-win/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt:
+        * platform/chromium-win/compositing/geometry/layer-due-to-layer-children-deep-switch-expected.txt:
+        * platform/chromium-win/compositing/geometry/layer-due-to-layer-children-switch-expected.txt:
+        * platform/chromium-win/compositing/geometry/limit-layer-bounds-overflow-root-expected.txt:
+        * platform/chromium-win/compositing/geometry/preserve-3d-switching-expected.txt:
+        * platform/chromium-win/compositing/iframes/invisible-nested-iframe-show-expected.txt:
+        * platform/chromium-win/compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt:
+        * platform/chromium-win/compositing/tiling/crash-reparent-tiled-layer-expected.txt:
+        * platform/chromium-win/compositing/tiling/huge-layer-add-remove-child-expected.txt:
+        * platform/chromium-win/compositing/tiling/huge-layer-with-layer-children-expected.txt:
+        * platform/chromium-win/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt:
+        * platform/chromium/TestExpectations:
+        * platform/chromium/compositing/backing/no-backing-for-clip-expected.txt:
+        * platform/chromium/compositing/backing/no-backing-for-clip-overlap-expected.txt:
+        * platform/chromium/compositing/backing/no-backing-for-perspective-expected.txt:
+        * platform/chromium/compositing/columns/composited-in-paginated-expected.txt:
+        * platform/chromium/compositing/filters/sw-layer-overlaps-hw-shadow-expected.txt:
+        * platform/chromium/compositing/filters/sw-shadow-overlaps-hw-layer-expected.txt:
+        * platform/chromium/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
+        * platform/chromium/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt:
+        * platform/chromium/compositing/geometry/clip-expected.txt:
+        * platform/chromium/compositing/geometry/clip-inside-expected.txt:
+        * platform/chromium/compositing/geometry/fixed-position-composited-switch-expected.txt:
+        * platform/chromium/compositing/geometry/flipped-writing-mode-expected.txt:
+        * platform/chromium/compositing/geometry/layer-due-to-layer-children-deep-switch-expected.txt:
+        * platform/chromium/compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt:
+        * platform/chromium/compositing/geometry/limit-layer-bounds-overflow-root-expected.txt:
+        * platform/chromium/compositing/geometry/limit-layer-bounds-positioned-expected.txt:
+        * platform/chromium/compositing/geometry/limit-layer-bounds-positioned-transition-expected.txt:
+        * platform/chromium/compositing/geometry/limit-layer-bounds-transformed-expected.txt:
+        * platform/chromium/compositing/geometry/limit-layer-bounds-transformed-overflow-expected.txt:
+        * platform/chromium/compositing/geometry/preserve-3d-switching-expected.txt:
+        * platform/chromium/compositing/iframes/become-composited-nested-iframes-expected.txt:
+        * platform/chromium/compositing/iframes/become-overlapped-iframe-expected.txt:
+        * platform/chromium/compositing/iframes/composited-parent-iframe-expected.txt:
+        * platform/chromium/compositing/iframes/connect-compositing-iframe-delayed-expected.txt:
+        * platform/chromium/compositing/iframes/connect-compositing-iframe-expected.txt:
+        * platform/chromium/compositing/iframes/connect-compositing-iframe2-expected.txt:
+        * platform/chromium/compositing/iframes/connect-compositing-iframe3-expected.txt:
+        * platform/chromium/compositing/iframes/enter-compositing-iframe-expected.txt:
+        * platform/chromium/compositing/iframes/iframe-resize-expected.txt:
+        * platform/chromium/compositing/iframes/iframe-size-from-zero-expected.txt:
+        * platform/chromium/compositing/iframes/invisible-nested-iframe-hide-expected.txt:
+        * platform/chromium/compositing/iframes/overlapped-iframe-expected.txt:
+        * platform/chromium/compositing/iframes/overlapped-iframe-iframe-expected.txt:
+        * platform/chromium/compositing/iframes/overlapped-nested-iframes-expected.txt:
+        * platform/chromium/compositing/iframes/resizer-expected.txt:
+        * platform/chromium/compositing/iframes/scrolling-iframe-expected.txt:
+        * platform/chromium/compositing/layer-creation/fixed-position-and-transform-expected.txt:
+        * platform/chromium/compositing/layer-creation/fixed-position-change-out-of-view-in-view-expected.txt:
+        * platform/chromium/compositing/layer-creation/fixed-position-out-of-view-expected.txt:
+        * platform/chromium/compositing/layer-creation/fixed-position-out-of-view-scaled-expected.txt:
+        * platform/chromium/compositing/layer-creation/fixed-position-out-of-view-scaled-scroll-expected.txt:
+        * platform/chromium/compositing/layer-creation/fixed-position-under-transform-expected.txt:
+        * platform/chromium/compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt:
+        * platform/chromium/compositing/layer-creation/overflow-scroll-overlap-expected.txt:
+        * platform/chromium/compositing/layer-creation/overlap-animation-clipping-expected.txt:
+        * platform/chromium/compositing/layer-creation/overlap-animation-expected.txt:
+        * platform/chromium/compositing/layer-creation/overlap-child-layer-expected.txt:
+        * platform/chromium/compositing/layer-creation/overlap-clipping-expected.txt:
+        * platform/chromium/compositing/layer-creation/overlap-transformed-3d-expected.txt:
+        * platform/chromium/compositing/layer-creation/overlap-transformed-and-clipped-expected.txt:
+        * platform/chromium/compositing/layer-creation/overlap-transformed-layer-expected.txt:
+        * platform/chromium/compositing/layer-creation/overlap-transformed-preserved-3d-expected.txt:
+        * platform/chromium/compositing/layer-creation/overlap-transforms-expected.txt:
+        * platform/chromium/compositing/layer-creation/spanOverlapsCanvas-expected.txt:
+        * platform/chromium/compositing/layer-creation/stacking-context-overlap-expected.txt:
+        * platform/chromium/compositing/layer-creation/translatez-overlap-expected.txt:
+        * platform/chromium/compositing/overflow-trumps-transform-style-expected.txt:
+        * platform/chromium/compositing/overflow/clip-descendents-expected.txt:
+        * platform/chromium/compositing/rtl/rtl-absolute-expected.txt:
+        * platform/chromium/compositing/rtl/rtl-absolute-overflow-expected.txt:
+        * platform/chromium/compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt:
+        * platform/chromium/compositing/rtl/rtl-fixed-expected.txt:
+        * platform/chromium/compositing/rtl/rtl-fixed-overflow-expected.txt:
+        * platform/chromium/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
+        * platform/chromium/compositing/rtl/rtl-iframe-absolute-expected.txt:
+        * platform/chromium/compositing/rtl/rtl-iframe-fixed-expected.txt:
+        * platform/chromium/compositing/rtl/rtl-iframe-relative-expected.txt:
+        * platform/chromium/compositing/rtl/rtl-relative-expected.txt:
+        * platform/chromium/css3/filters/filtered-compositing-descendant-expected.txt:
+        * platform/chromium/platform/chromium/virtual/softwarecompositing/layer-creation/fixed-position-change-out-of-view-in-view-expected.txt:
+        * platform/chromium/platform/chromium/virtual/softwarecompositing/layer-creation/fixed-position-out-of-view-expected.txt:
+        * platform/chromium/platform/chromium/virtual/softwarecompositing/layer-creation/fixed-position-out-of-view-scaled-expected.txt:
+        * platform/chromium/platform/chromium/virtual/softwarecompositing/layer-creation/fixed-position-out-of-view-scaled-scroll-expected.txt:
+        * platform/efl/compositing/repaint/invalidations-on-composited-layers-expected.txt:
+        * platform/mac-wk2/compositing/visible-rect/iframe-no-layers-expected.txt:
+        * platform/mac/TestExpectations:
+        * platform/mac/compositing/geometry/fixed-position-composited-switch-expected.txt:
+        * platform/mac/compositing/iframes/resizer-expected.txt:
+        * platform/mac/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt:
+        * platform/mac/compositing/repaint/invalidations-on-composited-layers-expected.txt:
+        * platform/mac/compositing/tiling/backface-preserve-3d-tiled-expected.txt:
+        * platform/mac/compositing/tiling/crash-reparent-tiled-layer-expected.txt:
+        * platform/mac/compositing/tiling/huge-layer-add-remove-child-expected.txt:
+        * platform/mac/compositing/tiling/huge-layer-with-layer-children-expected.txt:
+        * platform/mac/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt:
+        * platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt:
+        * platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
+        * platform/mac/compositing/tiling/tile-cache-zoomed-expected.txt:
+        * platform/mac/compositing/tiling/tiled-layer-resize-expected.txt:
+        * platform/mac/compositing/visible-rect/iframe-no-layers-expected.txt:
+        * platform/qt-5.0-wk2/compositing/columns/composited-in-paginated-expected.txt:
+        * platform/qt-5.0-wk2/compositing/geometry/bounds-ignores-hidden-composited-descendant-expected.txt:
+        * platform/qt-5.0-wk2/compositing/iframes/become-composited-nested-iframes-expected.txt:
+        * platform/qt-5.0-wk2/compositing/iframes/become-overlapped-iframe-expected.txt:
+        * platform/qt-5.0-wk2/compositing/iframes/composited-parent-iframe-expected.txt:
+        * platform/qt-5.0-wk2/compositing/iframes/connect-compositing-iframe-delayed-expected.txt:
+        * platform/qt-5.0-wk2/compositing/iframes/connect-compositing-iframe-expected.txt:
+        * platform/qt-5.0-wk2/compositing/iframes/connect-compositing-iframe2-expected.txt:
+        * platform/qt-5.0-wk2/compositing/iframes/connect-compositing-iframe3-expected.txt:
+        * platform/qt-5.0-wk2/compositing/iframes/enter-compositing-iframe-expected.txt:
+        * platform/qt-5.0-wk2/compositing/iframes/iframe-resize-expected.txt:
+        * platform/qt-5.0-wk2/compositing/iframes/invisible-nested-iframe-show-expected.txt:
+        * platform/qt-5.0-wk2/compositing/iframes/overlapped-iframe-expected.txt:
+        * platform/qt-5.0-wk2/compositing/iframes/overlapped-nested-iframes-expected.txt:
+        * platform/qt-5.0-wk2/compositing/iframes/page-cache-layer-tree-expected.txt:
+        * platform/qt-5.0-wk2/compositing/iframes/resizer-expected.txt:
+        * platform/qt-5.0-wk2/compositing/iframes/scrolling-iframe-expected.txt:
+        * platform/qt-5.0-wk2/compositing/layer-creation/fixed-position-and-transform-expected.txt:
+        * platform/qt-5.0-wk2/compositing/layer-creation/fixed-position-under-transform-expected.txt:
+        * platform/qt-5.0-wk2/compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt:
+        * platform/qt-5.0-wk2/compositing/rtl/rtl-absolute-overflow-expected.txt:
+        * platform/qt-5.0-wk2/compositing/rtl/rtl-fixed-overflow-expected.txt:
+        * platform/qt-5.0-wk2/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
+        * platform/qt-5.0-wk2/compositing/tiled-layers-hidpi-expected.txt:
+        * platform/qt-5.0-wk2/compositing/tiling/crash-reparent-tiled-layer-expected.txt:
+        * platform/qt-5.0-wk2/compositing/tiling/huge-layer-add-remove-child-expected.txt:
+        * platform/qt-5.0-wk2/compositing/tiling/huge-layer-with-layer-children-expected.txt:
+        * platform/qt-5.0-wk2/compositing/tiling/huge-layer-with-layer-children-resize-expected.txt:
+        * platform/qt/compositing/backing/no-backing-for-clip-expected.txt:
+        * platform/qt/compositing/backing/no-backing-for-clip-overlap-expected.txt:
+        * platform/qt/compositing/backing/no-backing-for-perspective-expected.txt:
+        * platform/qt/compositing/geometry/preserve-3d-switching-expected.txt:
+        * platform/qt/compositing/iframes/invisible-nested-iframe-show-expected.txt:
+        * platform/qt/compositing/layer-creation/no-compositing-for-preserve-3d-expected.txt:
+        * platform/qt/compositing/overflow/composited-scrolling-creates-a-stacking-container-expected.txt:
+        * platform/win/compositing/iframes/overlapped-iframe-iframe-expected.txt:
+        * platform/win/compositing/tiling/huge-layer-add-remove-child-expected.txt:
+        * platform/win/compositing/tiling/rotated-tiled-clamped-expected.txt:
+        * platform/win/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
+
 2013-02-21  Julien Chaffraix  <jchaffraix@webkit.org>
 
         [CSS Grid Layout] Implement grid growth during auto placement
index 51b2fee..4f736c9 100644 (file)
@@ -8,6 +8,7 @@
         (GraphicsLayer
           (position 0.00 200.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
index 4bec7b3..a1e9d3f 100644 (file)
@@ -26,6 +26,7 @@ This layer should not have backing store.
                         (GraphicsLayer
                           (position 30.00 48.00)
                           (bounds 100.00 100.00)
+                          (contentsOpaque 1)
                         )
                       )
                     )
index ca9688c..c8eaeeb 100644 (file)
@@ -18,6 +18,7 @@ This layer should have backing store.
                 (GraphicsLayer
                   (position 30.00 48.00)
                   (bounds 100.00 100.00)
+                  (contentsOpaque 1)
                 )
               )
             )
@@ -35,6 +36,7 @@ This layer should have backing store.
                 (GraphicsLayer
                   (position 30.00 48.00)
                   (bounds 100.00 100.00)
+                  (contentsOpaque 1)
                 )
               )
             )
index 61bf219..4020758 100644 (file)
@@ -20,6 +20,7 @@ This layer should not have backing store.
                 (GraphicsLayer
                   (position 31.00 49.00)
                   (bounds 100.00 100.00)
+                  (contentsOpaque 1)
                   (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
                 )
               )
index 287e56d..52fbad7 100644 (file)
@@ -8,6 +8,7 @@
         (GraphicsLayer
           (position 8.00 8.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
index c2bb274..82b4bb4 100644 (file)
@@ -8,6 +8,7 @@
         (GraphicsLayer
           (position 818.00 145.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
       )
     )
diff --git a/LayoutTests/compositing/contents-opaque/contents-opaque-background-clip-expected.txt b/LayoutTests/compositing/contents-opaque/contents-opaque-background-clip-expected.txt
new file mode 100644 (file)
index 0000000..0489689
--- /dev/null
@@ -0,0 +1,28 @@
+(GraphicsLayer
+  (bounds 800.00 600.00)
+  (children 1
+    (GraphicsLayer
+      (bounds 800.00 600.00)
+      (contentsOpaque 1)
+      (children 3
+        (GraphicsLayer
+          (position 13.00 8.00)
+          (bounds 100.00 100.00)
+          (contentsOpaque 1)
+          (drawsContent 1)
+        )
+        (GraphicsLayer
+          (position 13.00 113.00)
+          (bounds 100.00 100.00)
+          (drawsContent 1)
+        )
+        (GraphicsLayer
+          (position 13.00 218.00)
+          (bounds 100.00 100.00)
+          (drawsContent 1)
+        )
+      )
+    )
+  )
+)
+
diff --git a/LayoutTests/compositing/contents-opaque/contents-opaque-background-clip.html b/LayoutTests/compositing/contents-opaque/contents-opaque-background-clip.html
new file mode 100644 (file)
index 0000000..50cfaf2
--- /dev/null
@@ -0,0 +1,49 @@
+<html>
+    <head>
+        <style type="text/css">
+            .box {
+                width: 80px;
+                height: 80px;
+                margin: 5px;
+                border-style: solid;
+                border-width: 5px;
+                padding: 5px;
+                background-color: green;
+            }
+            .composited {
+                -webkit-transform: translateZ(0);
+            }
+            .padding-clip {
+                background-clip: padding-box;
+                -webkit-background-clip: padding-box;
+            }
+            .content-clip {
+                background-clip: content-box;
+                -webkit-background-clip: content-box;
+            }
+        </style>
+        <script type="text/javascript">
+            if (window.testRunner)
+                testRunner.dumpAsText();
+
+            function doTest() {
+                if (window.testRunner && window.internals)
+                    document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
+            }
+            window.addEventListener('load', doTest, false);
+        </script>
+    </head>
+    <body>
+        <!-- Box with border-box background-clip. -->
+        <!-- GraphicsLayer::contentsOpaque for this box should be true. -->
+        <div class="box composited"></div>
+        <!-- Box with padding-box background-clip. -->
+        <!-- GraphicsLayer::contentsOpaque for this box should be false. -->
+        <div class="box composited padding-clip"></div>
+        <!-- Box with content-box background-clip. -->
+        <!-- GraphicsLayer::contentsOpaque for this box should be false. -->
+        <div class="box composited content-clip"></div>
+
+        <pre id="layertree"></pre>
+    </body>
+</html>
diff --git a/LayoutTests/compositing/contents-opaque/contents-opaque-background-color-expected.txt b/LayoutTests/compositing/contents-opaque/contents-opaque-background-color-expected.txt
new file mode 100644 (file)
index 0000000..119a1d7
--- /dev/null
@@ -0,0 +1,27 @@
+(GraphicsLayer
+  (bounds 800.00 600.00)
+  (children 1
+    (GraphicsLayer
+      (bounds 800.00 600.00)
+      (contentsOpaque 1)
+      (children 3
+        (GraphicsLayer
+          (position 8.00 8.00)
+          (bounds 100.00 100.00)
+        )
+        (GraphicsLayer
+          (position 8.00 108.00)
+          (bounds 100.00 100.00)
+          (drawsContent 1)
+        )
+        (GraphicsLayer
+          (position 8.00 208.00)
+          (bounds 100.00 100.00)
+          (contentsOpaque 1)
+          (drawsContent 1)
+        )
+      )
+    )
+  )
+)
+
diff --git a/LayoutTests/compositing/contents-opaque/contents-opaque-background-color.html b/LayoutTests/compositing/contents-opaque/contents-opaque-background-color.html
new file mode 100644 (file)
index 0000000..e3bf914
--- /dev/null
@@ -0,0 +1,42 @@
+<html>
+    <head>
+        <style type="text/css">
+            .box {
+                width: 100px;
+                height: 100px;
+            }
+            .opaque {
+                background-color: green;
+            }
+            .translucent {
+                background-color: rgba(0, 255, 0, 0.5);
+            }
+            .composited {
+                -webkit-transform: translateZ(0);
+            }
+        </style>
+        <script type="text/javascript">
+            if (window.testRunner)
+                testRunner.dumpAsText();
+
+            function doTest() {
+                if (window.testRunner && window.internals)
+                    document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
+            }
+            window.addEventListener('load', doTest, false);
+        </script>
+    </head>
+    <body>
+        <!-- Box with transparent background. -->
+        <!-- GraphicsLayer::contentsOpaque for this box should be false. -->
+        <div class="box composited"></div>
+        <!-- Box with translucent background color. -->
+        <!-- GraphicsLayer::contentsOpaque for this box should be false. -->
+        <div class="box translucent composited"></div>
+        <!-- Box with opaque background color. -->
+        <!-- GraphicsLayer::contentsOpaque for this box should be true. -->
+        <div class="box opaque composited"></div>
+
+        <pre id="layertree"></pre>
+    </body>
+</html>
diff --git a/LayoutTests/compositing/contents-opaque/contents-opaque-layer-opacity-expected.txt b/LayoutTests/compositing/contents-opaque/contents-opaque-layer-opacity-expected.txt
new file mode 100644 (file)
index 0000000..8241036
--- /dev/null
@@ -0,0 +1,19 @@
+(GraphicsLayer
+  (bounds 800.00 600.00)
+  (children 1
+    (GraphicsLayer
+      (bounds 800.00 600.00)
+      (contentsOpaque 1)
+      (children 1
+        (GraphicsLayer
+          (position 8.00 8.00)
+          (bounds 100.00 100.00)
+          (opacity 0.50)
+          (contentsOpaque 1)
+          (drawsContent 1)
+        )
+      )
+    )
+  )
+)
+
diff --git a/LayoutTests/compositing/contents-opaque/contents-opaque-layer-opacity.html b/LayoutTests/compositing/contents-opaque/contents-opaque-layer-opacity.html
new file mode 100644 (file)
index 0000000..e6d3e7d
--- /dev/null
@@ -0,0 +1,37 @@
+<html>
+    <head>
+        <style type="text/css">
+            .box {
+                width: 100px;
+                height: 100px;
+            }
+            .opaque-background {
+                background-color: green;
+            }
+            .translucent {
+                opacity: 0.5;
+            }
+            .composited {
+                -webkit-transform: translateZ(0);
+            }
+        </style>
+        <script type="text/javascript">
+            if (window.testRunner)
+                testRunner.dumpAsText();
+
+            function doTest() {
+                if (window.testRunner && window.internals)
+                    document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
+            }
+            window.addEventListener('load', doTest, false);
+        </script>
+    </head>
+    <body>
+        <!-- Box with opaque background color but global opacity. -->
+        <!-- Global opacity does not affect the opaqueness of content. -->
+        <!-- GraphicsLayer::contentsOpaque for this box should be true. -->
+        <div class="box opaque-background translucent composited"></div>
+
+        <pre id="layertree"></pre>
+    </body>
+</html>
diff --git a/LayoutTests/compositing/contents-opaque/contents-opaque-layer-transform-expected.txt b/LayoutTests/compositing/contents-opaque/contents-opaque-layer-transform-expected.txt
new file mode 100644 (file)
index 0000000..cf49864
--- /dev/null
@@ -0,0 +1,19 @@
+(GraphicsLayer
+  (bounds 800.00 600.00)
+  (children 1
+    (GraphicsLayer
+      (bounds 800.00 600.00)
+      (contentsOpaque 1)
+      (children 1
+        (GraphicsLayer
+          (position 8.00 8.00)
+          (bounds 100.00 100.00)
+          (contentsOpaque 1)
+          (drawsContent 1)
+          (transform [0.87 0.50 0.00 0.00] [-0.50 0.87 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 0.00 1.00])
+        )
+      )
+    )
+  )
+)
+
diff --git a/LayoutTests/compositing/contents-opaque/contents-opaque-layer-transform.html b/LayoutTests/compositing/contents-opaque/contents-opaque-layer-transform.html
new file mode 100644 (file)
index 0000000..609e111
--- /dev/null
@@ -0,0 +1,30 @@
+<html>
+    <head>
+        <style type="text/css">
+            .box {
+                width: 100px;
+                height: 100px;
+                background-color: green;
+                -webkit-transform: rotate(30deg) translateZ(0);
+            }
+        </style>
+        <script type="text/javascript">
+            if (window.testRunner)
+                testRunner.dumpAsText();
+
+            function doTest() {
+                if (window.testRunner && window.internals)
+                    document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
+            }
+            window.addEventListener('load', doTest, false);
+        </script>
+    </head>
+    <body>
+        <!-- Box with opaque background color and transform. -->
+        <!-- Layer transform does not affect the opaqueness of content. -->
+        <!-- GraphicsLayer::contentsOpaque for this box should be true. -->
+        <div class="box"></div>
+
+        <pre id="layertree"></pre>
+    </body>
+</html>
index 79b3588..75f626e 100644 (file)
@@ -13,6 +13,7 @@
         )
         (GraphicsLayer
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
       )
     )
index 2229cf3..5476e90 100644 (file)
@@ -8,6 +8,7 @@
         (GraphicsLayer
           (position 105.00 105.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (bounds 125.00 125.00)
index b5494f9..e102302 100644 (file)
@@ -22,6 +22,7 @@
             (GraphicsLayer
               (position 490.00 108.00)
               (bounds 100.00 100.00)
+              (contentsOpaque 1)
             )
           )
         )
index a403a69..b8046e6 100644 (file)
@@ -16,6 +16,7 @@
           (position 10.00 260.00)
           (anchor -0.20 -0.20)
           (bounds 50.00 50.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
index 0f62d34..2f52f0d 100644 (file)
         )
         (GraphicsLayer
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 0.00 250.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
       )
     )
index 2a54730..c3b028b 100644 (file)
@@ -10,6 +10,7 @@
           (position 10.00 10.00)
           (anchor -0.20 -0.20)
           (bounds 50.00 50.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 1
             (GraphicsLayer
index c590691..fc9a86c 100644 (file)
@@ -10,6 +10,7 @@ Test CSS clip with composited layers. Left and right sides should look the same.
         (GraphicsLayer
           (position 20.00 20.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
         )
index 6022d18..9c1d0a4 100644 (file)
@@ -11,6 +11,7 @@ Test CSS clip with composited layers. Left and right sides should look the same.
           (position 25.00 35.00)
           (anchor 0.50 0.44)
           (bounds 90.00 80.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
         )
index f79aaa8..38afbf3 100644 (file)
@@ -11,6 +11,7 @@ After (should not be empty):
         (GraphicsLayer
           (position 495.00 30.00)
           (bounds 300.00 100.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
index 90abf67..659bd50 100644 (file)
@@ -8,6 +8,7 @@
         (GraphicsLayer
           (position 18.00 10.00)
           (bounds 250.00 200.00)
+          (contentsOpaque 1)
           (children 1
             (GraphicsLayer
               (position 35.00 10.00)
index 309cd05..971d191 100644 (file)
@@ -19,15 +19,18 @@ Second dump layer tree:
             (GraphicsLayer
               (position 31.00 39.00)
               (bounds 250.00 220.00)
+              (contentsOpaque 1)
               (children 1
                 (GraphicsLayer
                   (position 10.00 10.00)
                   (bounds 200.00 200.00)
+                  (contentsOpaque 1)
                   (transform [0.87 0.50 0.00 0.00] [-0.50 0.87 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 0.00 1.00])
                   (children 1
                     (GraphicsLayer
                       (position 100.00 0.00)
                       (bounds 250.00 100.00)
+                      (contentsOpaque 1)
                       (drawsContent 1)
                       (transform [0.50 0.00 -0.87 0.00] [0.00 1.00 0.00 0.00] [0.87 0.00 0.50 -0.00] [-30.00 30.00 100.00 0.75])
                     )
index 4c8f8c9..3404fff 100644 (file)
@@ -19,6 +19,7 @@ Second dump layer tree:
             (GraphicsLayer
               (position 121.00 39.00)
               (bounds 250.00 100.00)
+              (contentsOpaque 1)
               (drawsContent 1)
               (transform [0.71 0.00 -0.71 0.00] [0.00 1.00 0.00 0.00] [0.71 0.00 0.71 -0.00] [-50.00 10.00 100.00 0.83])
             )
index 2232686..906e465 100644 (file)
@@ -26,6 +26,7 @@ middlebottom
           (children 1
             (GraphicsLayer
               (bounds 110.00 200.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
           )
@@ -47,6 +48,7 @@ middlebottom
           (children 1
             (GraphicsLayer
               (bounds 110.00 200.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
           )
index aecf601..d37ae73 100644 (file)
@@ -8,6 +8,7 @@
         (GraphicsLayer
           (position 100.00 3100.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 0.00 3000.00)
index 04dbe47..2197468 100644 (file)
@@ -13,6 +13,7 @@ Text here
         (GraphicsLayer
           (position 29.00 134.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 0.00 113.00)
index bf96afc..6f96c43 100644 (file)
@@ -12,6 +12,7 @@
         (GraphicsLayer
           (position 21.00 21.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (bounds 142.00 142.00)
index afb4404..a05ee46 100644 (file)
@@ -13,6 +13,7 @@ Text here
         (GraphicsLayer
           (position 29.00 29.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 0.00 8.00)
index b22f4e2..1a9bc10 100644 (file)
@@ -13,6 +13,7 @@ Text here
         (GraphicsLayer
           (position 29.00 29.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 0.00 8.00)
index b0f5bd6..ebe2047 100644 (file)
@@ -13,6 +13,7 @@ Text here
         (GraphicsLayer
           (position 129.00 29.00)
           (bounds 200.00 100.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position -971.00 8.00)
index 8a7c001..8dec526 100644 (file)
@@ -13,6 +13,7 @@ middle
         (GraphicsLayer
           (position 129.00 29.00)
           (bounds 200.00 100.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 8.00 8.00)
index b727a4a..2884067 100644 (file)
@@ -17,6 +17,7 @@ The green box appear angled out from the yellow box and embedded in it.
               (position 12.00 12.00)
               (bounds 280.00 280.00)
               (opacity 0.80)
+              (contentsOpaque 1)
               (preserves3D 1)
               (transform [0.77 -0.56 -0.32 0.00] [0.00 0.50 -0.87 0.00] [0.64 0.66 0.38 0.00] [0.00 0.00 0.00 1.00])
               (children 1
@@ -24,6 +25,7 @@ The green box appear angled out from the yellow box and embedded in it.
                   (position 40.00 40.00)
                   (bounds 200.00 200.00)
                   (opacity 0.70)
+                  (contentsOpaque 1)
                   (drawsContent 1)
                   (transform [0.77 0.00 0.64 0.00] [0.00 1.00 0.00 0.00] [-0.64 0.00 0.77 0.00] [0.00 0.00 50.00 1.00])
                 )
index 9670127..22b34ae 100644 (file)
@@ -49,6 +49,7 @@
                                                         (GraphicsLayer
                                                           (position 18.00 10.00)
                                                           (bounds 210.00 210.00)
+                                                          (contentsOpaque 1)
                                                         )
                                                       )
                                                     )
                                                         (GraphicsLayer
                                                           (position 18.00 10.00)
                                                           (bounds 210.00 210.00)
+                                                          (contentsOpaque 1)
                                                         )
                                                       )
                                                     )
         )
         (GraphicsLayer
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
       )
     )
index 6bfb36d..c8c92ee 100644 (file)
@@ -29,6 +29,7 @@
                                 (GraphicsLayer
                                   (position 18.00 10.00)
                                   (bounds 210.00 210.00)
+                                  (contentsOpaque 1)
                                 )
                               )
                             )
index e9e8cd1..b336eaa 100644 (file)
@@ -29,6 +29,7 @@
                                 (GraphicsLayer
                                   (position 18.00 10.00)
                                   (bounds 210.00 210.00)
+                                  (contentsOpaque 1)
                                 )
                               )
                             )
index f7093f3..8bc77d2 100644 (file)
@@ -31,6 +31,7 @@ When the parent document becomes composited, the layer trees should get connecte
                                 (GraphicsLayer
                                   (position 18.00 10.00)
                                   (bounds 210.00 210.00)
+                                  (contentsOpaque 1)
                                 )
                               )
                             )
@@ -47,6 +48,7 @@ When the parent document becomes composited, the layer trees should get connecte
         (GraphicsLayer
           (position 8.00 8.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
       )
     )
index 093ddfa..bb689bf 100644 (file)
@@ -29,6 +29,7 @@
                                 (GraphicsLayer
                                   (position 18.00 10.00)
                                   (bounds 210.00 210.00)
+                                  (contentsOpaque 1)
                                 )
                               )
                             )
index 093ddfa..bb689bf 100644 (file)
@@ -29,6 +29,7 @@
                                 (GraphicsLayer
                                   (position 18.00 10.00)
                                   (bounds 210.00 210.00)
+                                  (contentsOpaque 1)
                                 )
                               )
                             )
index 76f146a..bd90e41 100644 (file)
@@ -29,6 +29,7 @@
                                 (GraphicsLayer
                                   (position 18.00 10.00)
                                   (bounds 210.00 210.00)
+                                  (contentsOpaque 1)
                                 )
                               )
                             )
index 093ddfa..bb689bf 100644 (file)
@@ -29,6 +29,7 @@
                                 (GraphicsLayer
                                   (position 18.00 10.00)
                                   (bounds 210.00 210.00)
+                                  (contentsOpaque 1)
                                 )
                               )
                             )
index 35a110f..7440c8f 100644 (file)
@@ -29,6 +29,7 @@
                                 (GraphicsLayer
                                   (position 18.00 10.00)
                                   (bounds 210.00 210.00)
+                                  (contentsOpaque 1)
                                 )
                               )
                             )
index 72db253..f896c4e 100644 (file)
@@ -8,6 +8,7 @@
         (GraphicsLayer
           (position 18.00 10.00)
           (bounds 210.00 210.00)
+          (contentsOpaque 1)
         )
       )
     )
index 9791e76..b18b1b6 100644 (file)
@@ -48,6 +48,7 @@
                                                         (GraphicsLayer
                                                           (position 18.00 10.00)
                                                           (bounds 210.00 210.00)
+                                                          (contentsOpaque 1)
                                                         )
                                                       )
                                                     )
@@ -76,6 +77,7 @@
         (GraphicsLayer
           (position 18.00 202.00)
           (bounds 210.00 210.00)
+          (contentsOpaque 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
         )
       )
index 093ddfa..bb689bf 100644 (file)
@@ -29,6 +29,7 @@
                                 (GraphicsLayer
                                   (position 18.00 10.00)
                                   (bounds 210.00 210.00)
+                                  (contentsOpaque 1)
                                 )
                               )
                             )
index 0d08052..add756e 100644 (file)
@@ -27,6 +27,7 @@
                                 (GraphicsLayer
                                   (position 18.00 10.00)
                                   (bounds 210.00 210.00)
+                                  (contentsOpaque 1)
                                 )
                               )
                             )
index 9eec90c..49dc3c0 100644 (file)
@@ -49,6 +49,7 @@
                                                         (GraphicsLayer
                                                           (position 18.00 10.00)
                                                           (bounds 210.00 210.00)
+                                                          (contentsOpaque 1)
                                                         )
                                                       )
                                                     )
                                                         (GraphicsLayer
                                                           (position 18.00 10.00)
                                                           (bounds 210.00 210.00)
+                                                          (contentsOpaque 1)
                                                         )
                                                       )
                                                     )
index 065667c..9070fbe 100644 (file)
@@ -35,6 +35,7 @@ This tests that layers are rebuilt properly after the page is restored from the
                                 (GraphicsLayer
                                   (position 8.00 8.00)
                                   (bounds 202.00 202.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                   (transform [0.71 0.71 0.00 0.00] [-0.71 0.71 0.00 0.00] [0.00 0.00 1.00 0.00] [100.00 100.00 0.00 1.00])
                                 )
@@ -77,6 +78,7 @@ This tests that layers are rebuilt properly after the page is restored from the
                                 (GraphicsLayer
                                   (position 108.00 100.00)
                                   (bounds 200.00 200.00)
+                                  (contentsOpaque 1)
                                 )
                               )
                             )
index 6cb499a..baa1d29 100644 (file)
@@ -30,6 +30,7 @@
                                 (GraphicsLayer
                                   (position 108.00 100.00)
                                   (bounds 200.00 200.00)
+                                  (contentsOpaque 1)
                                 )
                               )
                             )
index b91b89f..3d11088 100644 (file)
@@ -15,10 +15,12 @@ Should be composited
             (GraphicsLayer
               (position 6.00 6.00)
               (bounds 250.00 50.00)
+              (contentsOpaque 1)
             )
             (GraphicsLayer
               (position 11.00 21.00)
               (bounds 100.00 100.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
           )
@@ -26,6 +28,7 @@ Should be composited
         (GraphicsLayer
           (position 18.00 230.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
index 7d4d7c6..e93ba85 100644 (file)
@@ -8,10 +8,12 @@
         (GraphicsLayer
           (position 100.00 1100.00)
           (bounds 256.00 256.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 0.00 1000.00)
           (bounds 500.00 500.00)
+          (contentsOpaque 1)
         )
       )
     )
index 3a79d7b..27d5828 100644 (file)
@@ -10,10 +10,12 @@ Layer tree when the fixed elements are in-view (both fixed elements should have
         (GraphicsLayer
           (position 100.00 50.00)
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 100.00 100.00)
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
       )
     )
index f380404..7cc3d55 100644 (file)
@@ -11,6 +11,7 @@
           (children 2
             (GraphicsLayer
               (bounds 10.00 10.00)
+              (contentsOpaque 1)
             )
             (GraphicsLayer
               (bounds 785.00 1021.00)
index e440a54..779b2be 100644 (file)
@@ -9,9 +9,11 @@ Not scaled:
         (GraphicsLayer
           (position 600.00 0.00)
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
       )
     )
@@ -30,17 +32,21 @@ Scale=0.5:
         (GraphicsLayer
           (position 8.00 1008.00)
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 1000.00 0.00)
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 600.00 0.00)
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
       )
     )
@@ -58,6 +64,7 @@ Scale=1.5:
       (children 1
         (GraphicsLayer
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
       )
     )
index a94213e..9569599 100644 (file)
@@ -9,10 +9,12 @@ Not scaled:
         (GraphicsLayer
           (position 600.00 100.00)
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 0.00 100.00)
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
       )
     )
@@ -31,17 +33,21 @@ Scale=0.5:
         (GraphicsLayer
           (position 8.00 1008.00)
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 1000.00 0.00)
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 600.00 0.00)
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
       )
     )
@@ -59,6 +65,7 @@ Scale=1.5:
       (children 1
         (GraphicsLayer
           (bounds 10.00 10.00)
+          (contentsOpaque 1)
         )
       )
     )
index fb59496..6aadcf8 100644 (file)
@@ -9,12 +9,14 @@
           (position 108.00 113.00)
           (anchor 1.11 -0.39)
           (bounds 256.00 256.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 1000.00 0.00 1.00])
         )
         (GraphicsLayer
           (position 0.00 1000.00)
           (bounds 500.00 500.00)
+          (contentsOpaque 1)
         )
       )
     )
index f3e2553..b65e628 100644 (file)
@@ -17,6 +17,7 @@ This layer should be composited.
             (GraphicsLayer
               (position 31.00 49.00)
               (bounds 100.00 100.00)
+              (contentsOpaque 1)
               (transform [0.98 0.00 -0.17 0.00] [0.00 1.00 0.00 0.00] [0.17 0.00 0.98 0.00] [0.00 0.00 0.00 1.00])
             )
           )
index 9922ed0..876d04f 100644 (file)
@@ -21,6 +21,7 @@
             (GraphicsLayer
               (position 20.00 45.00)
               (bounds 210.00 100.00)
+              (contentsOpaque 1)
             )
           )
         )
index b4b28c8..acf5790 100644 (file)
@@ -8,11 +8,13 @@
         (GraphicsLayer
           (position 18.00 120.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 -110.00 0.00 1.00])
         )
         (GraphicsLayer
           (position 58.00 230.00)
           (bounds 122.00 462.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 1
             (GraphicsLayer
                 (GraphicsLayer
                   (position 10.00 10.00)
                   (bounds 100.00 100.00)
+                  (contentsOpaque 1)
                   (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
                 )
                 (GraphicsLayer
                   (position 10.00 230.00)
                   (bounds 100.00 100.00)
+                  (contentsOpaque 1)
                   (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 -220.00 0.00 1.00])
                 )
                 (GraphicsLayer
                   (position 10.00 340.00)
                   (bounds 100.00 100.00)
+                  (contentsOpaque 1)
                 )
               )
             )
@@ -40,6 +45,7 @@
         (GraphicsLayer
           (position 18.00 702.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
       )
     )
index bc17480..4a6a023 100644 (file)
                 (GraphicsLayer
                   (position 10.00 10.00)
                   (bounds 100.00 100.00)
+                  (contentsOpaque 1)
                 )
                 (GraphicsLayer
                   (position 10.00 120.00)
                   (bounds 100.00 100.00)
+                  (contentsOpaque 1)
                 )
               )
             )
index 24b944b..d54e1de 100644 (file)
@@ -8,10 +8,12 @@
         (GraphicsLayer
           (anchor 1.56 0.00)
           (bounds 256.00 256.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
         (GraphicsLayer
           (bounds 300.00 300.00)
+          (contentsOpaque 1)
         )
       )
     )
index e606282..53a3e2c 100644 (file)
           (children 1
             (GraphicsLayer
               (bounds 500.00 100.00)
+              (contentsOpaque 1)
             )
           )
         )
         (GraphicsLayer
           (position 50.00 200.00)
           (bounds 500.00 100.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 450.00 200.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
       )
     )
index edd5f4a..db362bc 100644 (file)
@@ -9,6 +9,7 @@ Before:
         (GraphicsLayer
           (position 108.00 108.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 -1.00 1.00])
         )
       )
@@ -27,23 +28,28 @@ After:
         (GraphicsLayer
           (position 108.00 108.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
           (transform [0.71 0.71 0.00 0.00] [-0.71 0.71 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 -1.00 1.00])
         )
         (GraphicsLayer
           (position 8.00 8.00)
           (bounds 100.00 150.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 208.00 8.00)
           (bounds 100.00 150.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 8.00 158.00)
           (bounds 100.00 150.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 208.00 158.00)
           (bounds 100.00 150.00)
+          (contentsOpaque 1)
         )
       )
     )
index f694528..f76f9f0 100644 (file)
               (children 2
                 (GraphicsLayer
                   (bounds 100.00 100.00)
+                  (contentsOpaque 1)
                 )
                 (GraphicsLayer
                   (bounds 100.00 100.00)
+                  (contentsOpaque 1)
                 )
               )
             )
index 0ccefe2..7f95cfb 100644 (file)
@@ -9,6 +9,7 @@
           (position 23.00 8.00)
           (anchor 1.47 0.00)
           (bounds 256.00 256.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [-10.00 0.00 0.00 1.00])
           (children 1
@@ -19,6 +20,7 @@
         )
         (GraphicsLayer
           (bounds 300.00 300.00)
+          (contentsOpaque 1)
         )
       )
     )
index b25c0fa..cbe8e01 100644 (file)
@@ -110,18 +110,22 @@ After:
         (GraphicsLayer
           (position 8.00 8.00)
           (bounds 100.00 150.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 208.00 8.00)
           (bounds 100.00 150.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 8.00 158.00)
           (bounds 100.00 150.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 208.00 158.00)
           (bounds 100.00 150.00)
+          (contentsOpaque 1)
         )
       )
     )
index 631f748..0ad8f66 100644 (file)
@@ -16,6 +16,7 @@
                 (GraphicsLayer
                   (position 10.00 10.00)
                   (bounds 100.00 100.00)
+                  (contentsOpaque 1)
                   (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
                 )
               )
index 7a60f3c..a64dbf5 100644 (file)
@@ -13,6 +13,7 @@
         (GraphicsLayer
           (position 8.00 8.00)
           (bounds 100.00 50.00)
+          (contentsOpaque 1)
         )
       )
     )
index 99c86ee..d1706b7 100644 (file)
@@ -8,6 +8,7 @@
         (GraphicsLayer
           (position 8.00 8.00)
           (bounds 20.00 20.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 8.00 18.00)
index b422930..466fad7 100644 (file)
@@ -8,6 +8,7 @@
         (GraphicsLayer
           (position 18.00 10.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
       )
     )
index 2a29b2f..39dcd62 100644 (file)
@@ -8,6 +8,7 @@
         (GraphicsLayer
           (position 10.00 10.00)
           (bounds 400.00 200.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
index b3ce89c..8924efd 100644 (file)
@@ -10,12 +10,14 @@ flat
         (GraphicsLayer
           (position 18.00 10.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
           (preserves3D 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
         )
         (GraphicsLayer
           (position 18.00 120.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
         )
       )
index 36698ea..129b81d 100644 (file)
@@ -12,6 +12,7 @@
             (GraphicsLayer
               (position 2.00 12.00)
               (bounds 100.00 150.00)
+              (contentsOpaque 1)
               (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
             )
           )
@@ -23,6 +24,7 @@
             (GraphicsLayer
               (position 2.00 12.00)
               (bounds 100.00 150.00)
+              (contentsOpaque 1)
               (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
             )
           )
@@ -37,6 +39,7 @@
                 (GraphicsLayer
                   (position 2.00 12.00)
                   (bounds 100.00 150.00)
+                  (contentsOpaque 1)
                   (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
                 )
               )
@@ -53,6 +56,7 @@
                 (GraphicsLayer
                   (position 2.00 12.00)
                   (bounds 100.00 150.00)
+                  (contentsOpaque 1)
                   (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
                 )
               )
index 7e81f15..6047bb8 100644 (file)
@@ -24,6 +24,7 @@
                     )
                     (GraphicsLayer
                       (bounds 200.00 150.00)
+                      (contentsOpaque 1)
                       (drawsContent 1)
                     )
                   )
index dc3dffa..d8ddfca 100644 (file)
@@ -9,6 +9,7 @@
         (GraphicsLayer
           (position 18.00 18.00)
           (bounds 206.00 126.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 3
             (GraphicsLayer
@@ -37,6 +38,7 @@
         (GraphicsLayer
           (position 248.00 18.00)
           (bounds 206.00 126.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 3
             (GraphicsLayer
index a9d4cbc..d1f8ce1 100644 (file)
@@ -13,6 +13,7 @@
         (GraphicsLayer
           (position 266.00 20.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
         (GraphicsLayer
           (position 390.00 18.00)
index df095c1..4a56fa3 100644 (file)
@@ -13,6 +13,7 @@
         (GraphicsLayer
           (position 8.00 42.00)
           (bounds 400.00 400.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (repaint rects
             (rect 0.00 0.00 400.00 400.00)
@@ -23,6 +24,7 @@
             (GraphicsLayer
               (position 50.00 50.00)
               (bounds 75.00 75.00)
+              (contentsOpaque 1)
               (drawsContent 1)
               (repaint rects
                 (rect 0.00 0.00 75.00 75.00)
index 018c7bf..66ad105 100644 (file)
@@ -8,6 +8,7 @@
         (GraphicsLayer
           (position 50.00 50.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
       )
     )
index dc2f17f..732ac06 100644 (file)
@@ -9,6 +9,7 @@
         (GraphicsLayer
           (position 265.00 50.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
       )
     )
index 8aa4758..ac6b5bc 100644 (file)
@@ -9,6 +9,7 @@
         (GraphicsLayer
           (position 51.00 50.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
       )
     )
index 018c7bf..66ad105 100644 (file)
@@ -8,6 +8,7 @@
         (GraphicsLayer
           (position 50.00 50.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
       )
     )
index dc2f17f..732ac06 100644 (file)
@@ -9,6 +9,7 @@
         (GraphicsLayer
           (position 265.00 50.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
       )
     )
index 8aa4758..ac6b5bc 100644 (file)
@@ -9,6 +9,7 @@
         (GraphicsLayer
           (position 51.00 50.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
       )
     )
index 193a024..c9274be 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 50.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                 )
                               )
                             )
index 908a1a0..7ff33cb 100644 (file)
@@ -27,6 +27,7 @@
                                 (GraphicsLayer
                                   (position 665.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 07331e8..d3ecabd 100644 (file)
@@ -27,6 +27,7 @@
                                 (GraphicsLayer
                                   (position 51.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 193a024..c9274be 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 50.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                 )
                               )
                             )
index 908a1a0..7ff33cb 100644 (file)
@@ -27,6 +27,7 @@
                                 (GraphicsLayer
                                   (position 665.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 908a1a0..7ff33cb 100644 (file)
@@ -27,6 +27,7 @@
                                 (GraphicsLayer
                                   (position 665.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index dd2d3f4..1bd6836 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 242.00 58.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                 )
                               )
                             )
index a96ed30..a3138c0 100644 (file)
@@ -8,6 +8,7 @@
         (GraphicsLayer
           (position 642.00 58.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
         )
       )
     )
index dee4bfe..39d73d0 100644 (file)
@@ -8,6 +8,7 @@
         (GraphicsLayer
           (position 8.00 8.00)
           (bounds 1800.00 10.00)
+          (contentsOpaque 1)
         )
       )
     )
index a564549..b5ef80b 100644 (file)
@@ -16,6 +16,7 @@
               (children 1
                 (GraphicsLayer
                   (bounds 202.00 202.00)
+                  (contentsOpaque 1)
                   (preserves3D 1)
                   (drawsContent 1)
                   (backfaceVisibility hidden)
@@ -36,6 +37,7 @@
               (children 1
                 (GraphicsLayer
                   (bounds 202.00 2502.00)
+                  (contentsOpaque 1)
                   (preserves3D 1)
                   (drawsContent 1)
                   (backfaceVisibility hidden)
index b3b1fbe..aa52020 100644 (file)
@@ -10,11 +10,13 @@ From https://bugs.webkit.org/show_bug.cgi?id=44629. The parent is a tiled layer.
         (GraphicsLayer
           (position 8.00 68.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 1
             (GraphicsLayer
               (position 51.00 101.00)
               (bounds 200.00 4800.00)
+              (contentsOpaque 1)
             )
           )
         )
index 0c037e4..1d81fa0 100644 (file)
@@ -11,6 +11,7 @@ First (no children):
         (GraphicsLayer
           (position 8.00 86.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
@@ -30,11 +31,13 @@ Second (child added):
         (GraphicsLayer
           (position 8.00 86.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 1
             (GraphicsLayer
               (position 51.00 401.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
             )
           )
         )
@@ -55,6 +58,7 @@ Third (child removed):
         (GraphicsLayer
           (position 8.00 86.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
index 1332fb0..4d81d06 100644 (file)
@@ -11,15 +11,18 @@ This is some text
         (GraphicsLayer
           (position 8.00 86.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 2
             (GraphicsLayer
               (position 51.00 101.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
             )
             (GraphicsLayer
               (position 51.00 4701.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
             )
           )
         )
index 15d0051..9038922 100644 (file)
@@ -11,15 +11,18 @@ First (small layer):
         (GraphicsLayer
           (position 8.00 68.00)
           (bounds 502.00 502.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 2
             (GraphicsLayer
               (position 51.00 101.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
             )
             (GraphicsLayer
               (position 276.00 201.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
             )
           )
         )
@@ -40,15 +43,18 @@ Second (huge layer):
         (GraphicsLayer
           (position 8.00 68.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 2
             (GraphicsLayer
               (position 51.00 101.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
             )
             (GraphicsLayer
               (position 276.00 4701.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
             )
           )
         )
@@ -69,15 +75,18 @@ Third (small layer):
         (GraphicsLayer
           (position 8.00 68.00)
           (bounds 502.00 502.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 2
             (GraphicsLayer
               (position 51.00 101.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
             )
             (GraphicsLayer
               (position 276.00 201.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
             )
           )
         )
index 16d4752..097bd7c 100644 (file)
@@ -18,6 +18,7 @@
                   (position -1250.00 0.00)
                   (anchor 0.54 0.50)
                   (bounds 2800.00 300.00)
+                  (contentsOpaque 1)
                   (drawsContent 1)
                   (transform [0.17 0.00 -0.98 0.00] [0.00 1.00 0.00 0.00] [0.98 0.00 0.17 0.00] [0.00 0.00 0.00 1.00])
                 )
index 5f8c6a6..adb351d 100644 (file)
@@ -22,6 +22,7 @@
                       (position -1250.00 0.00)
                       (anchor 0.54 0.50)
                       (bounds 2800.00 300.00)
+                      (contentsOpaque 1)
                       (drawsContent 1)
                       (transform [0.17 0.00 -0.98 0.00] [0.00 1.00 0.00 0.00] [0.98 0.00 0.17 0.00] [0.00 0.00 0.00 1.00])
                     )
index ce5aa7d..e910c97 100644 (file)
@@ -13,6 +13,7 @@
           (position 8.00 8.00)
           (bounds 700.00 2500.00)
           (usingTiledLayer 1)
+          (contentsOpaque 1)
           (drawsContent 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
           (visible rect 0.00, 0.00 482.63 x 357.63)
index 4189290..ff0dcc8 100644 (file)
@@ -9,6 +9,7 @@ Tiled layer
         (GraphicsLayer
           (position 8.00 8.00)
           (bounds 800.00 2100.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
index 25f0b6f..34d75d8 100644 (file)
               (children 3
                 (GraphicsLayer
                   (bounds 200.00 200.00)
+                  (contentsOpaque 1)
                   (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [-100.00 0.00 0.00 1.00])
                   (visible rect 100.00, 0.00 100.00 x 200.00)
                 )
                 (GraphicsLayer
                   (bounds 200.00 200.00)
+                  (contentsOpaque 1)
                   (transform [0.71 0.71 0.00 0.00] [-0.71 0.71 0.00 0.00] [0.00 0.00 1.00 0.00] [150.00 0.00 0.00 1.00])
                   (visible rect 0.00, 0.00 200.00 x 200.00)
                 )
                 (GraphicsLayer
                   (bounds 200.00 200.00)
+                  (contentsOpaque 1)
                   (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [400.00 0.00 0.00 1.00])
                   (visible rect 0.00, 0.00 100.00 x 200.00)
                 )
index d2561d8..bc4d90b 100644 (file)
@@ -25,6 +25,7 @@
                   (children 1
                     (GraphicsLayer
                       (bounds 300.00 300.00)
+                      (contentsOpaque 1)
                       (transform [1.00 0.00 0.00 0.00] [0.00 0.91 0.42 0.00] [0.00 -0.42 0.91 0.00] [0.00 0.00 0.00 1.00])
                       (visible rect 0.00, 0.00 213.67 x 200.68)
                     )
@@ -52,6 +53,7 @@
                   (children 1
                     (GraphicsLayer
                       (bounds 300.00 300.00)
+                      (contentsOpaque 1)
                       (transform [0.91 0.00 0.42 0.00] [0.00 1.00 0.00 0.00] [-0.42 0.00 0.91 0.00] [0.00 0.00 0.00 1.00])
                       (visible rect 0.00, 0.00 200.68 x 213.67)
                     )
index f1e6a95..33430a2 100644 (file)
@@ -21,6 +21,7 @@
                 (GraphicsLayer
                   (anchor 0.20 0.20)
                   (bounds 500.00 500.00)
+                  (contentsOpaque 1)
                   (transform [1.00 0.00 0.00 0.00] [0.00 0.71 0.71 0.00] [0.00 -0.71 0.71 0.00] [0.00 0.00 0.00 1.00])
                   (visible rect 0.00, 0.00 220.62 x 218.46)
                 )
@@ -42,6 +43,7 @@
                 (GraphicsLayer
                   (anchor 0.20 0.20)
                   (bounds 500.00 500.00)
+                  (contentsOpaque 1)
                   (transform [0.71 0.00 0.71 0.00] [0.00 1.00 0.00 0.00] [-0.71 0.00 0.71 0.00] [0.00 0.00 0.00 1.00])
                   (visible rect 0.00, 0.00 218.46 x 220.62)
                 )
index 026bdbc..178a640 100644 (file)
@@ -19,6 +19,7 @@
               (children 1
                 (GraphicsLayer
                   (bounds 200.00 200.00)
+                  (contentsOpaque 1)
                   (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [-100.00 0.00 0.00 1.00])
                   (visible rect 100.00, 0.00 100.00 x 200.00)
                 )
index c90d910..76cf37f 100644 (file)
@@ -20,6 +20,7 @@
                 (GraphicsLayer
                   (position -100.00 0.00)
                   (bounds 200.00 200.00)
+                  (contentsOpaque 1)
                   (visible rect 100.00, 0.00 100.00 x 200.00)
                 )
               )
index d961790..aab9320 100644 (file)
         (GraphicsLayer
           (position -100.00 -120.00)
           (bounds 200.00 200.00)
+          (contentsOpaque 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
           (visible rect 100.00, 120.00 100.00 x 80.00)
         )
         (GraphicsLayer
           (position -100.00 200.00)
           (bounds 200.00 200.00)
+          (contentsOpaque 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
           (visible rect 100.00, 0.00 100.00 x 200.00)
         )
index 4f210a0..79fcaff 100644 (file)
                 (GraphicsLayer
                   (position -100.00 0.00)
                   (bounds 200.00 200.00)
+                  (contentsOpaque 1)
                   (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
                   (visible rect 100.00, 0.00 100.00 x 200.00)
                 )
                 (GraphicsLayer
                   (position 150.00 0.00)
                   (bounds 200.00 200.00)
+                  (contentsOpaque 1)
                   (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
                   (visible rect 0.00, 0.00 200.00 x 200.00)
                 )
                 (GraphicsLayer
                   (position 400.00 0.00)
                   (bounds 200.00 200.00)
+                  (contentsOpaque 1)
                   (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
                   (visible rect 0.00, 0.00 100.00 x 200.00)
                 )
index 084f5e2..b7c1f83 100644 (file)
@@ -37,6 +37,7 @@
                                 (GraphicsLayer
                                   (position 8.00 8.00)
                                   (bounds 100.00 300.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                   (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
                                   (visible rect 0.00, 0.00 100.00 x 127.00)
@@ -56,6 +57,7 @@
         (GraphicsLayer
           (position 8.00 226.00)
           (bounds 200.00 200.00)
+          (contentsOpaque 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
           (visible rect 0.00, 0.00 200.00 x 200.00)
         )
index f85c516..7a9f754 100644 (file)
@@ -11,6 +11,7 @@
         (GraphicsLayer
           (position 8.00 8.00)
           (bounds 100.00 300.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
           (visible rect 0.00, 0.00 100.00 x 127.00)
index aea2359..7b29e0f 100644 (file)
@@ -32,6 +32,7 @@
                       (children 1
                         (GraphicsLayer
                           (bounds 500.00 500.00)
+                          (contentsOpaque 1)
                           (transform [1.00 0.00 0.00 0.00] [0.00 0.82 0.57 0.00] [0.00 -0.57 0.82 0.00] [0.00 0.00 0.00 1.00])
                           (visible rect 0.00, 0.00 500.00 x 369.91)
                         )
@@ -67,6 +68,7 @@
                       (children 1
                         (GraphicsLayer
                           (bounds 500.00 500.00)
+                          (contentsOpaque 1)
                           (transform [1.00 0.00 0.00 0.00] [0.00 0.82 0.57 0.00] [0.00 -0.57 0.82 0.00] [0.00 0.00 0.00 1.00])
                           (visible rect 0.00, 0.00 500.00 x 351.87)
                         )
index 3bef6e1..2e090b1 100644 (file)
@@ -10,6 +10,7 @@
         (GraphicsLayer
           (position 8.00 0.00)
           (bounds 200.00 500.00)
+          (contentsOpaque 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
           (visible rect 17.00, 200.00 183.00 x 300.00)
         )
index 50b7c23..d1a4300 100644 (file)
@@ -13,6 +13,7 @@
             (GraphicsLayer
               (position 22.00 22.00)
               (bounds 100.00 100.00)
+              (contentsOpaque 1)
               (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
             )
           )
index b0ed42f..582b18e 100644 (file)
@@ -22,6 +22,7 @@
             (GraphicsLayer
               (position 490.00 110.00)
               (bounds 100.00 100.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
           )
index 8f823ee..53781ec 100644 (file)
         )
         (GraphicsLayer
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
         (GraphicsLayer
           (position 0.00 250.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
index 759f774..d9f60b9 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 50.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 759f774..d9f60b9 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 50.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 4012005..a402118 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 242.00 58.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index b0ed42f..582b18e 100644 (file)
@@ -22,6 +22,7 @@
             (GraphicsLayer
               (position 490.00 110.00)
               (bounds 100.00 100.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
           )
index 8f823ee..53781ec 100644 (file)
         )
         (GraphicsLayer
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
         (GraphicsLayer
           (position 0.00 250.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
index 759f774..d9f60b9 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 50.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 759f774..d9f60b9 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 50.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 4012005..a402118 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 242.00 58.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 759f774..d9f60b9 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 50.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 759f774..d9f60b9 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 50.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 4012005..a402118 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 242.00 58.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 759f774..d9f60b9 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 50.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 759f774..d9f60b9 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 50.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 4012005..a402118 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 242.00 58.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index d8a2aad..c5ce652 100644 (file)
@@ -48,6 +48,7 @@
                                                         (GraphicsLayer
                                                           (position 18.00 10.00)
                                                           (bounds 210.00 210.00)
+                                                          (contentsOpaque 1)
                                                           (drawsContent 1)
                                                         )
                                                       )
@@ -82,6 +83,7 @@
         (GraphicsLayer
           (position 18.00 202.00)
           (bounds 210.00 210.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [0.00 0.00 1.00 1.00])
         )
index 7dfd8fa..2cf7fe6 100644 (file)
@@ -9,6 +9,7 @@
         (GraphicsLayer
           (position 18.00 18.00)
           (bounds 206.00 126.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 3
             (GraphicsLayer
@@ -37,6 +38,7 @@
         (GraphicsLayer
           (position 248.00 18.00)
           (bounds 206.00 126.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 3
             (GraphicsLayer
index 9200a0b..633d707 100644 (file)
@@ -13,6 +13,7 @@
         (GraphicsLayer
           (position 8.00 41.00)
           (bounds 400.00 400.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (repaint rects
             (rect 0.00 0.00 400.00 400.00)
@@ -23,6 +24,7 @@
             (GraphicsLayer
               (position 50.00 50.00)
               (bounds 75.00 75.00)
+              (contentsOpaque 1)
               (drawsContent 1)
               (repaint rects
                 (rect 0.00 0.00 75.00 75.00)
index 83cc4d6..cfc159d 100644 (file)
@@ -10,11 +10,13 @@ From https://bugs.webkit.org/show_bug.cgi?id=44629. The parent is a tiled layer.
         (GraphicsLayer
           (position 8.00 68.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 1
             (GraphicsLayer
               (position 51.00 101.00)
               (bounds 200.00 4800.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
           )
index f5d5c0e..e494e16 100644 (file)
@@ -11,6 +11,7 @@ First (no children):
         (GraphicsLayer
           (position 8.00 86.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
@@ -30,11 +31,13 @@ Second (child added):
         (GraphicsLayer
           (position 8.00 86.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 1
             (GraphicsLayer
               (position 51.00 401.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
           )
@@ -56,6 +59,7 @@ Third (child removed):
         (GraphicsLayer
           (position 8.00 86.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
index a0f7a6f..3266549 100644 (file)
@@ -11,16 +11,19 @@ This is some text
         (GraphicsLayer
           (position 8.00 86.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 2
             (GraphicsLayer
               (position 51.00 101.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
             (GraphicsLayer
               (position 51.00 4701.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
           )
index b07bc5a..0dd5bcc 100644 (file)
@@ -11,16 +11,19 @@ First (small layer):
         (GraphicsLayer
           (position 8.00 68.00)
           (bounds 502.00 502.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 2
             (GraphicsLayer
               (position 51.00 101.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
             (GraphicsLayer
               (position 276.00 201.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
           )
@@ -42,16 +45,19 @@ Second (huge layer):
         (GraphicsLayer
           (position 8.00 68.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 2
             (GraphicsLayer
               (position 51.00 101.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
             (GraphicsLayer
               (position 276.00 4701.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
           )
@@ -73,16 +79,19 @@ Third (small layer):
         (GraphicsLayer
           (position 8.00 68.00)
           (bounds 502.00 502.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 2
             (GraphicsLayer
               (position 51.00 101.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
             (GraphicsLayer
               (position 276.00 201.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
           )
index 7dfd8fa..2cf7fe6 100644 (file)
@@ -9,6 +9,7 @@
         (GraphicsLayer
           (position 18.00 18.00)
           (bounds 206.00 126.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 3
             (GraphicsLayer
@@ -37,6 +38,7 @@
         (GraphicsLayer
           (position 248.00 18.00)
           (bounds 206.00 126.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 3
             (GraphicsLayer
index 7dfd8fa..2cf7fe6 100644 (file)
@@ -9,6 +9,7 @@
         (GraphicsLayer
           (position 18.00 18.00)
           (bounds 206.00 126.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 3
             (GraphicsLayer
@@ -37,6 +38,7 @@
         (GraphicsLayer
           (position 248.00 18.00)
           (bounds 206.00 126.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 3
             (GraphicsLayer
index 9200a0b..633d707 100644 (file)
@@ -13,6 +13,7 @@
         (GraphicsLayer
           (position 8.00 41.00)
           (bounds 400.00 400.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (repaint rects
             (rect 0.00 0.00 400.00 400.00)
@@ -23,6 +24,7 @@
             (GraphicsLayer
               (position 50.00 50.00)
               (bounds 75.00 75.00)
+              (contentsOpaque 1)
               (drawsContent 1)
               (repaint rects
                 (rect 0.00 0.00 75.00 75.00)
index 759f774..d9f60b9 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 50.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 759f774..d9f60b9 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 50.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 4012005..a402118 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 242.00 58.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index f5d5c0e..e494e16 100644 (file)
@@ -11,6 +11,7 @@ First (no children):
         (GraphicsLayer
           (position 8.00 86.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
@@ -30,11 +31,13 @@ Second (child added):
         (GraphicsLayer
           (position 8.00 86.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 1
             (GraphicsLayer
               (position 51.00 401.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
           )
@@ -56,6 +59,7 @@ Third (child removed):
         (GraphicsLayer
           (position 8.00 86.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
index a0f7a6f..3266549 100644 (file)
@@ -11,16 +11,19 @@ This is some text
         (GraphicsLayer
           (position 8.00 86.00)
           (bounds 502.00 5002.00)
+          (contentsOpaque 1)
           (drawsContent 1)
           (children 2
             (GraphicsLayer
               (position 51.00 101.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
             (GraphicsLayer
               (position 51.00 4701.00)
               (bounds 200.00 200.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
           )
index b0ed42f..582b18e 100644 (file)
@@ -22,6 +22,7 @@
             (GraphicsLayer
               (position 490.00 110.00)
               (bounds 100.00 100.00)
+              (contentsOpaque 1)
               (drawsContent 1)
             )
           )
index 8f823ee..53781ec 100644 (file)
         )
         (GraphicsLayer
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
         (GraphicsLayer
           (position 0.00 250.00)
           (bounds 100.00 100.00)
+          (contentsOpaque 1)
           (drawsContent 1)
         )
       )
index 759f774..d9f60b9 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 50.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 759f774..d9f60b9 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 50.00 50.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)
                                 )
                               )
index 4012005..a402118 100644 (file)
@@ -26,6 +26,7 @@
                                 (GraphicsLayer
                                   (position 242.00 58.00)
                                   (bounds 100.00 100.00)
+                                  (contentsOpaque 1)
                                   (drawsContent 1)