| Index: LayoutTests/fast/repaint/box-sizing-border-keeping-size.html
|
| diff --git a/LayoutTests/fast/repaint/box-sizing-border-keeping-size.html b/LayoutTests/fast/repaint/box-sizing-border-keeping-size.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..80a7db99b1596cfb98883fd4ffbd40396acfaba6
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/repaint/box-sizing-border-keeping-size.html
|
| @@ -0,0 +1,32 @@
|
| +<!DOCTYPE HTML>
|
| +<script src="resources/text-based-repaint.js"></script>
|
| +<script>
|
| +function repaintTest()
|
| +{
|
| + document.getElementById('target1').className = 'content-box';
|
| + document.getElementById('target2').className = 'border-box';
|
| +}
|
| +window.onload = runRepaintTest;
|
| +</script>
|
| +<style>
|
| +body {
|
| + margin: 0;
|
| +}
|
| +div {
|
| + position: absolute;
|
| + background-color: green;
|
| +}
|
| +.border-box {
|
| + width: 100px;
|
| + height: 100px;
|
| + box-sizing: border-box;
|
| +}
|
| +.content-box {
|
| + width: 60px;
|
| + height: 60px;
|
| + box-sizing: content-box;
|
| + border: blue solid 20px;
|
| +}
|
| +</style>
|
| +<div id="target1" class="border-box" style="top: 0px"></div>
|
| +<div id="target2" class="content-box" style="top: 200px"></div>
|
|
|