Auto merge of #16882 - canaltinova:more-quirk, r=bholley

stylo: Continue to propagate quirks mode information to Servo

r=bholley in bugzilla

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1364746](https://bugzilla.mozilla.org/show_bug.cgi?id=1364746)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16882)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-05-17 06:53:57 -05:00 committed by GitHub
commit abb2985ffe
2 changed files with 36 additions and 21 deletions

View file

@ -1670,7 +1670,8 @@ extern "C" {
*const RawServoMediaList,
extra_data:
*mut RawGeckoURLExtraData,
line_number_offset: u32)
line_number_offset: u32,
quirks_mode: nsCompatibility)
-> RawServoStyleSheetStrong;
}
extern "C" {
@ -1933,7 +1934,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" {
@ -2103,7 +2105,8 @@ extern "C" {
value: *const nsACString,
is_important: bool,
data: *mut RawGeckoURLExtraData,
parsing_mode: ParsingMode)
parsing_mode: ParsingMode,
quirks_mode: nsCompatibility)
-> bool;
}
extern "C" {
@ -2114,7 +2117,9 @@ extern "C" {
is_important: bool,
data:
*mut RawGeckoURLExtraData,
parsing_mode: ParsingMode)
parsing_mode: ParsingMode,
quirks_mode:
nsCompatibility)
-> bool;
}
extern "C" {