diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-05-05 11:03:54 -0700 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-05-05 11:03:54 -0700 |
commit | 52adcf38acc805e42d12df0b1962583b4670848e (patch) | |
tree | 3d7014bb1b1206fdd3af84fbe17ca6f2cdeffad8 | |
parent | 0baf665721c74b03c879a14f2fafc24a5dc6dda6 (diff) | |
parent | d2f6138fb3ab4a91878df1788b44c7e6ff8418e3 (diff) | |
download | servo-52adcf38acc805e42d12df0b1962583b4670848e.tar.gz servo-52adcf38acc805e42d12df0b1962583b4670848e.zip |
Auto merge of #11002 - heycam:text-transform, r=bholley
Support text-transform in geckolib.
Needs https://bugzilla.mozilla.org/show_bug.cgi?id=1270001. I just edited gecko_style_structs.rs manually.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11002)
<!-- Reviewable:end -->
-rw-r--r-- | ports/geckolib/gecko_style_structs.rs | 2 | ||||
-rw-r--r-- | ports/geckolib/properties.mako.rs | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/ports/geckolib/gecko_style_structs.rs b/ports/geckolib/gecko_style_structs.rs index 97e30328142..c469ade7284 100644 --- a/ports/geckolib/gecko_style_structs.rs +++ b/ports/geckolib/gecko_style_structs.rs @@ -574,7 +574,7 @@ pub const NS_STYLE_TEXT_TRANSFORM_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TEXT_TRANSFORM_CAPITALIZE: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TEXT_TRANSFORM_LOWERCASE: ::std::os::raw::c_uint = 2; pub const NS_STYLE_TEXT_TRANSFORM_UPPERCASE: ::std::os::raw::c_uint = 3; -pub const NS_STYLE_TEXT_TRANSFORM_FULLWIDTH: ::std::os::raw::c_uint = 4; +pub const NS_STYLE_TEXT_TRANSFORM_FULL_WIDTH: ::std::os::raw::c_uint = 4; pub const NS_STYLE_TOP_LAYER_NONE: ::std::os::raw::c_uint = 0; pub const NS_STYLE_TOP_LAYER_TOP: ::std::os::raw::c_uint = 1; pub const NS_STYLE_TRANSFORM_BOX_BORDER_BOX: ::std::os::raw::c_uint = 0; diff --git a/ports/geckolib/properties.mako.rs b/ports/geckolib/properties.mako.rs index 80ed04f7c3f..56e9800ca58 100644 --- a/ports/geckolib/properties.mako.rs +++ b/ports/geckolib/properties.mako.rs @@ -353,8 +353,6 @@ impl Debug for ${style_struct.gecko_ffi_name} { force_stub += ["list-style-type", "text-overflow"] # Enum class instead of NS_STYLE_... force_stub += ["box-sizing"] - # Inconsistent constant naming in gecko - force_stub += ["text-transform"] # These are booleans. force_stub += ["page-break-after", "page-break-before"] |