Index: third_party/WebKit/LayoutTests/paint/invalidation/compositing/tricky-element-removal-crash.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/tricky-element-removal-crash.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/tricky-element-removal-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7a2153b4a3b0a303408f3dfb1b4bb2d58e511642 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/tricky-element-removal-crash.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<script src="../resources/text-based-repaint.js"></script> |
+<div style="width: 200px; height: 200px; transform: translateZ(0); background-color: salmon;"></div> |
+<div style="position: absolute; z-index: 0; top: 8px; width: 100px; height: 100px"> |
+ <div id="target" style="width: 100px; height: 100px; transform: translateZ(0); background-color: blue"> |
+</div> |
+<script> |
+function repaintTest() { |
+ document.querySelector('#target').remove(); |
+} |
+ |
+runRepaintAndPixelTest(); |
+</script> |