Bug 1304792: stylo: Implement @import. r=heycam

MozReview-Commit-ID: Hw1V66JxIBD
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
This commit is contained in:
Emilio Cobos Álvarez 2016-12-17 10:58:56 +01:00
parent b49eb6f566
commit a5f5e48c68
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
7 changed files with 177 additions and 16 deletions

View file

@ -251,6 +251,7 @@ mod bindings {
];
let whitelist = [
"RawGecko.*",
"mozilla::ServoStyleSheet",
"mozilla::ServoElementSnapshot.*",
"mozilla::ConsumeStyleBehavior",
"mozilla::css::SheetParsingMode",
@ -527,6 +528,8 @@ mod bindings {
"nsStyleXUL",
"nscoord",
"nsresult",
"Loader",
"ServoStyleSheet",
];
struct ArrayType {
cpp_type: &'static str,
@ -541,6 +544,7 @@ mod bindings {
"RawServoStyleSheet",
"RawServoDeclarationBlock",
"RawServoStyleRule",
"RawServoImportRule",
];
struct ServoOwnedType {
name: &'static str,