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

Unified Diff: LayoutTests/svg/text/tspan-outline-2.svg

Issue 261773008: [SVG2] css 'outline' property should apply to svg elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use Ahem instead 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/svg/text/tspan-outline.html ('k') | LayoutTests/svg/text/tspan-outline-2-expected.svg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/text/tspan-outline-2.svg
diff --git a/LayoutTests/svg/text/tspan-outline-2.svg b/LayoutTests/svg/text/tspan-outline-2.svg
new file mode 100644
index 0000000000000000000000000000000000000000..21bf05c9554efc56515ce8955ea0bec82ba1d45e
--- /dev/null
+++ b/LayoutTests/svg/text/tspan-outline-2.svg
@@ -0,0 +1,14 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="800" height="100">
+ <desc>Test that the outline is painted, and that :active stylerules apply correctly on the 'tspan' element.</desc>
+ <style>
+ *:focus { fill: green; outline: 2px solid black; }
+ text { font: 32px sans-serif; }
+ </style>
+
+ <text y="40">>>> <tspan tabindex="2">Test didn't run</tspan> &lt;&lt;&lt;</text>
+ <script>
+ var t = document.querySelector("tspan");
+ t.focus();
+ t.textContent = document.activeElement;
+ </script>
+</svg>
« no previous file with comments | « LayoutTests/svg/text/tspan-outline.html ('k') | LayoutTests/svg/text/tspan-outline-2-expected.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698