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

Unified 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: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/svg/custom/tabindex-order-expected.txt ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/repaint/focus-element.html
diff --git a/LayoutTests/svg/in-html/overflow-repaint.html b/LayoutTests/svg/repaint/focus-element.html
similarity index 52%
copy from LayoutTests/svg/in-html/overflow-repaint.html
copy to LayoutTests/svg/repaint/focus-element.html
index 397bc25669551541c93789ab2eddea506f83daf4..2894f9a885c7811fdf5a5fdcb0a320c66fa5769f 100644
--- a/LayoutTests/svg/in-html/overflow-repaint.html
+++ b/LayoutTests/svg/repaint/focus-element.html
@@ -3,21 +3,20 @@
<script src="../../fast/repaint/resources/text-based-repaint.js" type="text/javascript"></script>
<script>
function repaintTest() {
- document.getElementById("svg").style.overflow="visible";
+ document.getElementById("rect").focus();
}
</script>
<style>
div {
- height:100px; width:100px;
+ height:150px; width:150px;
}
- div + div { background: red; }
+ :focus { fill: green }
</style>
</head>
<body onload="runRepaintAndPixelTest()">
<div>
- <svg id="svg" height="100" width="100" viewbox="0 0 100 100">
- <rect y="100" width="100" height="100" fill="green"/>
+ <svg id="svg" height="150" width="150" viewbox="0 0 150 150">
+ <rect id="rect" x="50" y="50" height="50" width="50" tabindex="1"/>
</svg>
</div>
- <div></div>
</body>
« no previous file with comments | « LayoutTests/svg/custom/tabindex-order-expected.txt ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698