Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/outline-continuations.html

Issue 1972273002: Let repaint tests test pixels by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script> 2 <script src="resources/repaint.js"></script>
3 <script> 3 <script>
4 function repaintTest() 4 function repaintTest()
5 { 5 {
6 document.querySelector('#outer').style.outline = 'green solid 2px'; 6 document.querySelector('#outer').style.outline = 'green solid 2px';
7 } 7 }
8 onload = runRepaintAndPixelTest; 8 onload = runRepaintTest;
9 </script> 9 </script>
10 <style> 10 <style>
11 p, .inner { height: 20px; } 11 p, .inner { height: 20px; }
12 #container { position: absolute; width: 200px; padding: 10px; top: 100px; } 12 #container { position: absolute; width: 200px; padding: 10px; top: 100px; }
13 </style> 13 </style>
14 <p> 14 <p>
15 This test is verifying that when the outline is added to an element 15 This test is verifying that when the outline is added to an element
16 that we correctly invalidate any continuations. 16 that we correctly invalidate any continuations.
17 </p> 17 </p>
18 <p> 18 <p>
19 If this test passes, you should see a green border around "CONTENTS". 19 If this test passes, you should see a green border around "CONTENTS".
20 </p> 20 </p>
21 <div id="container"> 21 <div id="container">
22 <span id="outer"> 22 <span id="outer">
23 CONTENTS 23 CONTENTS
24 <div class="inner">CONTENTS</div> 24 <div class="inner">CONTENTS</div>
25 CONTENTS 25 CONTENTS
26 <div class="inner">CONTENTS</div> 26 <div class="inner">CONTENTS</div>
27 </span> 27 </span>
28 <span> 28 <span>
29 <div class="inner">Should not have green border</div> 29 <div class="inner">Should not have green border</div>
30 </span> 30 </span>
31 </div> 31 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698