Skip to content

Commit

Permalink
Adds test for invalid font-synthesis-* value (tests a branch)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattxwang committed Oct 7, 2023
1 parent db1a52e commit 8fddced
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,12 @@ testRule({
description: 'font-synthesis - mixed',
message: messages.expected('font-synthesis'),
},
{
code: 'a { font-synthesis-weight: aut3; font-synthesis-style: none; font-synthesis-small-caps: auto; }',
unfixable: true,
description: 'font-synthesis - invalid value cannot be combined',
message: messages.expected('font-synthesis'),
},
],
});

Expand Down

0 comments on commit 8fddced

Please sign in to comment.