| <title>Test that switching to tiled layers when the parent is a tiled layer does not crash</title> |
| <style type="text/css" media="screen"> |
| background-color: yellow; |
| -webkit-transform:translateZ(0); |
| -webkit-transform:translateZ(0); |
| <script type="text/javascript" charset="utf-8"> |
| if (window.layoutTestController) { |
| layoutTestController.dumpAsText(); |
| layoutTestController.waitUntilDone(); |
| window.setTimeout(function() { |
| document.getElementById('box').style.height = "4800px"; |
| window.setTimeout(function() { |
| if (window.layoutTestController) { |
| document.getElementById('layers').innerHTML = layoutTestController.layerTreeAsText(); |
| layoutTestController.notifyDone(); |
| window.addEventListener('load', testOnLoad, false); |
| From https://bugs.webkit.org/show_bug.cgi?id=44629. The parent is a tiled layer. |
| When the child is a non-tiled layer and it is switched to a tiled layer, a crash |
| occurs. This test should not crash. |
| <pre id="layers">Layer tree appears here in DRT.</pre> |