Skip to content

Commit 231845d

Browse files
authored
Various fixes to the parser functions
Some functionality, some code quality. Fixes #189. Fixes #199. Closes #190. Closes #112.
1 parent 11fa40f commit 231845d

File tree

7 files changed

+784
-280
lines changed

7 files changed

+784
-280
lines changed

lib/constants.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,13 @@ module.exports.POSITION_AT_SHORTHAND = {
44
first: 0,
55
second: 1,
66
};
7+
8+
// CSS global values
9+
// see https://drafts.csswg.org/css-cascade-5/#defaulting-keywords
10+
module.exports.GLOBAL_VALUES = Object.freeze([
11+
'initial',
12+
'inherit',
13+
'unset',
14+
'revert',
15+
'revert-layer',
16+
]);

0 commit comments

Comments
 (0)