mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
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:
parent
b49eb6f566
commit
a5f5e48c68
7 changed files with 177 additions and 16 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue