Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fpetrakov committed Sep 3, 2022
1 parent 4e13d1c commit 2ed33a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/reference/atKeywords.js
Expand Up @@ -28,6 +28,7 @@ const atKeywords = uniteSets(pageMarginAtKeywords, [
'apply',
'character-variant',
'charset',
'container',
'counter-style',
'custom-media',
'custom-selector',
Expand All @@ -48,7 +49,6 @@ const atKeywords = uniteSets(pageMarginAtKeywords, [
'supports',
'swash',
'viewport',
'container',
]);

module.exports = {
Expand Down
13 changes: 7 additions & 6 deletions lib/reference/units.js
Expand Up @@ -10,12 +10,6 @@ const lengthUnits = new Set([
'rem',
'rlh',
'lh',
'cqw',
'cqh',
'cqi',
'cqb',
'cqmin',
'cqmax',
// Viewport-percentage lengths
'dvh',
'dvmax',
Expand Down Expand Up @@ -45,6 +39,13 @@ const lengthUnits = new Set([
'mozmm',
// Flexible length units
'fr',
// Container query units
'cqw',
'cqh',
'cqi',
'cqb',
'cqmin',
'cqmax',
]);

const units = uniteSets(lengthUnits, [
Expand Down

0 comments on commit 2ed33a8

Please sign in to comment.