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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/focus-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, 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>
3 <script>
4 function repaintTest()
5 {
6 document.querySelector('#outer').blur();
7 }
8 onload = function()
9 {
10 document.querySelector('#outer').focus();
11 runRepaintTest();
12 };
13 </script>
14 <style> 2 <style>
15 body { height: 200px; } 3 body { height: 200px; }
16 #container { position: absolute; } 4 #container { position: absolute; }
17 p, #inner { height: 20px; } 5 p, #inner { height: 20px; }
18 </style> 6 </style>
19 <p> 7 <p>
20 This test is verifying that when the focus is removed from an element we 8 This test is verifying that when the focus is removed from an element we
21 correctly invalidate continuations and remove the focus ring. 9 correctly invalidate continuations and remove the focus ring.
22 </p> 10 </p>
23 <p> 11 <p>
24 If this test passes, you should see no focus ring. 12 If this test passes, you should see no focus ring.
25 </p> 13 </p>
26 <div id="container"> 14 <div id="container">
27 <span id="outer" tabindex="1"> 15 <span id="outer" tabindex="1">
28 <div id="inner">CONTENTS</div> 16 <div id="inner">CONTENTS</div>
29 </span> 17 </span>
30 </div> 18 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698