| Index: LayoutTests/paint/invalidation/spv2/border-radius-repaint-2.html
|
| diff --git a/LayoutTests/fast/repaint/border-radius-repaint-2.html b/LayoutTests/paint/invalidation/spv2/border-radius-repaint-2.html
|
| similarity index 61%
|
| copy from LayoutTests/fast/repaint/border-radius-repaint-2.html
|
| copy to LayoutTests/paint/invalidation/spv2/border-radius-repaint-2.html
|
| index 06f3ea41e3e357bdabcedd21efff7c20dccdef51..f69e913e9c4a2c6a1eadab58d6fee4be31dd5ebc 100644
|
| --- a/LayoutTests/fast/repaint/border-radius-repaint-2.html
|
| +++ b/LayoutTests/paint/invalidation/spv2/border-radius-repaint-2.html
|
| @@ -1,8 +1,9 @@
|
| +<!-- Based on fast/repaint/border-radius-repaint-2.html -->
|
| <!doctype html>
|
| <html>
|
| <head>
|
| <title>Repaint test for crbug.com/222851</title>
|
| -<script src="resources/text-based-repaint.js" type="text/javascript"></script>
|
| +<script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
|
| <script>
|
| if (window.internals) {
|
| // Avoid the noise caused by change of scrollbar existence.
|
| @@ -10,12 +11,20 @@ if (window.internals) {
|
| internals.settings.setMockScrollbarsEnabled(true);
|
| }
|
|
|
| -function repaintTest() {
|
| +window.expectedPaintInvalidationObjects = [
|
| + "LayoutView #document",
|
| + "LayoutBlockFlow HTML",
|
| + "LayoutBlockFlow BODY",
|
| + "LayoutBlockFlow DIV",
|
| + "LayoutBlockFlow DIV",
|
| + "LayoutBlockFlow DIV id='target'",
|
| +];
|
| +function paintInvalidationTest() {
|
| document.getElementById('target').style.height = '2px';
|
| }
|
| </script>
|
| </head>
|
| -<body style="background-color: #3F3F3F;" onload="runRepaintTest()">
|
| +<body style="background-color: #3F3F3F;" onload="runPaintInvalidationTest()">
|
| <div style="border-radius: 150px; background-color: #EFEFEF; width: 90%; padding: 5em; margin: 0 auto;">
|
| <div style="border-radius: 5px; border: solid 3px #367CAF; width: 85%; margin: 0 auto;">
|
| <div class="notARealClass" style="background-color: #367CAF; height: 3em; cursor: pointer;">
|
|
|