| Index: LayoutTests/fast/repaint/box-shadow-change-repaint.html
|
| diff --git a/LayoutTests/fast/repaint/box-shadow-change-repaint.html b/LayoutTests/fast/repaint/box-shadow-change-repaint.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..54a771d90d8caa5910e769ae5f86143c95eebaf8
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/repaint/box-shadow-change-repaint.html
|
| @@ -0,0 +1,14 @@
|
| +<!DOCTYPE HTML>
|
| +<script src="resources/text-based-repaint.js"></script>
|
| +<script>
|
| + function repaintTest()
|
| + {
|
| + // Adding box-shadow will cause a repaint but no layout.
|
| + document.getElementById("test").style['box-shadow'] = '5px 5px 5px rgba(0,0,0,0.3)';
|
| + }
|
| + window.onload = runRepaintTest;
|
| +</script>
|
| +<div id="test" style="background-color: green; width: 100px; height: 100px; box-shadow: 10px 10px 10px rgba(0,0,0,0.3);"></div>
|
| +<p>
|
| +Tests the repainting of box shadows when changed.
|
| +</p>
|
|
|