stylo: set location for NestedRuleParser during prelude parsing

This commit is contained in:
Fernando Jiménez Moreno 2017-06-14 17:47:30 +02:00
parent 18653f6958
commit 7334298f30
2 changed files with 23 additions and 14 deletions

View file

@ -116,7 +116,7 @@ fn test_parse_stylesheet() {
]))),
source_location: SourceLocation {
line: 3,
column: 31,
column: 9,
},
}))),
CssRule::Style(Arc::new(stylesheet.shared_lock.wrap(StyleRule {
@ -143,7 +143,7 @@ fn test_parse_stylesheet() {
]))),
source_location: SourceLocation {
line: 11,
column: 27,
column: 9,
},
}))),
CssRule::Style(Arc::new(stylesheet.shared_lock.wrap(StyleRule {
@ -205,7 +205,7 @@ fn test_parse_stylesheet() {
]))),
source_location: SourceLocation {
line: 15,
column: 20,
column: 9,
},
}))),
CssRule::Keyframes(Arc::new(stylesheet.shared_lock.wrap(KeyframesRule {