Chromium Code Reviews| Index: LayoutTests/fast/repaint/remove-block-after-layout.html |
| diff --git a/LayoutTests/fast/repaint/remove-block-after-layout.html b/LayoutTests/fast/repaint/remove-block-after-layout.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..235b2c1abd5af08e620c2f3e1f4e70b3e5785e71 |
| --- /dev/null |
| +++ b/LayoutTests/fast/repaint/remove-block-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); |
| +} |
| +onload = runRepaintTest; |
| +</script> |
|
Julien - ping for review
2014/07/28 16:57:05
Please let's add a description of what we are test
Xianzhu
2014/07/28 17:32:31
Done.
|
| +<div id="target" style="position: absolute; width: 100px; height: 100px; background-color: red"> |
| + This div should disappear. |
| +</div> |