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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/outline-clip-change-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 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 a { 5 a {
6 position: absolute; 6 position: absolute;
7 display: block; 7 display: block;
8 outline: thin dotted green; 8 outline: thin dotted green;
9 outline-width: 0px;
10 }
11
12 a.updated {
13 outline-width: 5px; 9 outline-width: 5px;
14 clip: rect(0px, 100px, 100px, 0px); 10 clip: rect(0px, 100px, 100px, 0px);
15 } 11 }
16 </style> 12 </style>
17 <script src="resources/text-based-repaint.js"></script>
18 <script>
19 function repaintTest()
20 {
21 document.getElementById("link").classList.add("updated");
22 }
23 window.addEventListener("load", runRepaintTest, false);
24 </script>
25 </head> 13 </head>
26 <body> 14 <body>
27 <p>This test checks that an outline change is correctly repainted.</p> 15 <p>This test checks that an outline change is correctly repainted.</p>
28 <p>There should be a 5px green outline below.</p> 16 <p>There should be a 5px green outline below.</p>
29 <ul> 17 <ul>
30 <li><a id="link">Lorem Ipsum</a></li> 18 <li><a id="link">Lorem Ipsum</a></li>
31 </ul> 19 </ul>
32 </body> 20 </body>
33 </html> 21 </html>
34 22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698