Index: LayoutTests/fast/repaint/remove-after-layout.html |
diff --git a/LayoutTests/fast/repaint/remove-after-layout.html b/LayoutTests/fast/repaint/remove-after-layout.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..58b45ceb914fb23cf4df0e20c1df9071514c0b7a |
--- /dev/null |
+++ b/LayoutTests/fast/repaint/remove-after-layout.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<script src="resources/text-based-repaint.js"></script> |
+<script> |
+function repaintTest() { |
+ var target = document.getElementById('target'); |
+ target.style.left = '200px'; |
+ target.offsetLeft; |
+ target.parentNode.removeChild(target); |
+} |
+window.onload = runRepaintTest; |
+</script> |
+<div id="target" style="position: absolute; width: 100px; height: 100px; background-color: red"> |
+ This div should disappear. |
+</div> |