| Index: LayoutTests/fast/repaint/padding-border-keeping-border-box-and-content-box.html
|
| diff --git a/LayoutTests/fast/repaint/padding-border-keeping-border-box-and-content-box.html b/LayoutTests/fast/repaint/padding-border-keeping-border-box-and-content-box.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5a55079dd5870379ed632478cea0af8b5b631dbf
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/repaint/padding-border-keeping-border-box-and-content-box.html
|
| @@ -0,0 +1,29 @@
|
| +<!DOCTYPE HTML>
|
| +<script src="resources/text-based-repaint.js"></script>
|
| +<script>
|
| +function repaintTest()
|
| +{
|
| + // Though neither border box nor content box changes, should full repaint
|
| + // because the border width changes.
|
| + var target = document.getElementById('target');
|
| + target.style.padding = '20px';
|
| + target.style.borderWidth = '20px';
|
| +}
|
| +window.onload = runRepaintTest;
|
| +</script>
|
| +<style>
|
| +body {
|
| + margin: 0;
|
| +}
|
| +div {
|
| + width: 100px;
|
| + height: 100px;
|
| + padding: 40px;
|
| + position: absolute;
|
| + background-color: green;
|
| + border-color: blue;
|
| + border-style: solid;
|
| + border-width: 0;
|
| +}
|
| +</style>
|
| +<div id="target"></div>
|
|
|