| Index: LayoutTests/fast/repaint/box-sizing.html
|
| diff --git a/LayoutTests/fast/repaint/box-sizing.html b/LayoutTests/fast/repaint/box-sizing.html
|
| index bcc83feaf478ac70a76ad4859704ba6815fe426b..7ebea8bf61f40617208c0243d9f8b684778bc004 100644
|
| --- a/LayoutTests/fast/repaint/box-sizing.html
|
| +++ b/LayoutTests/fast/repaint/box-sizing.html
|
| @@ -3,7 +3,8 @@
|
| <script>
|
| function repaintTest()
|
| {
|
| - document.getElementById('target').style.boxSizing = 'content-box';
|
| + document.getElementById('target1').className = 'content-box';
|
| + document.getElementById('target2').className = 'border-box';
|
| }
|
| window.onload = runRepaintTest;
|
| </script>
|
| @@ -11,12 +12,19 @@ window.onload = runRepaintTest;
|
| body {
|
| margin: 0;
|
| }
|
| -#target {
|
| - border: solid blue 20px;
|
| +div {
|
| width: 50%;
|
| height: 100px;
|
| - box-sizing: border-box;
|
| position: absolute;
|
| + background-color: green;
|
| + border: blue solid 20px;
|
| +}
|
| +.border-box {
|
| + box-sizing: border-box;
|
| +}
|
| +.content-box {
|
| + box-sizing: content-box;
|
| }
|
| </style>
|
| -<div id="target"></div>
|
| +<div id="target1" class="border-box" style="top: 0px"></div>
|
| +<div id="target2" class="content-box" style="top: 200px"></div>
|
|
|