stylo: Continue to propagate quirks mode information to Servo

This commit is contained in:
Nazım Can Altınova 2017-05-15 23:52:49 +03:00
parent dfb9396296
commit 3acb3ca094
No known key found for this signature in database
GPG key ID: AF9BCD7CE6449954
2 changed files with 36 additions and 21 deletions

View file

@ -1623,7 +1623,8 @@ extern "C" {
*const RawServoMediaList,
extra_data:
*mut RawGeckoURLExtraData,
line_number_offset: u32)
line_number_offset: u32,
quirks_mode: nsCompatibility)
-> RawServoStyleSheetStrong;
}
extern "C" {
@ -1876,7 +1877,8 @@ extern "C" {
pub fn Servo_ParseProperty(property: nsCSSPropertyID,
value: *const nsACString,
data: *mut RawGeckoURLExtraData,
parsing_mode: ParsingMode)
parsing_mode: ParsingMode,
quirks_mode: nsCompatibility)
-> RawServoDeclarationBlockStrong;
}
extern "C" {
@ -2046,7 +2048,8 @@ extern "C" {
value: *const nsACString,
is_important: bool,
data: *mut RawGeckoURLExtraData,
parsing_mode: ParsingMode)
parsing_mode: ParsingMode,
quirks_mode: nsCompatibility)
-> bool;
}
extern "C" {
@ -2057,7 +2060,9 @@ extern "C" {
is_important: bool,
data:
*mut RawGeckoURLExtraData,
parsing_mode: ParsingMode)
parsing_mode: ParsingMode,
quirks_mode:
nsCompatibility)
-> bool;
}
extern "C" {