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

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

Powered by Google App Engine
This is Rietveld 408576698