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

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

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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>
3 <script>
4 function repaintTest()
5 {
6 document.querySelector('#outer').style['outline-color'] ='green';
7 }
8 onload = runRepaintTest;
9 </script>
10 <style> 2 <style>
11 body { height: 200px; } 3 body { height: 200px; }
12 #container { position: absolute; } 4 #container { position: absolute; }
13 p, #inner { height: 20px; } 5 p, #inner { height: 20px; }
14 #outer { outline: 2px solid red; } 6 #outer { outline: 2px solid green; }
15 </style> 7 </style>
16 <p> 8 <p>
17 This test is verifying that when the outline is modified on an element 9 This test is verifying that when the outline is modified on an element
18 that we correctly invalidate any continuations. 10 that we correctly invalidate any continuations.
19 </p> 11 </p>
20 <p> 12 <p>
21 If this test passes, you should see a green border around the text contents. 13 If this test passes, you should see a green border around the text contents.
22 </p> 14 </p>
23 <div id="container"> 15 <div id="container">
24 <span id="outer"> 16 <span id="outer">
25 <div id="inner">CONTENTS</div> 17 <div id="inner">CONTENTS</div>
26 </span> 18 </span>
27 </div> 19 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698