| Index: LayoutTests/fast/repaint/absolute-display-block-to-none.html
|
| diff --git a/LayoutTests/fast/repaint/absolute-display-block-to-none.html b/LayoutTests/fast/repaint/absolute-display-block-to-none.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2d0fac312ab453d1e603e68de9fbccd76407db07
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/repaint/absolute-display-block-to-none.html
|
| @@ -0,0 +1,10 @@
|
| +<!DOCTYPE html>
|
| +<script src="resources/text-based-repaint.js"></script>
|
| +<script>
|
| +function repaintTest() {
|
| + document.getElementById('absolute').style.display = 'none';
|
| +}
|
| +onload = runRepaintTest;
|
| +</script>
|
| +When an absolute positioned element is set display:none, we should not invalidate the whole body.
|
| +<div id="absolute" style="position: absolute; width: 100px; height: 100px; top: 100px; left: 100px; background-color: red"></div>
|
|
|