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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/focus-enable-continuations.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 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/text-based-repaint.js"></script>
3 <script> 3 <script>
4 function repaintTest() 4 function repaintTest()
5 { 5 {
6 document.querySelector('#outer').focus(); 6 document.querySelector('#outer').focus();
7 } 7 }
8 onload = runRepaintAndPixelTest; 8 onload = runRepaintAndPixelTest;
9 </script> 9 </script>
10 <style> 10 <style>
11 body { height: 200px; } 11 body { height: 200px; }
12 #container { position: absolute; } 12 #container { position: absolute; }
13 p, #inner { height: 20px; } 13 p, #inner { height: 20px; }
14 </style> 14 </style>
15 <p> 15 <p>
16 This test is verifying that when the focus is added to an element we 16 This test is verifying that when the focus is added to an element we
17 correctly invalidate continuations and display the focus ring. 17 correctly invalidate continuations and display the focus ring.
18 </p> 18 </p>
19 <p> 19 <p>
20 If this test passes, you should see a focus ring. 20 If this test passes, you should see a focus ring.
21 </p> 21 </p>
22 <div id="container"> 22 <div id="container">
23 <span id="outer" tabindex="1"> 23 <span id="outer" tabindex="1">
24 <div id="inner">CONTENTS</div> 24 <div id="inner">CONTENTS</div>
25 </span> 25 </span>
26 </div> 26 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698