1 <!-- Based on compositing/squashing/tricky-element-removal-crash.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">
9 window
.expectedPaintInvalidationObjects
= [
10 "LayoutBlockFlow DIV id='target'",
12 function paintInvalidationTest() {
13 document
.querySelector('#target').remove();
16 runPaintInvalidationTest();