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

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

Issue 166163005: [SVG2] Add tabindex handling in svg. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: let form controls override tabindex() Created 6 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/text-based-repaint.js" type="t ext/javascript"></script>
4 <script> 4 <script>
5 function repaintTest() { 5 function repaintTest() {
6 » » document.getElementById("svg").style.overflow="visible"; 6 » » document.getElementById("rect").focus();
7 } 7 }
8 </script> 8 </script>
9 <style> 9 <style>
10 div { 10 div {
11 » » » height:100px; width:100px; 11 » » » height:150px; width:150px;
12 } 12 }
13 » » div + div { background: red; } 13 » » :focus { fill: green }
14 </style> 14 </style>
15 </head> 15 </head>
16 <body onload="runRepaintAndPixelTest()"> 16 <body onload="runRepaintAndPixelTest()">
17 <div> 17 <div>
18 » » <svg id="svg" height="100" width="100" viewbox="0 0 100 100"> 18 » » <svg id="svg" height="150" width="150" viewbox="0 0 150 150">
19 » » » <rect y="100" width="100" height="100" fill="green"/> 19 » » » <rect id="rect" x="50" y="50" height="50" width="50" tab index="1"/>
20 </svg> 20 </svg>
21 </div> 21 </div>
22 <div></div>
23 </body> 22 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698