mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Report an error for invalid CSS color values (bug 1381143).
This commit is contained in:
parent
cf5602e84f
commit
4b736354c4
6 changed files with 154 additions and 82 deletions
|
@ -378,7 +378,7 @@ fn test_report_error_stylesheet() {
|
|||
|
||||
let error = errors.pop().unwrap();
|
||||
assert_eq!("Unsupported property declaration: 'display: invalid;', \
|
||||
Custom(PropertyDeclaration(InvalidValue(\"display\")))", error.message);
|
||||
Custom(PropertyDeclaration(InvalidValue(\"display\", None)))", error.message);
|
||||
assert_eq!(8, error.line);
|
||||
assert_eq!(8, error.column);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue