Skip to content

Commit

Permalink
Update validator.js (#1267)
Browse files Browse the repository at this point in the history
Added unit types for for container query lengths:

cqw: 1% of a query container's width
cqh: 1% of a query container's height
cqi: 1% of a query container's inline size
cqb: 1% of a query container's block size
cqmin: The smaller value of either cqi or cqb
cqmax: The larger value of either cqi or cqb
  • Loading branch information
bernesto committed Dec 19, 2023
1 parent f8b55a2 commit 1ab8b7f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/optimizer/validator.js
Expand Up @@ -339,6 +339,12 @@ var Units = [
'%',
'ch',
'cm',
'cqw',
'cqh',
'cqi',
'cqb',
'cqmin',
'cqmax',
'em',
'ex',
'in',
Expand Down

0 comments on commit 1ab8b7f

Please sign in to comment.