| OLD | NEW |
| 1 <!doctype HTML> | 1 <!doctype HTML> |
| 2 Any errors will show below this line. | 2 Any errors will show below this line. |
| 3 <div id="target" style="position: absolute; width: 200px; height: 200px; will-ch
ange: transform; background: lightblue; mix-blend-mode: overlay;"></div> | 3 <div id="target" style="position: absolute; width: 200px; height: 200px; will-ch
ange: transform; background: lightblue; mix-blend-mode: overlay;"></div> |
| 4 <div style="position: absolute; width: 200px; height: 200px; top: 100px; left: 1
00px; background: lightgray"></div> | 4 <div style="position: absolute; width: 200px; height: 200px; top: 100px; left: 1
00px; background: lightgray"></div> |
| 5 <script src="../../resources/testharness.js"></script> | 5 <script src="../../resources/testharness.js"></script> |
| 6 <script> | 6 <script> |
| 7 if (window.testRunner) | 7 if (window.testRunner) |
| 8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
| 9 onload = function() { | 9 onload = function() { |
| 10 if (window.internals) { | 10 if (window.internals) { |
| 11 var layers = JSON.parse(internals.layerTreeAsText(document, 1)); | 11 var layers = JSON.parse(internals.layerTreeAsText(document, internals.LA
YER_TREE_INCLUDES_DEBUG_INFO)); |
| 12 assert_true(layers.children[0].children[0].children[1].compositingReason
s[1] == "Squashing a layer with blending is not supported."); | 12 assert_true(layers.children[0].children[0].children[1].compositingReason
s[1] == "Layer was separately composited because it could not be squashed."); |
| 13 assert_true(layers.children[0].children[0].children[1].squashingDisallow
edReasons[0] == "Squashing a layer with blending is not supported."); |
| 13 } | 14 } |
| 14 }; | 15 }; |
| 15 </script> | 16 </script> |
| OLD | NEW |