Skip to content

Commit

Permalink
Updated CSS Conditional 3
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianZ committed Aug 27, 2024
1 parent 418902a commit a411303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/css-conditional-3.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default {
dev: '#the-cssmediarule-interface',
mdnGroup: 'DOM',
},
tests: ['media', 'conditionText'],
tests: ['media', 'matches', 'conditionText'],
required: '@media (min-width: 500px) { }',
interface: function(style) {
return style.sheet.cssRules[0];
Expand All @@ -67,7 +67,7 @@ export default {
dev: '#the-csssupportsrule-interface',
mdnGroup: 'DOM',
},
tests: ['conditionText'],
tests: ['matches', 'conditionText'],
required: '@supports (display: grid) { }',
interface: function(style) {
return style.sheet.cssRules[0];
Expand Down

0 comments on commit a411303

Please # to comment.