| Index: LayoutTests/fast/repaint/box-sizing-padding-keeping-size.html
|
| diff --git a/LayoutTests/fast/repaint/box-sizing-padding-keeping-size.html b/LayoutTests/fast/repaint/box-sizing-padding-keeping-size.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..93860c938d723c633d7a970626e880a103dd1aa9
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/repaint/box-sizing-padding-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;
|
| + padding: 20px;
|
| +}
|
| +</style>
|
| +<div id="target1" class="border-box" style="top: 0px"></div>
|
| +<div id="target2" class="content-box" style="top: 200px"></div>
|
|
|