| Index: LayoutTests/css3/compositing/should-have-compositing-layer.html
|
| diff --git a/LayoutTests/css3/compositing/should-have-compositing-layer.html b/LayoutTests/css3/compositing/should-have-compositing-layer.html
|
| index 3bed190dc86f4e5214b42bd6d00039249c3efd67..c1f3219f7791feed4b855e76109e882caf85b178 100644
|
| --- a/LayoutTests/css3/compositing/should-have-compositing-layer.html
|
| +++ b/LayoutTests/css3/compositing/should-have-compositing-layer.html
|
| @@ -3,28 +3,21 @@
|
| <head>
|
| <script src="../../fast/js/resources/js-test-pre.js"></script>
|
| </head>
|
| +<body>
|
| +<img style="mix-blend-mode: multiply;" src="resources/reference.png">
|
| <script>
|
| - if (window.testRunner) {
|
| - testRunner.dumpAsText();
|
| - testRunner.waitUntilDone();
|
| - }
|
| -
|
| - function doTest()
|
| - {
|
| - description("Test to make sure a blend mode creates a compositing layer. Test is successful of render tree shows compositing");
|
| - if (window.testRunner) {
|
| - var layers = window.internals.layerTreeAsText(document);
|
| - if (layers == "")
|
| - testFailed("no compositing layers");
|
| - else
|
| - testPassed("content has compositing layers");
|
| - document.getElementById("layertree").innerText = layers;
|
| - testRunner.notifyDone();
|
| - }
|
| - }
|
| -
|
| - window.addEventListener('load', doTest, false);
|
| -
|
| + description("Test to make sure a blend mode creates a compositing layer. Test is successful of render tree shows compositing");
|
| + if (window.testRunner) {
|
| + var layers = window.internals.layerTreeAsText(document);
|
| + if (layers == "")
|
| + testFailed("no compositing layers");
|
| + else
|
| + testPassed("content has compositing layers");
|
| + testRunner.notifyDone();
|
| + }
|
| + successfullyParsed = true;
|
| </script>
|
| -<img style="mix-blend-mode: multiply;" src="resources/reference.png">
|
| -<pre id="layertree"></pre>
|
| +<script src="../../fast/js/resources/js-test-post.js"></script>
|
| +</body>
|
| +</html>
|
| +
|
|
|