Use InvalidRule for nested rule list.

This commit is contained in:
Xidorn Quan 2017-11-15 13:11:09 -08:00
parent 9863d51451
commit faa6898237
2 changed files with 2 additions and 3 deletions

View file

@ -354,9 +354,8 @@ fn test_report_error_stylesheet() {
// When @font-feature-values is supported, this should be replaced with two errors
(15, 25, "Invalid rule: '@font-feature-values "),
// FIXME: the message of these two should be consistent
(16, 13, "Invalid rule: '@invalid'"),
(17, 29, "Unsupported rule: '@invalid'"),
(17, 29, "Invalid rule: '@invalid'"),
(18, 34, "Invalid rule: '@supports "),
(19, 26, "Invalid keyframe rule: 'from invalid '"),