| Index: LayoutTests/paint/invalidation/spv2/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/paint/invalidation/spv2/padding-border-keeping-border-box-and-content-box.html
|
| similarity index 62%
|
| copy from LayoutTests/fast/repaint/padding-border-keeping-border-box-and-content-box.html
|
| copy to LayoutTests/paint/invalidation/spv2/padding-border-keeping-border-box-and-content-box.html
|
| index 5a55079dd5870379ed632478cea0af8b5b631dbf..fbb03b817493887f0f89626b8927cfb1f85830c9 100644
|
| --- a/LayoutTests/fast/repaint/padding-border-keeping-border-box-and-content-box.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/padding-border-keeping-border-box-and-content-box.html
|
| @@ -1,7 +1,11 @@
|
| +<!-- Based on fast/repaint/padding-border-keeping-border-box-and-content-box.html -->
|
| <!DOCTYPE HTML>
|
| -<script src="resources/text-based-repaint.js"></script>
|
| +<script src="resources/paint-invalidation-test.js"></script>
|
| <script>
|
| -function repaintTest()
|
| +window.expectedPaintInvalidationObjects = [
|
| + "LayoutBlockFlow (positioned) DIV id='target'",
|
| +];
|
| +function paintInvalidationTest()
|
| {
|
| // Though neither border box nor content box changes, should full repaint
|
| // because the border width changes.
|
| @@ -9,7 +13,7 @@ function repaintTest()
|
| target.style.padding = '20px';
|
| target.style.borderWidth = '20px';
|
| }
|
| -window.onload = runRepaintTest;
|
| +window.onload = runPaintInvalidationTest;
|
| </script>
|
| <style>
|
| body {
|
|
|