diff options
author | Xidorn Quan <me@upsuper.org> | 2016-12-29 14:00:10 +1100 |
---|---|---|
committer | Xidorn Quan <me@upsuper.org> | 2016-12-29 14:02:46 +1100 |
commit | 77bc2e0ba3944add8d55a680c8915e9fdcae03b3 (patch) | |
tree | 139f98b2bfee0b11f568366d54d568d3ea996382 | |
parent | c6ea1ec91f4a0b79b4fcdfa05a9b492fa6c9a798 (diff) | |
download | servo-77bc2e0ba3944add8d55a680c8915e9fdcae03b3.tar.gz servo-77bc2e0ba3944add8d55a680c8915e9fdcae03b3.zip |
Add support of text-combine-upright for stylo
-rw-r--r-- | components/style/properties/longhand/inherited_text.mako.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/components/style/properties/longhand/inherited_text.mako.rs b/components/style/properties/longhand/inherited_text.mako.rs index e6d474aca23..21a769514e5 100644 --- a/components/style/properties/longhand/inherited_text.mako.rs +++ b/components/style/properties/longhand/inherited_text.mako.rs @@ -1058,3 +1058,11 @@ ${helpers.single_keyword("ruby-align", "start center space-between space-around" ${helpers.single_keyword("ruby-position", "over under", products="gecko", animatable=False)} + +// CSS Writing Modes Module Level 3 +// https://drafts.csswg.org/css-writing-modes-3/#text-combine-upright +// The spec has "digits <integer>?" value in addition. But that value is +// at-risk, and Gecko's layout code doesn't support that either. So we +// can just take the easy way for now. +${helpers.single_keyword("text-combine-upright", "none all", + products="gecko", animatable=False)} |