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

Unified Diff: LayoutTests/svg/stroke/stroke-width-ch-type.svg

Issue 1073803002: SVG doesn't recognize ch units. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
Index: LayoutTests/svg/stroke/stroke-width-ch-type.svg
diff --git a/LayoutTests/svg/stroke/stroke-width-rem-type.svg b/LayoutTests/svg/stroke/stroke-width-ch-type.svg
similarity index 82%
copy from LayoutTests/svg/stroke/stroke-width-rem-type.svg
copy to LayoutTests/svg/stroke/stroke-width-ch-type.svg
index 1731e8b8418199fe8bb2b354ab6dab94d4517535..b9785c03316b3cb6431267316f3301f4e6fe9bd2 100644
--- a/LayoutTests/svg/stroke/stroke-width-rem-type.svg
+++ b/LayoutTests/svg/stroke/stroke-width-ch-type.svg
@@ -1,3 +1,3 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="100" width="100" style="font-size:20px">
- <line x1="0" y1="0" x2="100" y2="100" stroke="rgb(255,0,0)" stroke-width="1rem" />
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="100" width="100" style="font-size:20px; font-family:serif">
+ <line x1="0" y1="0" x2="100" y2="100" stroke="rgb(255,0,0)" stroke-width="1ch" />
</svg>

Powered by Google App Engine
This is Rietveld 408576698