Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / border-radius-repaint-2.html
blobf69e913e9c4a2c6a1eadab58d6fee4be31dd5ebc
1 <!-- Based on fast/repaint/border-radius-repaint-2.html -->
2 <!doctype html>
3 <html>
4 <head>
5 <title>Repaint test for crbug.com/222851</title>
6 <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
7 <script>
8 if (window.internals) {
9 // Avoid the noise caused by change of scrollbar existence.
10 internals.settings.setOverlayScrollbarsEnabled(true);
11 internals.settings.setMockScrollbarsEnabled(true);
14 window.expectedPaintInvalidationObjects = [
15 "LayoutView #document",
16 "LayoutBlockFlow HTML",
17 "LayoutBlockFlow BODY",
18 "LayoutBlockFlow DIV",
19 "LayoutBlockFlow DIV",
20 "LayoutBlockFlow DIV id='target'",
22 function paintInvalidationTest() {
23 document.getElementById('target').style.height = '2px';
25 </script>
26 </head>
27 <body style="background-color: #3F3F3F;" onload="runPaintInvalidationTest()">
28 <div style="border-radius: 150px; background-color: #EFEFEF; width: 90%; padding: 5em; margin: 0 auto;">
29 <div style="border-radius: 5px; border: solid 3px #367CAF; width: 85%; margin: 0 auto;">
30 <div class="notARealClass" style="background-color: #367CAF; height: 3em; cursor: pointer;">
31 </div>
32 <div id="target" style="width: 100%; height: 550px;">
33 </div>
34 </div>
35 </div>
36 </body>
37 </html>