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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/layer-full-repaint.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 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd"> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3 <head> 3 <head>
4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=13655</title> 4 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=13655</title>
5 <style type="text/css"> 5 <style type="text/css">
6 div { 6 div {
7 position: relative; 7 position: relative;
8 height: 100px; 8 height: 100px;
9 width: 100px; 9 width: 100px;
10 background-color: red; 10 background-color: red;
11 } 11 }
12 12
13 div.selected { 13 div.selected {
14 background-color: green; 14 background-color: green;
15 text-shadow: red 5px 5px 0; 15 text-shadow: red 5px 5px 0;
16 } 16 }
17 </style> 17 </style>
18 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 18 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
19 <script> 19 <script>
20 function repaintTest() 20 function repaintTest()
21 { 21 {
22 document.getElementById('test').className = "selected"; 22 document.getElementById('test').className = "selected";
23 } 23 }
24 </script> 24 </script>
25 </head> 25 </head>
26 <body onload="runRepaintTest();"> 26 <body onload="runRepaintAndPixelTest();">
27 <div id="test"></div> 27 <div id="test"></div>
28 </body> 28 </body>
29 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698