mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Backed out changeset e64e659c077d: servo PR #18809 and revendor for reftest failures, e.g. in layout/reftests/bugs/392435-1.html. r=backout on a CLOSED TREE
Backs out https://github.com/servo/servo/pull/18809
This commit is contained in:
parent
fe16c1d5c3
commit
11c64178d8
142 changed files with 1635 additions and 1685 deletions
|
@ -15,7 +15,7 @@ use properties::longhands::transition_timing_function::single_value::SpecifiedVa
|
|||
use servo_arc::Arc;
|
||||
use shared_lock::{DeepCloneParams, DeepCloneWithLock, SharedRwLock, SharedRwLockReadGuard, Locked, ToCssWithGuard};
|
||||
use std::fmt;
|
||||
use style_traits::{ParsingMode, ToCss, ParseError, StyleParseErrorKind};
|
||||
use style_traits::{PARSING_MODE_DEFAULT, ToCss, ParseError, StyleParseErrorKind};
|
||||
use stylesheets::{CssRuleType, StylesheetContents};
|
||||
use stylesheets::rule_parser::VendorPrefix;
|
||||
use values::{KeyframesName, serialize_percentage};
|
||||
|
@ -218,7 +218,7 @@ impl Keyframe {
|
|||
parent_stylesheet_contents.origin,
|
||||
&url_data,
|
||||
Some(CssRuleType::Keyframe),
|
||||
ParsingMode::DEFAULT,
|
||||
PARSING_MODE_DEFAULT,
|
||||
parent_stylesheet_contents.quirks_mode
|
||||
);
|
||||
let error_context = ParserErrorContext { error_reporter: &error_reporter };
|
||||
|
|
|
@ -31,7 +31,7 @@ use parser::{ParserContext, ParserErrorContext};
|
|||
use servo_arc::Arc;
|
||||
use shared_lock::{DeepCloneParams, DeepCloneWithLock, Locked, SharedRwLock, SharedRwLockReadGuard, ToCssWithGuard};
|
||||
use std::fmt;
|
||||
use style_traits::ParsingMode;
|
||||
use style_traits::PARSING_MODE_DEFAULT;
|
||||
|
||||
pub use self::counter_style_rule::CounterStyleRule;
|
||||
pub use self::document_rule::DocumentRule;
|
||||
|
@ -241,7 +241,7 @@ impl CssRule {
|
|||
parent_stylesheet_contents.origin,
|
||||
&url_data,
|
||||
None,
|
||||
ParsingMode::DEFAULT,
|
||||
PARSING_MODE_DEFAULT,
|
||||
parent_stylesheet_contents.quirks_mode,
|
||||
);
|
||||
|
||||
|
|
|
@ -41,13 +41,13 @@ impl Origin {
|
|||
bitflags! {
|
||||
/// A set of origins. This is equivalent to Gecko's OriginFlags.
|
||||
#[cfg_attr(feature = "servo", derive(MallocSizeOf))]
|
||||
pub struct OriginSet: u8 {
|
||||
pub flags OriginSet: u8 {
|
||||
/// <https://drafts.csswg.org/css-cascade/#cascade-origin-user-agent>
|
||||
const ORIGIN_USER_AGENT = Origin::UserAgent as u8;
|
||||
const ORIGIN_USER_AGENT = Origin::UserAgent as u8,
|
||||
/// <https://drafts.csswg.org/css-cascade/#cascade-origin-user>
|
||||
const ORIGIN_USER = Origin::User as u8;
|
||||
const ORIGIN_USER = Origin::User as u8,
|
||||
/// <https://drafts.csswg.org/css-cascade/#cascade-origin-author>
|
||||
const ORIGIN_AUTHOR = Origin::Author as u8;
|
||||
const ORIGIN_AUTHOR = Origin::Author as u8,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ use servo_arc::Arc;
|
|||
use shared_lock::{DeepCloneParams, DeepCloneWithLock, Locked, SharedRwLock, SharedRwLockReadGuard};
|
||||
use std::mem;
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use style_traits::ParsingMode;
|
||||
use style_traits::PARSING_MODE_DEFAULT;
|
||||
use stylesheets::{CssRule, CssRules, Origin, UrlExtraData};
|
||||
use stylesheets::loader::StylesheetLoader;
|
||||
use stylesheets::rule_parser::{State, TopLevelRuleParser};
|
||||
|
@ -364,7 +364,7 @@ impl Stylesheet {
|
|||
origin,
|
||||
url_data,
|
||||
None,
|
||||
ParsingMode::DEFAULT,
|
||||
PARSING_MODE_DEFAULT,
|
||||
quirks_mode
|
||||
);
|
||||
let error_context = ParserErrorContext { error_reporter };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue