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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/inline-outline-repaint-2.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> 2 <script src=resources/text-based-repaint.js></script>
3 <style> 3 <style>
4 body { 4 body {
5 margin: 0; 5 margin: 0;
6 padding: 0; 6 padding: 0;
7 } 7 }
8 #container { 8 #container {
9 position: absolute; 9 position: absolute;
10 width: 255px; 10 width: 255px;
11 text-align: right; 11 text-align: right;
12 font: 10px Ahem; 12 font: 10px Ahem;
13 } 13 }
14 #container > span { 14 #container > span {
15 outline: 5px solid blue; 15 outline: 5px solid blue;
16 } 16 }
17 </style> 17 </style>
18 <div id=container> 18 <div id=container>
19 <span>Test</span> 19 <span>Test</span>
20 </div> 20 </div>
21 <script> 21 <script>
22 function repaintTest() { 22 function repaintTest() {
23 document.getElementById('container').style.color = 'green'; 23 document.getElementById('container').style.color = 'green';
24 } 24 }
25 onload = runRepaintTest; 25 onload = runRepaintAndPixelTest;
26 </script> 26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698