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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/repaint/focus-element.html

Issue 1972273002: Let repaint tests test pixels by default (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 <head> 2 <head>
3 » <script src="../../fast/repaint/resources/text-based-repaint.js" type="t ext/javascript"></script> 3 » <script src="../../fast/repaint/resources/repaint.js" type="text/javascr ipt"></script>
4 <script> 4 <script>
5 function repaintTest() { 5 function repaintTest() {
6 document.getElementById("rect").focus(); 6 document.getElementById("rect").focus();
7 } 7 }
8 </script> 8 </script>
9 <style> 9 <style>
10 div { 10 div {
11 height:150px; width:150px; 11 height:150px; width:150px;
12 } 12 }
13 :focus { fill: green } 13 :focus { fill: green }
14 </style> 14 </style>
15 </head> 15 </head>
16 <body onload="runRepaintAndPixelTest()"> 16 <body onload="runRepaintTest()">
17 <div> 17 <div>
18 <svg id="svg" height="150" width="150" viewbox="0 0 150 150"> 18 <svg id="svg" height="150" width="150" viewbox="0 0 150 150">
19 <rect id="rect" x="50" y="50" height="50" width="50" tab index="1"/> 19 <rect id="rect" x="50" y="50" height="50" width="50" tab index="1"/>
20 </svg> 20 </svg>
21 </div> 21 </div>
22 </body> 22 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698