Diff
Modified: trunk/LayoutTests/ChangeLog (251272 => 251273)
--- trunk/LayoutTests/ChangeLog 2019-10-18 02:27:01 UTC (rev 251272)
+++ trunk/LayoutTests/ChangeLog 2019-10-18 04:24:09 UTC (rev 251273)
@@ -1,5 +1,23 @@
2019-10-17 Simon Fraser <[email protected]>
+ Only include "deep color" in layer tree dumps if a tests requests it
+ https://bugs.webkit.org/show_bug.cgi?id=203125
+
+ Reviewed by Tim Horton.
+
+ * TestExpectations:
+ * compositing/contents-format/deep-color-backing-store-expected.txt: Copied from LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color-expected.txt.
+ * compositing/contents-format/deep-color-backing-store.html: Copied from LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color.html.
+ * compositing/contents-format/ipad/deep-color-backing-store-expected.txt: Copied from LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color-expected.txt.
+ * compositing/contents-format/ipad/deep-color-backing-store.html: Copied from LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color.html.
+ * compositing/contents-format/iphone-7/deep-color-backing-store-expected.txt: Copied from LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color-expected.txt.
+ * compositing/contents-format/iphone-7/deep-color-backing-store.html: Renamed from LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color.html.
+ * platform/ipad/TestExpectations:
+ * platform/iphone-7/TestExpectations: Added.
+ * platform/mac-wk1/compositing/contents-format/deep-color-backing-store-expected.txt: Renamed from LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color-expected.txt.
+
+2019-10-17 Simon Fraser <[email protected]>
+
REGRESSION (r243347) Layout tests fast/events/touch/ios/drag-block-without-overflow-scroll-and-passive-observer-on* are flakey
https://bugs.webkit.org/show_bug.cgi?id=203122
rdar://problem/50058173
Modified: trunk/LayoutTests/TestExpectations (251272 => 251273)
--- trunk/LayoutTests/TestExpectations 2019-10-18 02:27:01 UTC (rev 251272)
+++ trunk/LayoutTests/TestExpectations 2019-10-18 04:24:09 UTC (rev 251273)
@@ -7,6 +7,8 @@
#//////////////////////////////////////////////////////////////////////////////////////////
compositing/ios [ Skip ]
+compositing/contents-format/ipad [ Skip ]
+compositing/contents-format/iphone-7 [ Skip ]
css3/touch-action [ Skip ]
accessibility/ios-simulator [ Skip ]
accessibility/gtk [ Skip ]
Copied: trunk/LayoutTests/compositing/contents-format/deep-color-backing-store-expected.txt (from rev 251272, trunk/LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color-expected.txt) (0 => 251273)
--- trunk/LayoutTests/compositing/contents-format/deep-color-backing-store-expected.txt (rev 0)
+++ trunk/LayoutTests/compositing/contents-format/deep-color-backing-store-expected.txt 2019-10-18 04:24:09 UTC (rev 251273)
@@ -0,0 +1,36 @@
+Box
+Box
+(GraphicsLayer
+ (anchor 0.00 0.00)
+ (bounds 5018.00 2018.00)
+ (children 1
+ (GraphicsLayer
+ (bounds 5018.00 2018.00)
+ (contentsOpaque 1)
+ (tile cache coverage 0, 0 1024 x 1024)
+ (tile size 512 x 512)
+ (top left tile 0, 0 tiles grid 2 x 2)
+ (in window 1)
+ (children 2
+ (GraphicsLayer
+ (position 18.00 10.00)
+ (bounds 100.00 100.00)
+ (contentsOpaque 1)
+ (drawsContent 1)
+ )
+ (GraphicsLayer
+ (position 18.00 120.00)
+ (bounds 5000.00 100.00)
+ (usingTiledLayer 1)
+ (contentsOpaque 1)
+ (drawsContent 1)
+ (tile cache coverage 0, 0 1024 x 100)
+ (tile size 512 x 512)
+ (top left tile 0, 0 tiles grid 2 x 1)
+ (in window 1)
+ )
+ )
+ )
+ )
+)
+
Copied: trunk/LayoutTests/compositing/contents-format/deep-color-backing-store.html (from rev 251272, trunk/LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color.html) (0 => 251273)
--- trunk/LayoutTests/compositing/contents-format/deep-color-backing-store.html (rev 0)
+++ trunk/LayoutTests/compositing/contents-format/deep-color-backing-store.html 2019-10-18 04:24:09 UTC (rev 251273)
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+ <style>
+ body {
+ height: 2000px;
+ }
+
+ .box {
+ height: 100px;
+ width: 100px;
+ background-color: blue;
+ margin: 10px;
+ }
+
+ .composited {
+ transform: translateZ(0);
+ }
+
+ .tiled {
+ width: 5000px;
+ }
+ </style>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ function doTest()
+ {
+ if (window.internals)
+ document.getElementById('layers').innerText = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_TILE_CACHES | internals.LAYER_TREE_INCLUDES_DEEP_COLOR);
+ }
+ window.addEventListener('load', doTest, false);
+ </script>
+</head>
+<body>
+
+<div class="composited box">
+ Box
+</div>
+
+<div class="tiled composited box">
+ Box
+</div>
+
+<pre id="layers"></pre>
+</body>
+</html>
Copied: trunk/LayoutTests/compositing/contents-format/ipad/deep-color-backing-store-expected.txt (from rev 251272, trunk/LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color-expected.txt) (0 => 251273)
--- trunk/LayoutTests/compositing/contents-format/ipad/deep-color-backing-store-expected.txt (rev 0)
+++ trunk/LayoutTests/compositing/contents-format/ipad/deep-color-backing-store-expected.txt 2019-10-18 04:24:09 UTC (rev 251273)
@@ -0,0 +1,36 @@
+Box
+Box
+(GraphicsLayer
+ (anchor 0.00 0.00)
+ (bounds 5018.00 2018.00)
+ (children 1
+ (GraphicsLayer
+ (bounds 5018.00 2018.00)
+ (contentsOpaque 1)
+ (tile cache coverage 0, 0 1024 x 1024)
+ (tile size 512 x 512)
+ (top left tile 0, 0 tiles grid 2 x 2)
+ (in window 1)
+ (children 2
+ (GraphicsLayer
+ (position 18.00 10.00)
+ (bounds 100.00 100.00)
+ (contentsOpaque 1)
+ (drawsContent 1)
+ )
+ (GraphicsLayer
+ (position 18.00 120.00)
+ (bounds 5000.00 100.00)
+ (usingTiledLayer 1)
+ (contentsOpaque 1)
+ (drawsContent 1)
+ (tile cache coverage 0, 0 1024 x 100)
+ (tile size 512 x 512)
+ (top left tile 0, 0 tiles grid 2 x 1)
+ (in window 1)
+ )
+ )
+ )
+ )
+)
+
Copied: trunk/LayoutTests/compositing/contents-format/ipad/deep-color-backing-store.html (from rev 251272, trunk/LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color.html) (0 => 251273)
--- trunk/LayoutTests/compositing/contents-format/ipad/deep-color-backing-store.html (rev 0)
+++ trunk/LayoutTests/compositing/contents-format/ipad/deep-color-backing-store.html 2019-10-18 04:24:09 UTC (rev 251273)
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+ <style>
+ body {
+ height: 2000px;
+ }
+
+ .box {
+ height: 100px;
+ width: 100px;
+ background-color: blue;
+ margin: 10px;
+ }
+
+ .composited {
+ transform: translateZ(0);
+ }
+
+ .tiled {
+ width: 5000px;
+ }
+ </style>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ function doTest()
+ {
+ if (window.internals)
+ document.getElementById('layers').innerText = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_TILE_CACHES | internals.LAYER_TREE_INCLUDES_DEEP_COLOR);
+ }
+ window.addEventListener('load', doTest, false);
+ </script>
+</head>
+<body>
+
+<div class="composited box">
+ Box
+</div>
+
+<div class="tiled composited box">
+ Box
+</div>
+
+<pre id="layers"></pre>
+</body>
+</html>
Copied: trunk/LayoutTests/compositing/contents-format/iphone-7/deep-color-backing-store-expected.txt (from rev 251272, trunk/LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color-expected.txt) (0 => 251273)
--- trunk/LayoutTests/compositing/contents-format/iphone-7/deep-color-backing-store-expected.txt (rev 0)
+++ trunk/LayoutTests/compositing/contents-format/iphone-7/deep-color-backing-store-expected.txt 2019-10-18 04:24:09 UTC (rev 251273)
@@ -0,0 +1,40 @@
+Box
+Box
+(GraphicsLayer
+ (anchor 0.00 0.00)
+ (bounds 5018.00 2018.00)
+ (deep color 1)
+ (children 1
+ (GraphicsLayer
+ (bounds 5018.00 2018.00)
+ (contentsOpaque 1)
+ (tile cache coverage 0, 0 1024 x 1024)
+ (tile size 512 x 512)
+ (top left tile 0, 0 tiles grid 2 x 2)
+ (in window 1)
+ (deep color 1)
+ (children 2
+ (GraphicsLayer
+ (position 18.00 10.00)
+ (bounds 100.00 100.00)
+ (contentsOpaque 1)
+ (drawsContent 1)
+ (deep color 1)
+ )
+ (GraphicsLayer
+ (position 18.00 120.00)
+ (bounds 5000.00 100.00)
+ (usingTiledLayer 1)
+ (contentsOpaque 1)
+ (drawsContent 1)
+ (tile cache coverage 0, 0 1024 x 100)
+ (tile size 512 x 512)
+ (top left tile 0, 0 tiles grid 2 x 1)
+ (in window 1)
+ (deep color 1)
+ )
+ )
+ )
+ )
+)
+
Copied: trunk/LayoutTests/compositing/contents-format/iphone-7/deep-color-backing-store.html (from rev 251272, trunk/LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color.html) (0 => 251273)
--- trunk/LayoutTests/compositing/contents-format/iphone-7/deep-color-backing-store.html (rev 0)
+++ trunk/LayoutTests/compositing/contents-format/iphone-7/deep-color-backing-store.html 2019-10-18 04:24:09 UTC (rev 251273)
@@ -0,0 +1,49 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+ <style>
+ body {
+ height: 2000px;
+ }
+
+ .box {
+ height: 100px;
+ width: 100px;
+ background-color: blue;
+ margin: 10px;
+ }
+
+ .composited {
+ transform: translateZ(0);
+ }
+
+ .tiled {
+ width: 5000px;
+ }
+ </style>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ function doTest()
+ {
+ if (window.internals)
+ document.getElementById('layers').innerText = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_TILE_CACHES | internals.LAYER_TREE_INCLUDES_DEEP_COLOR);
+ }
+ window.addEventListener('load', doTest, false);
+ </script>
+</head>
+<body>
+
+<div class="composited box">
+ Box
+</div>
+
+<div class="tiled composited box">
+ Box
+</div>
+
+<pre id="layers"></pre>
+</body>
+</html>
Modified: trunk/LayoutTests/platform/ipad/TestExpectations (251272 => 251273)
--- trunk/LayoutTests/platform/ipad/TestExpectations 2019-10-18 02:27:01 UTC (rev 251272)
+++ trunk/LayoutTests/platform/ipad/TestExpectations 2019-10-18 04:24:09 UTC (rev 251273)
@@ -2,6 +2,8 @@
css-dark-mode [ Pass ]
css-dark-mode/older-systems [ Skip ]
+compositing/contents-format/ipad [ Pass ]
+
# iPads don't zoom when form elements are focused
fast/visual-viewport/ios/caret-after-focus-in-fixed.html [ Skip ]
Added: trunk/LayoutTests/platform/iphone-7/TestExpectations (0 => 251273)
--- trunk/LayoutTests/platform/iphone-7/TestExpectations (rev 0)
+++ trunk/LayoutTests/platform/iphone-7/TestExpectations 2019-10-18 04:24:09 UTC (rev 251273)
@@ -0,0 +1 @@
+compositing/contents-format/iphone-7 [ Pass ]
Deleted: trunk/LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color-expected.txt (251272 => 251273)
--- trunk/LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color-expected.txt 2019-10-18 02:27:01 UTC (rev 251272)
+++ trunk/LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color-expected.txt 2019-10-18 04:24:09 UTC (rev 251273)
@@ -1,40 +0,0 @@
-Box
-Box
-(GraphicsLayer
- (anchor 0.00 0.00)
- (bounds 5018.00 2018.00)
- (deep color 1)
- (children 1
- (GraphicsLayer
- (bounds 5018.00 2018.00)
- (contentsOpaque 1)
- (tile cache coverage 0, 0 1024 x 1024)
- (tile size 512 x 512)
- (top left tile 0, 0 tiles grid 2 x 2)
- (in window 1)
- (deep color 1)
- (children 2
- (GraphicsLayer
- (position 18.00 10.00)
- (bounds 100.00 100.00)
- (contentsOpaque 1)
- (drawsContent 1)
- (deep color 1)
- )
- (GraphicsLayer
- (position 18.00 120.00)
- (bounds 5000.00 100.00)
- (usingTiledLayer 1)
- (contentsOpaque 1)
- (drawsContent 1)
- (tile cache coverage 0, 0 1024 x 100)
- (tile size 512 x 512)
- (top left tile 0, 0 tiles grid 2 x 1)
- (in window 1)
- (deep color 1)
- )
- )
- )
- )
-)
-
Deleted: trunk/LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color.html (251272 => 251273)
--- trunk/LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color.html 2019-10-18 02:27:01 UTC (rev 251272)
+++ trunk/LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color.html 2019-10-18 04:24:09 UTC (rev 251273)
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-
-<html>
-<head>
- <style>
- body {
- height: 2000px;
- }
-
- .box {
- height: 100px;
- width: 100px;
- background-color: blue;
- margin: 10px;
- }
-
- .composited {
- transform: translateZ(0);
- }
-
- .tiled {
- width: 5000px;
- }
- </style>
- <script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- function doTest()
- {
- if (window.internals)
- document.getElementById('layers').innerText = internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_TILE_CACHES);
- }
- window.addEventListener('load', doTest, false);
- </script>
-</head>
-<body>
-
-<div class="composited box">
- Box
-</div>
-
-<div class="tiled composited box">
- Box
-</div>
-
-<pre id="layers"></pre>
-</body>
-</html>
Copied: trunk/LayoutTests/platform/mac-wk1/compositing/contents-format/deep-color-backing-store-expected.txt (from rev 251272, trunk/LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color-expected.txt) (0 => 251273)
--- trunk/LayoutTests/platform/mac-wk1/compositing/contents-format/deep-color-backing-store-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/mac-wk1/compositing/contents-format/deep-color-backing-store-expected.txt 2019-10-18 04:24:09 UTC (rev 251273)
@@ -0,0 +1,32 @@
+Box
+Box
+(GraphicsLayer
+ (anchor 0.00 0.00)
+ (bounds 5018.00 2018.00)
+ (children 1
+ (GraphicsLayer
+ (bounds 5018.00 2018.00)
+ (contentsOpaque 1)
+ (children 2
+ (GraphicsLayer
+ (position 18.00 10.00)
+ (bounds 100.00 100.00)
+ (contentsOpaque 1)
+ (drawsContent 1)
+ )
+ (GraphicsLayer
+ (position 18.00 120.00)
+ (bounds 5000.00 100.00)
+ (usingTiledLayer 1)
+ (contentsOpaque 1)
+ (drawsContent 1)
+ (tile cache coverage 0, 0 1024 x 100)
+ (tile size 512 x 512)
+ (top left tile 0, 0 tiles grid 2 x 1)
+ (in window 1)
+ )
+ )
+ )
+ )
+)
+
Modified: trunk/Source/WebCore/ChangeLog (251272 => 251273)
--- trunk/Source/WebCore/ChangeLog 2019-10-18 02:27:01 UTC (rev 251272)
+++ trunk/Source/WebCore/ChangeLog 2019-10-18 04:24:09 UTC (rev 251273)
@@ -1,3 +1,29 @@
+2019-10-17 Simon Fraser <[email protected]>
+
+ Only include "deep color" in layer tree dumps if a tests requests it
+ https://bugs.webkit.org/show_bug.cgi?id=203125
+
+ Reviewed by Tim Horton.
+
+ Layer tree dumping tests can fail when run on different devices because the "deep color"
+ property on layers is device-dependent. Stop dumping this by default, and have one test
+ that sets the bit. iphone-7 is the only device we test that has deep color support.
+
+ Tests: compositing/contents-format/deep-color-backing-store.html
+ compositing/contents-format/ipad/deep-color-backing-store.html
+ compositing/contents-format/iphone-7/deep-color-backing-store.html
+
+ * page/Frame.h:
+ * platform/graphics/GraphicsLayerClient.h:
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::layerTreeAsText):
+ * testing/Internals.cpp:
+ (WebCore::toLayerTreeFlags):
+ * testing/Internals.h:
+ * testing/Internals.idl:
+
2019-10-17 Dean Jackson <[email protected]>
ctx.font = "" asserts in CSS parser
Modified: trunk/Source/WebCore/page/Frame.h (251272 => 251273)
--- trunk/Source/WebCore/page/Frame.h 2019-10-18 02:27:01 UTC (rev 251272)
+++ trunk/Source/WebCore/page/Frame.h 2019-10-18 04:24:09 UTC (rev 251273)
@@ -117,6 +117,7 @@
LayerTreeFlagsIncludeBackingStoreAttached = 1 << 8,
LayerTreeFlagsIncludeRootLayerProperties = 1 << 9,
LayerTreeFlagsIncludeEventRegion = 1 << 10,
+ LayerTreeFlagsIncludeDeepColor = 1 << 11,
};
typedef unsigned LayerTreeFlags;
Modified: trunk/Source/WebCore/platform/graphics/GraphicsLayerClient.h (251272 => 251273)
--- trunk/Source/WebCore/platform/graphics/GraphicsLayerClient.h 2019-10-18 02:27:01 UTC (rev 251272)
+++ trunk/Source/WebCore/platform/graphics/GraphicsLayerClient.h 2019-10-18 04:24:09 UTC (rev 251273)
@@ -74,6 +74,7 @@
LayerTreeAsTextIncludeBackingStoreAttached = 1 << 9,
LayerTreeAsTextIncludeRootLayerProperties = 1 << 10,
LayerTreeAsTextIncludeEventRegion = 1 << 11,
+ LayerTreeAsTextIncludeDeepColor = 1 << 12,
LayerTreeAsTextShowAll = 0xFFFF
};
typedef unsigned LayerTreeAsTextBehavior;
Modified: trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp (251272 => 251273)
--- trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp 2019-10-18 02:27:01 UTC (rev 251272)
+++ trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp 2019-10-18 04:24:09 UTC (rev 251273)
@@ -3753,7 +3753,7 @@
textStream << indent << "(in window " << tiledBacking()->isInWindow() << ")\n";
}
- if (m_layer->wantsDeepColorBackingStore())
+ if ((behavior & LayerTreeAsTextIncludeDeepColor) && m_layer->wantsDeepColorBackingStore())
textStream << indent << "(deep color 1)\n";
if (behavior & LayerTreeAsTextIncludeContentLayers) {
Modified: trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp (251272 => 251273)
--- trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp 2019-10-18 02:27:01 UTC (rev 251272)
+++ trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp 2019-10-18 04:24:09 UTC (rev 251273)
@@ -2137,6 +2137,8 @@
layerTreeBehavior |= LayerTreeAsTextIncludeRootLayerProperties;
if (flags & LayerTreeFlagsIncludeEventRegion)
layerTreeBehavior |= LayerTreeAsTextIncludeEventRegion;
+ if (flags & LayerTreeFlagsIncludeDeepColor)
+ layerTreeBehavior |= LayerTreeAsTextIncludeDeepColor;
// We skip dumping the scroll and clip layers to keep layerTreeAsText output
// similar between platforms.
Modified: trunk/Source/WebCore/testing/Internals.cpp (251272 => 251273)
--- trunk/Source/WebCore/testing/Internals.cpp 2019-10-18 02:27:01 UTC (rev 251272)
+++ trunk/Source/WebCore/testing/Internals.cpp 2019-10-18 04:24:09 UTC (rev 251273)
@@ -2626,6 +2626,8 @@
layerTreeFlags |= LayerTreeFlagsIncludeRootLayerProperties;
if (flags & Internals::LAYER_TREE_INCLUDES_EVENT_REGION)
layerTreeFlags |= LayerTreeFlagsIncludeEventRegion;
+ if (flags & Internals::LAYER_TREE_INCLUDES_DEEP_COLOR)
+ layerTreeFlags |= LayerTreeFlagsIncludeDeepColor;
return layerTreeFlags;
}
Modified: trunk/Source/WebCore/testing/Internals.h (251272 => 251273)
--- trunk/Source/WebCore/testing/Internals.h 2019-10-18 02:27:01 UTC (rev 251272)
+++ trunk/Source/WebCore/testing/Internals.h 2019-10-18 04:24:09 UTC (rev 251273)
@@ -371,6 +371,7 @@
LAYER_TREE_INCLUDES_BACKING_STORE_ATTACHED = 128,
LAYER_TREE_INCLUDES_ROOT_LAYER_PROPERTIES = 256,
LAYER_TREE_INCLUDES_EVENT_REGION = 512,
+ LAYER_TREE_INCLUDES_DEEP_COLOR = 1024,
};
ExceptionOr<String> layerTreeAsText(Document&, unsigned short flags) const;
ExceptionOr<uint64_t> layerIDForElement(Element&);
Modified: trunk/Source/WebCore/testing/Internals.idl (251272 => 251273)
--- trunk/Source/WebCore/testing/Internals.idl 2019-10-18 02:27:01 UTC (rev 251272)
+++ trunk/Source/WebCore/testing/Internals.idl 2019-10-18 04:24:09 UTC (rev 251273)
@@ -398,6 +398,7 @@
const unsigned short LAYER_TREE_INCLUDES_BACKING_STORE_ATTACHED = 128;
const unsigned short LAYER_TREE_INCLUDES_ROOT_LAYER_PROPERTIES = 256;
const unsigned short LAYER_TREE_INCLUDES_EVENT_REGION = 512;
+ const unsigned short LAYER_TREE_INCLUDES_DEEP_COLOR = 1024;
[MayThrowException] DOMString layerTreeAsText(Document document, optional unsigned short flags = 0);
[MayThrowException] unsigned long long layerIDForElement(Element element);