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

Unified Diff: third_party/WebKit/LayoutTests/svg/text/resources/glyph-orientation-vertical.css

Issue 1404853003: Add SVG Text to support the CSS 'text-orientation' property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: drott review Created 5 years, 2 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/resources/glyph-orientation-vertical.css
diff --git a/third_party/WebKit/LayoutTests/svg/text/resources/glyph-orientation-vertical.css b/third_party/WebKit/LayoutTests/svg/text/resources/glyph-orientation-vertical.css
new file mode 100644
index 0000000000000000000000000000000000000000..1c8565f1bbdb7a3d5773b1463640aca2d62b85c8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/text/resources/glyph-orientation-vertical.css
@@ -0,0 +1,12 @@
+/* Maps the SVG 'glyph-orientation-vertical' attribute to
+ the CSS 'text-orientation' property, according to:
+ https://drafts.csswg.org/css-writing-modes-3/#glyph-orientation */
+[glyph-orientation-vertical="auto"] {
+ text-orientation: mixed;
+}
+[glyph-orientation-vertical="0deg"], [glyph-orientation-vertical="0"] {
+ text-orientation: upright;
+}
+[glyph-orientation-vertical="90deg"], [glyph-orientation-vertical="90"] {
+ text-orientation: sideways;
+}

Powered by Google App Engine
This is Rietveld 408576698