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 -->
This commit is contained in:
bors-servo 2016-05-05 11:03:54 -07:00
commit 52adcf38ac
2 changed files with 1 additions and 3 deletions

View file

@ -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_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_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_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_NONE: ::std::os::raw::c_uint = 0;
pub const NS_STYLE_TOP_LAYER_TOP: ::std::os::raw::c_uint = 1; 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; pub const NS_STYLE_TRANSFORM_BOX_BORDER_BOX: ::std::os::raw::c_uint = 0;

View file

@ -353,8 +353,6 @@ impl Debug for ${style_struct.gecko_ffi_name} {
force_stub += ["list-style-type", "text-overflow"] force_stub += ["list-style-type", "text-overflow"]
# Enum class instead of NS_STYLE_... # Enum class instead of NS_STYLE_...
force_stub += ["box-sizing"] force_stub += ["box-sizing"]
# Inconsistent constant naming in gecko
force_stub += ["text-transform"]
# These are booleans. # These are booleans.
force_stub += ["page-break-after", "page-break-before"] force_stub += ["page-break-after", "page-break-before"]