mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #19237 - upsuper:error-nested-rule, r=emilio
Use InvalidRule for nested rule list This fixes [bug 1417548](https://bugzilla.mozilla.org/show_bug.cgi?id=1417548). Apparently it makes no sense to have different error between top level rules and nested rules. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19237) <!-- Reviewable:end -->
This commit is contained in:
commit
bf29f64bf6
2 changed files with 2 additions and 3 deletions
|
@ -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 '"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue