mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
stylo: Propagate quirks mode information from Gecko to Servo
This commit is contained in:
parent
875b07b4ec
commit
c54d255d07
9 changed files with 48 additions and 14 deletions
|
@ -336,8 +336,9 @@ impl<'le> fmt::Debug for GeckoElement<'le> {
|
|||
impl<'le> GeckoElement<'le> {
|
||||
/// Parse the style attribute of an element.
|
||||
pub fn parse_style_attribute(value: &str,
|
||||
url_data: &UrlExtraData) -> PropertyDeclarationBlock {
|
||||
parse_style_attribute(value, url_data, &RustLogReporter, QuirksMode::NoQuirks)
|
||||
url_data: &UrlExtraData,
|
||||
quirks_mode: QuirksMode) -> PropertyDeclarationBlock {
|
||||
parse_style_attribute(value, url_data, &RustLogReporter, quirks_mode)
|
||||
}
|
||||
|
||||
fn flags(&self) -> u32 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue