mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
stylo: Create separate Attr type
This commit is contained in:
parent
25d193ba34
commit
5de2f29080
6 changed files with 132 additions and 67 deletions
|
@ -70,7 +70,7 @@ fn test_parse_stylesheet() {
|
|||
let stylesheet = Stylesheet::from_str(css, url.clone(), Origin::UserAgent, media, lock,
|
||||
None, &CSSErrorReporterTest, QuirksMode::NoQuirks, 0u64);
|
||||
let mut namespaces = Namespaces::default();
|
||||
namespaces.default = Some(ns!(html));
|
||||
namespaces.default = Some((ns!(html), ()));
|
||||
let expected = Stylesheet {
|
||||
origin: Origin::UserAgent,
|
||||
media: Arc::new(stylesheet.shared_lock.wrap(MediaList::empty())),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue