Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / tricky-element-removal-crash.html
blobdbee4dafe8f3d14e6dffe1909e0f295658ed7108
1 <!-- Based on compositing/squashing/tricky-element-removal-crash.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <div style="width: 200px; height: 200px; transform: translateZ(0); background-color: salmon;"></div>
5 <div style="position: absolute; z-index: 0; top: 8px; width: 100px; height: 100px">
6 <div id="target" style="width: 100px; height: 100px; transform: translateZ(0); background-color: blue">
7 </div>
8 <script>
9 window.expectedPaintInvalidationObjects = [
10 "LayoutBlockFlow DIV id='target'",
12 function paintInvalidationTest() {
13 document.querySelector('#target').remove();
16 runPaintInvalidationTest();
17 </script>