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

Unified Diff: third_party/WebKit/LayoutTests/svg/text/textpath-startoffset.html

Issue 1580293008: Fix incorrect handling of small non-percentage value for 'startOffset' on <textPath> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
Index: third_party/WebKit/LayoutTests/svg/text/textpath-startoffset.html
diff --git a/third_party/WebKit/LayoutTests/svg/text/textpath-startoffset.html b/third_party/WebKit/LayoutTests/svg/text/textpath-startoffset.html
new file mode 100644
index 0000000000000000000000000000000000000000..ef93c458068380ee34fdf4c87d7206f18746045e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/text/textpath-startoffset.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
fs 2016/01/18 12:57:49 Please don't add a pixeltest for this - a reftest
+<script src=../../resources/ahem.js></script>
+<svg xmlns="http://www.w3.org/2000/svg" font-size="100px">
+ <path id="path" d="M10,100h400" fill="none" stroke="blue"/>
+ <text fill="red" font-family="Ahem"><textPath xlink:href="#path" x="0.5">Test</textPath></text>
+ <text fill="green" font-family="Ahem"><textPath xlink:href="#path" startOffset="0.5">Test</textPath></text>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698