mirror of
https://github.com/servo/servo.git
synced 2025-06-25 01:24:37 +01:00
Look for var() in a non-custom property declaration after a parse error.
This commit is contained in:
parent
70ea5f61a2
commit
389d537451
4 changed files with 3 additions and 9 deletions
|
@ -205,6 +205,9 @@ pub mod longhands {
|
|||
input.look_for_var_functions();
|
||||
let start = input.position();
|
||||
let specified = parse_specified(context, input);
|
||||
if specified.is_err() {
|
||||
while let Ok(_) = input.next() {} // Look for var() after the error.
|
||||
}
|
||||
let var = input.seen_var_functions();
|
||||
if specified.is_err() && var {
|
||||
input.reset(start);
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[variable-reference-15.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[variable-reference-18.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[variable-reference-19.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue