mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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:
commit
52adcf38ac
2 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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"]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue