Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/tricky-element-removal-crash.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698