aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/build_gecko.rs
diff options
context:
space:
mode:
authorJ. Ryan Stinnett <jryans@gmail.com>2017-04-14 14:04:34 +0800
committerJ. Ryan Stinnett <jryans@gmail.com>2017-04-14 17:22:16 +0800
commit8144aa11635531ecad37d3f1012e8c273c999f3f (patch)
tree32a473566b7e91aa9707aab50d1a6473719f43ea /components/style/build_gecko.rs
parent6069e44f02aa748cba885162176204c6455b8259 (diff)
downloadservo-8144aa11635531ecad37d3f1012e8c273c999f3f.tar.gz
servo-8144aa11635531ecad37d3f1012e8c273c999f3f.zip
Expose CSS length mode in Stylo glue
Add length mode args to Stylo glue functions so that Gecko can enable the special SVG mode as needed. MozReview-Commit-ID: 1luM13MFEXX
Diffstat (limited to 'components/style/build_gecko.rs')
-rw-r--r--components/style/build_gecko.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/style/build_gecko.rs b/components/style/build_gecko.rs
index 65b323ecb16..92d512ee75c 100644
--- a/components/style/build_gecko.rs
+++ b/components/style/build_gecko.rs
@@ -467,6 +467,7 @@ mod bindings {
"mozilla::Side",
"mozilla::binding_danger::AssertAndSuppressCleanupPolicy",
"RawServoAnimationValueMapBorrowed",
+ "mozilla::LengthParsingMode",
];
let opaque_types = [
"std::pair__PCCP",
@@ -721,6 +722,7 @@ mod bindings {
"ServoStyleSheet",
"EffectCompositor_CascadeLevel",
"UpdateAnimationsTasks",
+ "LengthParsingMode",
];
struct ArrayType {
cpp_type: &'static str,