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