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

Side by Side Diff: LayoutTests/svg/as-background-image/svg-background-partial-redraw.html

Issue 205263004: Convert svg repaint tests to pixel test only repaint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove fixedpos Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>SVG img and bg test</title> 4 <title>SVG img and bg test</title>
5 <script src="../../fast/repaint/resources/repaint.js" type="text/javascript">< /script> 5 <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/ja vascript"></script>
6 <script type="text/javascript"> 6 <script type="text/javascript">
7 function repaintTest() { 7 function repaintTest() {
8 document.getElementById('test').className = 'revealed'; 8 document.getElementById('test').className = 'revealed';
9 } 9 }
10 </script> 10 </script>
11 <style type="text/css" media="screen"> 11 <style type="text/css" media="screen">
12 div { 12 div {
13 -webkit-box-sizing: border-box; 13 -webkit-box-sizing: border-box;
14 } 14 }
15 15
(...skipping 17 matching lines...) Expand all
33 33
34 #test.revealed > #revealer { 34 #test.revealed > #revealer {
35 display: none; 35 display: none;
36 } 36 }
37 37
38 #test:hover > #revealer { 38 #test:hover > #revealer {
39 display: block; 39 display: block;
40 } 40 }
41 </style> 41 </style>
42 </head> 42 </head>
43 <body onload="runRepaintTest()"> 43 <body onload="runRepaintAndPixelTest()">
44 44
45 <p>You should continue see a full blue circle when part of the element is redraw n (hover to test interactively).</p> 45 <p>You should continue see a full blue circle when part of the element is redraw n (hover to test interactively).</p>
46 <div id="test"> 46 <div id="test">
47 <div id="revealer"></div> 47 <div id="revealer"></div>
48 </div> 48 </div>
49 49
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/resources/text-based-repaint.js ('k') | LayoutTests/svg/as-image/animated-svg-as-image.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698