mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
Atomize namespace prefixes.
This commit is contained in:
parent
84fed1a62f
commit
6173e1d339
4 changed files with 19 additions and 9 deletions
|
@ -38,7 +38,10 @@ fn test_parse_stylesheet() {
|
|||
media: None,
|
||||
dirty_on_viewport_size_change: false,
|
||||
rules: vec![
|
||||
CSSRule::Namespace(None, NsAtom(Atom::from("http://www.w3.org/1999/xhtml"))),
|
||||
CSSRule::Namespace {
|
||||
prefix: None,
|
||||
url: NsAtom(Atom::from("http://www.w3.org/1999/xhtml"))
|
||||
},
|
||||
CSSRule::Style(StyleRule {
|
||||
selectors: vec![
|
||||
Selector {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue