zyzz 0.0.16 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -395,7 +395,7 @@ const textSpacing = {
395
395
  };
396
396
  const track = { explicit: false, kind: 'grid-tracks' };
397
397
  /** Canonical domains shared by legacy aliases and standard declarations. */
398
- export const aliases = {
398
+ const legacyAliases = {
399
399
  gridColumnGap: 'columnGap',
400
400
  gridGap: 'gap',
401
401
  gridRowGap: 'rowGap',
@@ -460,8 +460,7 @@ export function name(property) {
460
460
  return '-ms-scrollbar-3dlight-color';
461
461
  return property.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`);
462
462
  }
463
- /** Single source of truth for the supported literal properties and domains. */
464
- export const rules = {
463
+ const properties = {
465
464
  accentColor: { ...color, keywords: ['auto'] },
466
465
  alignContent: {
467
466
  kind: 'enum',
@@ -574,6 +573,7 @@ export const rules = {
574
573
  kind: 'enum',
575
574
  values: ['inherit', 'initial', 'revert', 'revert-layer', 'unset'],
576
575
  },
576
+ alt: { kind: 'enum', values: [], quoted: true, functions: ['attr'] },
577
577
  anchorName: {
578
578
  dashed: true,
579
579
  keywords: ['none'],
@@ -697,6 +697,16 @@ export const rules = {
697
697
  list: true,
698
698
  values: ['no-repeat', 'repeat', 'repeat-x', 'repeat-y', 'round', 'space'],
699
699
  },
700
+ backgroundRepeatX: {
701
+ kind: 'enum',
702
+ values: ['repeat', 'space', 'round', 'no-repeat'],
703
+ list: true,
704
+ },
705
+ backgroundRepeatY: {
706
+ kind: 'enum',
707
+ values: ['repeat', 'space', 'round', 'no-repeat'],
708
+ list: true,
709
+ },
700
710
  backgroundSize: {
701
711
  ...length,
702
712
  auto: true,
@@ -710,6 +720,11 @@ export const rules = {
710
720
  negative: true,
711
721
  },
712
722
  baselineSource: { kind: 'enum', values: ['auto', 'first', 'last'] },
723
+ blockEllipsis: {
724
+ kind: 'enum',
725
+ values: ['no-ellipsis', 'auto'],
726
+ quoted: true,
727
+ },
713
728
  blockSize: {
714
729
  ...size,
715
730
  functions: ['anchor-size', 'calc-size', 'fit-content'],
@@ -879,6 +894,7 @@ export const rules = {
879
894
  kind: 'enum',
880
895
  values: ['avoid-region', 'auto', 'avoid', 'avoid-column', 'avoid-page'],
881
896
  },
897
+ bufferedRendering: { kind: 'enum', values: ['auto', 'dynamic', 'static'] },
882
898
  captionSide: { kind: 'enum', values: ['bottom', 'top'] },
883
899
  caret: { kind: 'compound', property: 'caret' },
884
900
  caretAnimation: { kind: 'enum', values: ['auto', 'manual'] },
@@ -892,10 +908,15 @@ export const rules = {
892
908
  clipPath: { kind: 'compound', property: 'clipPath' },
893
909
  clipRule: { kind: 'enum', values: ['evenodd', 'nonzero'] },
894
910
  color,
911
+ colorInterpolation: { kind: 'enum', values: ['auto', 'sRGB', 'linearRGB'] },
895
912
  colorInterpolationFilters: {
896
913
  kind: 'enum',
897
914
  values: ['auto', 'linearRGB', 'sRGB'],
898
915
  },
916
+ colorRendering: {
917
+ kind: 'enum',
918
+ values: ['auto', 'optimizeSpeed', 'optimizeQuality'],
919
+ },
899
920
  colorScheme: {
900
921
  kind: 'identifier',
901
922
  keywords: [
@@ -913,8 +934,52 @@ export const rules = {
913
934
  columnGap: { ...length, keywords: ['normal'] },
914
935
  columnHeight: { ...length, auto: true, percentage: false },
915
936
  columnRule: { kind: 'line' },
937
+ columnRuleBreak: { kind: 'enum', values: ['none', 'normal', 'intersection'] },
916
938
  columnRuleColor: color,
939
+ columnRuleInset: { kind: 'compound', property: 'ruleInset' },
940
+ columnRuleInsetCap: {
941
+ ...length,
942
+ negative: true,
943
+ items: 2,
944
+ keywords: ['overlap-join'],
945
+ },
946
+ columnRuleInsetCapEnd: {
947
+ ...length,
948
+ negative: true,
949
+ keywords: ['overlap-join'],
950
+ },
951
+ columnRuleInsetCapStart: {
952
+ ...length,
953
+ negative: true,
954
+ keywords: ['overlap-join'],
955
+ },
956
+ columnRuleInsetEnd: { ...length, negative: true, keywords: ['overlap-join'] },
957
+ columnRuleInsetJunction: {
958
+ ...length,
959
+ negative: true,
960
+ items: 2,
961
+ keywords: ['overlap-join'],
962
+ },
963
+ columnRuleInsetJunctionEnd: {
964
+ ...length,
965
+ negative: true,
966
+ keywords: ['overlap-join'],
967
+ },
968
+ columnRuleInsetJunctionStart: {
969
+ ...length,
970
+ negative: true,
971
+ keywords: ['overlap-join'],
972
+ },
973
+ columnRuleInsetStart: {
974
+ ...length,
975
+ negative: true,
976
+ keywords: ['overlap-join'],
977
+ },
917
978
  columnRuleStyle: border,
979
+ columnRuleVisibilityItems: {
980
+ kind: 'enum',
981
+ values: ['all', 'around', 'between', 'normal'],
982
+ },
918
983
  columnRuleWidth: { ...stroke, keywords: ['medium', 'thick', 'thin'] },
919
984
  columns: { kind: 'compound', property: 'columns' },
920
985
  columnSpan: { kind: 'enum', values: ['all', 'none'] },
@@ -1002,6 +1067,10 @@ export const rules = {
1002
1067
  },
1003
1068
  content: { kind: 'compound', property: 'content' },
1004
1069
  contentVisibility: { kind: 'enum', values: ['auto', 'hidden', 'visible'] },
1070
+ continue: {
1071
+ kind: 'enum',
1072
+ values: ['auto', 'discard', 'collapse', '-webkit-legacy'],
1073
+ },
1005
1074
  cornerBlockEndShape: { kind: 'corner', items: 2 },
1006
1075
  cornerBlockStartShape: { kind: 'corner', items: 2 },
1007
1076
  cornerBottomLeftShape: { kind: 'corner' },
@@ -1335,6 +1404,7 @@ export const rules = {
1335
1404
  },
1336
1405
  floodColor: color,
1337
1406
  floodOpacity: alpha,
1407
+ flowTolerance: { ...length, keywords: ['normal', 'infinite'] },
1338
1408
  font: { kind: 'compound', property: 'font' },
1339
1409
  fontFamily: { kind: 'compound', property: 'fontFamily' },
1340
1410
  fontFeatureSettings: { kind: 'compound', property: 'fontFeatureSettings' },
@@ -1509,6 +1579,10 @@ export const rules = {
1509
1579
  ],
1510
1580
  },
1511
1581
  gap: { ...length, items: 2, keywords: ['normal'] },
1582
+ glyphOrientationVertical: {
1583
+ kind: 'compound',
1584
+ property: 'glyphOrientationVertical',
1585
+ },
1512
1586
  grid: { kind: 'compound', property: 'grid' },
1513
1587
  gridArea: { kind: 'grid-line', items: 4 },
1514
1588
  gridAutoColumns: track,
@@ -1948,6 +2022,11 @@ export const rules = {
1948
2022
  'soft-light',
1949
2023
  ],
1950
2024
  },
2025
+ MozAnimationName: {
2026
+ keywords: ['none'],
2027
+ kind: 'identifier',
2028
+ separator: 'comma',
2029
+ },
1951
2030
  MozAppearance: {
1952
2031
  kind: 'enum',
1953
2032
  values: [
@@ -2063,6 +2142,32 @@ export const rules = {
2063
2142
  'treeview',
2064
2143
  ],
2065
2144
  },
2145
+ MozBackgroundClip: {
2146
+ kind: 'enum',
2147
+ list: true,
2148
+ values: [
2149
+ 'border-area',
2150
+ 'border-box',
2151
+ 'content-box',
2152
+ 'padding-box',
2153
+ 'text',
2154
+ 'border',
2155
+ 'padding',
2156
+ 'content',
2157
+ ],
2158
+ },
2159
+ MozBackgroundOrigin: {
2160
+ kind: 'enum',
2161
+ list: true,
2162
+ values: [
2163
+ 'border-box',
2164
+ 'content-box',
2165
+ 'padding-box',
2166
+ 'border',
2167
+ 'padding',
2168
+ 'content',
2169
+ ],
2170
+ },
2066
2171
  MozBinding: { kind: 'url' },
2067
2172
  MozBorderBottomColors: {
2068
2173
  kind: 'tuple',
@@ -2101,6 +2206,10 @@ export const rules = {
2101
2206
  kind: 'enum',
2102
2207
  values: ['border-box', 'content-box', 'margin-box', 'padding-box'],
2103
2208
  },
2209
+ MozFontLanguageOverride: {
2210
+ kind: 'compound',
2211
+ property: 'fontLanguageOverride',
2212
+ },
2104
2213
  MozForceBrokenImageIcon: {
2105
2214
  kind: 'compound',
2106
2215
  property: 'MozForceBrokenImageIcon',
@@ -2109,6 +2218,7 @@ export const rules = {
2109
2218
  kind: 'enum',
2110
2219
  values: ['block', 'horizontal', 'inline', 'vertical'],
2111
2220
  },
2221
+ MozOsxFontSmoothing: { kind: 'enum', values: ['auto', 'grayscale'] },
2112
2222
  MozOutlineRadius: { ...length, axes: true, items: 4 },
2113
2223
  MozOutlineRadiusBottomleft: length,
2114
2224
  MozOutlineRadiusBottomright: length,
@@ -2227,6 +2337,11 @@ export const rules = {
2227
2337
  },
2228
2338
  MsWrapMargin: stroke,
2229
2339
  MsWrapThrough: { kind: 'enum', values: ['none', 'wrap'] },
2340
+ OAnimationName: {
2341
+ keywords: ['none'],
2342
+ kind: 'identifier',
2343
+ separator: 'comma',
2344
+ },
2230
2345
  objectFit: {
2231
2346
  kind: 'enum',
2232
2347
  values: ['contain', 'cover', 'fill', 'none', 'scale-down'],
@@ -2396,6 +2511,46 @@ export const rules = {
2396
2511
  right: { ...margin, functions: ['anchor', 'anchor-size'] },
2397
2512
  rotate: { kind: 'rotate' },
2398
2513
  rowGap: { ...length, keywords: ['normal'] },
2514
+ rowRule: { kind: 'compound', property: 'rowRule', negative: false },
2515
+ rowRuleBreak: { kind: 'enum', values: ['none', 'normal', 'intersection'] },
2516
+ rowRuleColor: { kind: 'compound', property: 'rowRuleColor' },
2517
+ rowRuleInset: { kind: 'compound', property: 'ruleInset' },
2518
+ rowRuleInsetCap: {
2519
+ ...length,
2520
+ negative: true,
2521
+ items: 2,
2522
+ keywords: ['overlap-join'],
2523
+ },
2524
+ rowRuleInsetCapEnd: { ...length, negative: true, keywords: ['overlap-join'] },
2525
+ rowRuleInsetCapStart: {
2526
+ ...length,
2527
+ negative: true,
2528
+ keywords: ['overlap-join'],
2529
+ },
2530
+ rowRuleInsetEnd: { ...length, negative: true, keywords: ['overlap-join'] },
2531
+ rowRuleInsetJunction: {
2532
+ ...length,
2533
+ negative: true,
2534
+ items: 2,
2535
+ keywords: ['overlap-join'],
2536
+ },
2537
+ rowRuleInsetJunctionEnd: {
2538
+ ...length,
2539
+ negative: true,
2540
+ keywords: ['overlap-join'],
2541
+ },
2542
+ rowRuleInsetJunctionStart: {
2543
+ ...length,
2544
+ negative: true,
2545
+ keywords: ['overlap-join'],
2546
+ },
2547
+ rowRuleInsetStart: { ...length, negative: true, keywords: ['overlap-join'] },
2548
+ rowRuleStyle: { kind: 'compound', property: 'rowRuleStyle' },
2549
+ rowRuleVisibilityItems: {
2550
+ kind: 'enum',
2551
+ values: ['all', 'around', 'between', 'normal'],
2552
+ },
2553
+ rowRuleWidth: { kind: 'compound', property: 'rowRuleWidth', negative: false },
2399
2554
  rubyAlign: {
2400
2555
  kind: 'enum',
2401
2556
  values: ['center', 'space-around', 'space-between', 'start'],
@@ -2415,9 +2570,35 @@ export const rules = {
2415
2570
  'under alternate',
2416
2571
  ],
2417
2572
  },
2573
+ rule: { kind: 'compound', property: 'rowRule', negative: false },
2574
+ ruleBreak: { kind: 'enum', values: ['none', 'normal', 'intersection'] },
2575
+ ruleColor: { kind: 'compound', property: 'rowRuleColor' },
2576
+ ruleInset: { kind: 'compound', property: 'ruleInset' },
2577
+ ruleInsetCap: {
2578
+ ...length,
2579
+ negative: true,
2580
+ items: 2,
2581
+ keywords: ['overlap-join'],
2582
+ },
2583
+ ruleInsetEnd: { ...length, negative: true, keywords: ['overlap-join'] },
2584
+ ruleInsetJunction: {
2585
+ ...length,
2586
+ negative: true,
2587
+ items: 2,
2588
+ keywords: ['overlap-join'],
2589
+ },
2590
+ ruleInsetStart: { ...length, negative: true, keywords: ['overlap-join'] },
2591
+ ruleOverlap: { kind: 'enum', values: ['row-over-column', 'column-over-row'] },
2592
+ ruleStyle: { kind: 'compound', property: 'rowRuleStyle' },
2593
+ ruleVisibilityItems: {
2594
+ kind: 'enum',
2595
+ values: ['all', 'around', 'between', 'normal'],
2596
+ },
2597
+ ruleWidth: { kind: 'compound', property: 'rowRuleWidth', negative: false },
2418
2598
  rx: { ...length, auto: true },
2419
2599
  ry: { ...length, auto: true },
2420
2600
  scale: { kind: 'scale' },
2601
+ scrollAxisLock: { kind: 'enum', values: ['auto', 'none'] },
2421
2602
  scrollbarColor: {
2422
2603
  kind: 'tuple',
2423
2604
  atoms: ['color'],
@@ -2532,6 +2713,7 @@ export const rules = {
2532
2713
  kind: 'enum',
2533
2714
  values: ['auto', 'crispEdges', 'geometricPrecision', 'optimizeSpeed'],
2534
2715
  },
2716
+ speak: { kind: 'enum', values: ['auto', 'never', 'always'] },
2535
2717
  speakAs: {
2536
2718
  groups: [
2537
2719
  ['spell-out'],
@@ -2715,6 +2897,11 @@ export const rules = {
2715
2897
  },
2716
2898
  textDecorationSkip: { kind: 'compound', property: 'textDecorationSkip' },
2717
2899
  textDecorationSkipInk: { kind: 'enum', values: ['all', 'auto', 'none'] },
2900
+ textDecorationSkipSpaces: {
2901
+ kind: 'enum',
2902
+ values: ['none', 'all', 'start', 'end'],
2903
+ groups: [['start'], ['end']],
2904
+ },
2718
2905
  textDecorationStyle: {
2719
2906
  kind: 'enum',
2720
2907
  values: ['dashed', 'dotted', 'double', 'solid', 'wavy'],
@@ -3061,6 +3248,10 @@ export const rules = {
3061
3248
  'plaintext',
3062
3249
  ],
3063
3250
  },
3251
+ userModify: {
3252
+ kind: 'enum',
3253
+ values: ['read-only', 'read-write', 'read-write-plaintext-only'],
3254
+ },
3064
3255
  userSelect: {
3065
3256
  kind: 'enum',
3066
3257
  values: ['all', 'auto', 'none', 'text'],
@@ -3116,6 +3307,10 @@ export const rules = {
3116
3307
  separator: 'space',
3117
3308
  standalone: ['none'],
3118
3309
  },
3310
+ viewTransitionGroup: {
3311
+ kind: 'identifier',
3312
+ keywords: ['normal', 'contain', 'nearest'],
3313
+ },
3119
3314
  viewTransitionName: {
3120
3315
  keywords: ['match-element', 'none'],
3121
3316
  kind: 'identifier',
@@ -3123,6 +3318,11 @@ export const rules = {
3123
3318
  },
3124
3319
  viewTransitionScope: { kind: 'enum', values: ['all', 'none'] },
3125
3320
  visibility: { kind: 'enum', values: ['collapse', 'hidden', 'visible'] },
3321
+ WebkitAnimationName: {
3322
+ keywords: ['none'],
3323
+ kind: 'identifier',
3324
+ separator: 'comma',
3325
+ },
3126
3326
  WebkitAppearance: {
3127
3327
  kind: 'enum',
3128
3328
  values: [
@@ -3177,6 +3377,37 @@ export const rules = {
3177
3377
  'textfield',
3178
3378
  ],
3179
3379
  },
3380
+ WebkitAppRegion: {
3381
+ kind: 'enum',
3382
+ values: ['drag', 'no-drag', 'none', 'move'],
3383
+ },
3384
+ WebkitBackgroundClip: {
3385
+ kind: 'enum',
3386
+ list: true,
3387
+ values: [
3388
+ 'border-box',
3389
+ 'content-box',
3390
+ 'padding-box',
3391
+ 'text',
3392
+ 'border',
3393
+ 'padding',
3394
+ 'content',
3395
+ '-webkit-text',
3396
+ ],
3397
+ },
3398
+ WebkitBackgroundOrigin: {
3399
+ kind: 'enum',
3400
+ list: true,
3401
+ values: [
3402
+ 'border-box',
3403
+ 'content-box',
3404
+ 'padding-box',
3405
+ 'border',
3406
+ 'padding',
3407
+ 'content',
3408
+ '-webkit-text',
3409
+ ],
3410
+ },
3180
3411
  WebkitBorderAfter: { kind: 'line' },
3181
3412
  WebkitBorderAfterColor: color,
3182
3413
  WebkitBorderAfterStyle: border,
@@ -3189,12 +3420,79 @@ export const rules = {
3189
3420
  WebkitBorderEndColor: color,
3190
3421
  WebkitBorderEndStyle: border,
3191
3422
  WebkitBorderEndWidth: { ...stroke, keywords: ['medium', 'thick', 'thin'] },
3423
+ WebkitBorderHorizontalSpacing: stroke,
3192
3424
  WebkitBorderStart: { kind: 'line' },
3193
3425
  WebkitBorderStartColor: color,
3194
3426
  WebkitBorderStartStyle: border,
3195
3427
  WebkitBorderStartWidth: { ...stroke, keywords: ['medium', 'thick', 'thin'] },
3428
+ WebkitBorderVerticalSpacing: stroke,
3429
+ WebkitBoxPack: {
3430
+ kind: 'enum',
3431
+ values: ['center', 'end', 'justify', 'start'],
3432
+ },
3196
3433
  WebkitBoxReflect: { kind: 'compound', property: 'WebkitBoxReflect' },
3434
+ WebkitColumnAxis: {
3435
+ kind: 'enum',
3436
+ values: ['horizontal', 'vertical', 'auto'],
3437
+ },
3438
+ WebkitColumnBreakAfter: { kind: 'enum', values: ['auto', 'always', 'avoid'] },
3439
+ WebkitColumnBreakBefore: {
3440
+ kind: 'enum',
3441
+ values: ['auto', 'always', 'avoid'],
3442
+ },
3443
+ WebkitColumnBreakInside: { kind: 'enum', values: ['auto', 'avoid'] },
3444
+ WebkitColumnProgression: { kind: 'enum', values: ['normal', 'reverse'] },
3445
+ WebkitCursorVisibility: { kind: 'enum', values: ['auto', 'auto-hide'] },
3446
+ WebkitFontFeatureSettings: {
3447
+ kind: 'compound',
3448
+ property: 'fontFeatureSettings',
3449
+ },
3450
+ WebkitFontSmoothing: {
3451
+ kind: 'enum',
3452
+ values: ['antialiased', 'auto', 'none', 'subpixel-antialiased'],
3453
+ },
3454
+ WebkitHyphenateCharacter: {
3455
+ kind: 'compound',
3456
+ property: 'hyphenateCharacter',
3457
+ },
3458
+ WebkitHyphenateLimitAfter: { ...positiveInteger, min: 0, keywords: ['auto'] },
3459
+ WebkitHyphenateLimitBefore: {
3460
+ ...positiveInteger,
3461
+ min: 0,
3462
+ keywords: ['auto'],
3463
+ },
3464
+ WebkitHyphenateLimitLines: {
3465
+ ...positiveInteger,
3466
+ min: 0,
3467
+ keywords: ['no-limit'],
3468
+ },
3469
+ WebkitLineAlign: { kind: 'enum', values: ['none', 'edges'] },
3470
+ WebkitLineBoxContain: {
3471
+ kind: 'enum',
3472
+ values: [
3473
+ 'none',
3474
+ 'block',
3475
+ 'inline',
3476
+ 'font',
3477
+ 'glyphs',
3478
+ 'replaced',
3479
+ 'inline-box',
3480
+ 'initial-letter',
3481
+ ],
3482
+ groups: [
3483
+ ['block'],
3484
+ ['inline'],
3485
+ ['font'],
3486
+ ['glyphs'],
3487
+ ['replaced'],
3488
+ ['inline-box'],
3489
+ ['initial-letter'],
3490
+ ],
3491
+ },
3197
3492
  WebkitLineClamp: { ...positiveInteger, keywords: ['none'] },
3493
+ WebkitLineGrid: { kind: 'identifier', keywords: ['none'] },
3494
+ WebkitLineSnap: { kind: 'enum', values: ['none', 'baseline', 'contain'] },
3495
+ WebkitLocale: { kind: 'enum', values: ['auto'], quoted: true },
3198
3496
  WebkitMask: { kind: 'compound', property: 'WebkitMask' },
3199
3497
  WebkitMaskAttachment: {
3200
3498
  kind: 'enum',
@@ -3274,18 +3572,175 @@ export const rules = {
3274
3572
  values: ['no-repeat', 'repeat', 'round', 'space'],
3275
3573
  },
3276
3574
  WebkitMaskSize: { kind: 'compound', property: 'WebkitMaskSize' },
3575
+ WebkitMaskSourceType: {
3576
+ kind: 'enum',
3577
+ values: ['alpha', 'luminance', 'auto'],
3578
+ list: true,
3579
+ },
3580
+ WebkitMaxLogicalHeight: {
3581
+ ...maximum,
3582
+ functions: ['anchor-size', 'calc-size', 'fit-content'],
3583
+ },
3584
+ WebkitMaxLogicalWidth: {
3585
+ ...maximum,
3586
+ functions: ['anchor-size', 'calc-size', 'fit-content'],
3587
+ },
3588
+ WebkitMinLogicalHeight: {
3589
+ ...size,
3590
+ functions: ['anchor-size', 'calc-size', 'fit-content'],
3591
+ },
3592
+ WebkitMinLogicalWidth: {
3593
+ ...size,
3594
+ functions: ['anchor-size', 'calc-size', 'fit-content'],
3595
+ },
3596
+ WebkitNbspMode: { kind: 'enum', values: ['normal', 'space'] },
3277
3597
  WebkitOverflowScrolling: { kind: 'enum', values: ['auto', 'touch'] },
3598
+ WebkitPerspective: { ...stroke, numeric: true, keywords: ['none'] },
3599
+ WebkitPerspectiveOriginX: {
3600
+ ...length,
3601
+ negative: true,
3602
+ keywords: ['left', 'center', 'right'],
3603
+ },
3604
+ WebkitPerspectiveOriginY: {
3605
+ ...length,
3606
+ negative: true,
3607
+ keywords: ['top', 'center', 'bottom'],
3608
+ },
3609
+ WebkitRtlOrdering: { kind: 'enum', values: ['logical', 'visual'] },
3610
+ WebkitRubyPosition: {
3611
+ kind: 'enum',
3612
+ values: ['before', 'after', 'inter-character'],
3613
+ },
3614
+ WebkitScrollSnapType: {
3615
+ kind: 'enum',
3616
+ values: ['none', 'mandatory', 'proximity'],
3617
+ },
3278
3618
  WebkitTapHighlightColor: color,
3619
+ WebkitTextCombine: { kind: 'enum', values: ['none', 'horizontal'] },
3620
+ WebkitTextDecorationsInEffect: {
3621
+ kind: 'enum',
3622
+ values: [
3623
+ 'blink',
3624
+ 'blink line-through',
3625
+ 'blink line-through overline',
3626
+ 'blink line-through overline underline',
3627
+ 'blink line-through underline',
3628
+ 'blink line-through underline overline',
3629
+ 'blink overline',
3630
+ 'blink overline line-through',
3631
+ 'blink overline line-through underline',
3632
+ 'blink overline underline',
3633
+ 'blink overline underline line-through',
3634
+ 'blink underline',
3635
+ 'blink underline line-through',
3636
+ 'blink underline line-through overline',
3637
+ 'blink underline overline',
3638
+ 'blink underline overline line-through',
3639
+ 'grammar-error',
3640
+ 'line-through',
3641
+ 'line-through blink',
3642
+ 'line-through blink overline',
3643
+ 'line-through blink overline underline',
3644
+ 'line-through blink underline',
3645
+ 'line-through blink underline overline',
3646
+ 'line-through overline',
3647
+ 'line-through overline blink',
3648
+ 'line-through overline blink underline',
3649
+ 'line-through overline underline',
3650
+ 'line-through overline underline blink',
3651
+ 'line-through underline',
3652
+ 'line-through underline blink',
3653
+ 'line-through underline blink overline',
3654
+ 'line-through underline overline',
3655
+ 'line-through underline overline blink',
3656
+ 'none',
3657
+ 'overline',
3658
+ 'overline blink',
3659
+ 'overline blink line-through',
3660
+ 'overline blink line-through underline',
3661
+ 'overline blink underline',
3662
+ 'overline blink underline line-through',
3663
+ 'overline line-through',
3664
+ 'overline line-through blink',
3665
+ 'overline line-through blink underline',
3666
+ 'overline line-through underline',
3667
+ 'overline line-through underline blink',
3668
+ 'overline underline',
3669
+ 'overline underline blink',
3670
+ 'overline underline blink line-through',
3671
+ 'overline underline line-through',
3672
+ 'overline underline line-through blink',
3673
+ 'spelling-error',
3674
+ 'underline',
3675
+ 'underline blink',
3676
+ 'underline blink line-through',
3677
+ 'underline blink line-through overline',
3678
+ 'underline blink overline',
3679
+ 'underline blink overline line-through',
3680
+ 'underline line-through',
3681
+ 'underline line-through blink',
3682
+ 'underline line-through blink overline',
3683
+ 'underline line-through overline',
3684
+ 'underline line-through overline blink',
3685
+ 'underline overline',
3686
+ 'underline overline blink',
3687
+ 'underline overline blink line-through',
3688
+ 'underline overline line-through',
3689
+ 'underline overline line-through blink',
3690
+ ],
3691
+ },
3692
+ WebkitTextDecorationSkip: {
3693
+ kind: 'compound',
3694
+ property: 'textDecorationSkip',
3695
+ },
3279
3696
  WebkitTextFillColor: color,
3697
+ WebkitTextOrientation: {
3698
+ kind: 'enum',
3699
+ values: ['mixed', 'sideways', 'upright'],
3700
+ },
3701
+ WebkitTextSecurity: {
3702
+ kind: 'enum',
3703
+ values: ['disc', 'circle', 'square', 'none'],
3704
+ },
3280
3705
  WebkitTextStroke: { kind: 'compound', property: 'WebkitTextStroke' },
3281
3706
  WebkitTextStrokeColor: color,
3282
3707
  WebkitTextStrokeWidth: stroke,
3708
+ WebkitTextZoom: { kind: 'enum', values: ['normal', 'reset'] },
3283
3709
  WebkitTouchCallout: { kind: 'enum', values: ['default', 'none'] },
3710
+ WebkitTransformOriginX: {
3711
+ ...length,
3712
+ negative: true,
3713
+ keywords: ['left', 'center', 'right'],
3714
+ },
3715
+ WebkitTransformOriginY: {
3716
+ ...length,
3717
+ negative: true,
3718
+ keywords: ['top', 'center', 'bottom'],
3719
+ },
3720
+ WebkitTransformOriginZ: { ...stroke, negative: true },
3721
+ WebkitUserDrag: { kind: 'enum', values: ['auto', 'none', 'element'] },
3284
3722
  WebkitUserModify: {
3285
3723
  kind: 'enum',
3286
3724
  values: ['read-only', 'read-write', 'read-write-plaintext-only'],
3287
3725
  },
3288
3726
  WebkitUserSelect: { kind: 'enum', values: ['all', 'auto', 'none', 'text'] },
3727
+ WebkitWritingMode: {
3728
+ kind: 'enum',
3729
+ values: [
3730
+ 'horizontal-tb',
3731
+ 'vertical-lr',
3732
+ 'vertical-rl',
3733
+ 'sideways-lr',
3734
+ 'sideways-rl',
3735
+ 'lr-tb',
3736
+ 'rl-tb',
3737
+ 'tb-rl',
3738
+ 'lr',
3739
+ 'rl',
3740
+ 'tb',
3741
+ 'horizontal-bt',
3742
+ ],
3743
+ },
3289
3744
  whiteSpace: {
3290
3745
  kind: 'enum',
3291
3746
  values: [
@@ -3332,6 +3787,11 @@ export const rules = {
3332
3787
  'preserve-spaces',
3333
3788
  ],
3334
3789
  },
3790
+ whiteSpaceTrim: {
3791
+ kind: 'enum',
3792
+ values: ['none', 'discard-before', 'discard-after', 'discard-inner'],
3793
+ groups: [['discard-before'], ['discard-after'], ['discard-inner']],
3794
+ },
3335
3795
  widows: positiveInteger,
3336
3796
  width: { ...size, functions: ['anchor-size', 'calc-size', 'fit-content'] },
3337
3797
  willChange: {
@@ -3341,12 +3801,14 @@ export const rules = {
3341
3801
  standalone: ['auto'],
3342
3802
  excluded: ['all', 'none', 'will-change'],
3343
3803
  },
3804
+ windowDrag: { kind: 'enum', values: ['none', 'move'] },
3344
3805
  wordBreak: {
3345
3806
  kind: 'enum',
3346
3807
  values: ['auto-phrase', 'break-all', 'break-word', 'keep-all', 'normal'],
3347
3808
  },
3348
3809
  wordSpacing: textSpacing,
3349
3810
  wordWrap: { kind: 'enum', values: ['break-word', 'normal'] },
3811
+ wrapInside: { kind: 'enum', values: ['auto', 'avoid'] },
3350
3812
  writingMode: {
3351
3813
  kind: 'enum',
3352
3814
  values: [
@@ -3368,4 +3830,278 @@ export const rules = {
3368
3830
  },
3369
3831
  zoom: { kind: 'compound', property: 'zoom', negative: false },
3370
3832
  };
3833
+ const propertyAliases = {
3834
+ colorAdjust: 'printColorAdjust',
3835
+ insetArea: 'positionArea',
3836
+ KhtmlBoxAlign: 'boxAlign',
3837
+ KhtmlBoxDirection: 'boxDirection',
3838
+ KhtmlBoxFlex: 'boxFlex',
3839
+ KhtmlBoxFlexGroup: 'boxFlexGroup',
3840
+ KhtmlBoxLines: 'boxLines',
3841
+ KhtmlBoxOrdinalGroup: 'boxOrdinalGroup',
3842
+ KhtmlBoxOrient: 'boxOrient',
3843
+ KhtmlBoxPack: 'boxPack',
3844
+ KhtmlLineBreak: 'lineBreak',
3845
+ KhtmlOpacity: 'opacity',
3846
+ KhtmlUserModify: 'userModify',
3847
+ KhtmlUserSelect: 'userSelect',
3848
+ motion: 'offset',
3849
+ motionDistance: 'offsetDistance',
3850
+ motionPath: 'offsetPath',
3851
+ motionRotation: 'offsetRotate',
3852
+ MozAnimation: 'animation',
3853
+ MozAnimationDelay: 'animationDelay',
3854
+ MozAnimationDirection: 'animationDirection',
3855
+ MozAnimationDuration: 'animationDuration',
3856
+ MozAnimationFillMode: 'animationFillMode',
3857
+ MozAnimationIterationCount: 'animationIterationCount',
3858
+ MozAnimationPlayState: 'animationPlayState',
3859
+ MozAnimationTimingFunction: 'animationTimingFunction',
3860
+ MozBackfaceVisibility: 'backfaceVisibility',
3861
+ MozBackgroundSize: 'backgroundSize',
3862
+ MozBorderEndColor: 'borderInlineEndColor',
3863
+ MozBorderEndStyle: 'borderInlineEndStyle',
3864
+ MozBorderEndWidth: 'borderInlineEndWidth',
3865
+ MozBorderImage: 'borderImage',
3866
+ MozBorderRadius: 'borderRadius',
3867
+ MozBorderRadiusBottomleft: 'borderBottomLeftRadius',
3868
+ MozBorderRadiusBottomright: 'borderBottomRightRadius',
3869
+ MozBorderRadiusTopleft: 'borderTopLeftRadius',
3870
+ MozBorderRadiusTopright: 'borderTopRightRadius',
3871
+ MozBorderStartColor: 'borderInlineStartColor',
3872
+ MozBorderStartStyle: 'borderInlineStartStyle',
3873
+ MozBoxAlign: 'boxAlign',
3874
+ MozBoxDirection: 'boxDirection',
3875
+ MozBoxFlex: 'boxFlex',
3876
+ MozBoxOrdinalGroup: 'boxOrdinalGroup',
3877
+ MozBoxOrient: 'boxOrient',
3878
+ MozBoxPack: 'boxPack',
3879
+ MozBoxShadow: 'boxShadow',
3880
+ MozBoxSizing: 'boxSizing',
3881
+ MozColumnCount: 'columnCount',
3882
+ MozColumnFill: 'columnFill',
3883
+ MozColumnRule: 'columnRule',
3884
+ MozColumnRuleColor: 'columnRuleColor',
3885
+ MozColumnRuleStyle: 'columnRuleStyle',
3886
+ MozColumnRuleWidth: 'columnRuleWidth',
3887
+ MozColumns: 'columns',
3888
+ MozColumnWidth: 'columnWidth',
3889
+ MozFontFeatureSettings: 'fontFeatureSettings',
3890
+ MozHyphens: 'hyphens',
3891
+ MozMarginEnd: 'marginInlineEnd',
3892
+ MozMarginStart: 'marginInlineStart',
3893
+ MozOpacity: 'opacity',
3894
+ MozOutline: 'outline',
3895
+ MozOutlineColor: 'outlineColor',
3896
+ MozOutlineStyle: 'outlineStyle',
3897
+ MozOutlineWidth: 'outlineWidth',
3898
+ MozPaddingEnd: 'paddingInlineEnd',
3899
+ MozPaddingStart: 'paddingInlineStart',
3900
+ MozPerspective: 'perspective',
3901
+ MozPerspectiveOrigin: 'perspectiveOrigin',
3902
+ MozTabSize: 'tabSize',
3903
+ MozTextAlignLast: 'textAlignLast',
3904
+ MozTextDecorationColor: 'textDecorationColor',
3905
+ MozTextDecorationLine: 'textDecorationLine',
3906
+ MozTextDecorationStyle: 'textDecorationStyle',
3907
+ MozTextSizeAdjust: 'textSizeAdjust',
3908
+ MozTransform: 'transform',
3909
+ MozTransformOrigin: 'transformOrigin',
3910
+ MozTransformStyle: 'transformStyle',
3911
+ MozTransition: 'transition',
3912
+ MozTransitionDelay: 'transitionDelay',
3913
+ MozTransitionDuration: 'transitionDuration',
3914
+ MozTransitionProperty: 'transitionProperty',
3915
+ MozTransitionTimingFunction: 'transitionTimingFunction',
3916
+ MozUserSelect: 'userSelect',
3917
+ MsFlex: 'flex',
3918
+ MsFlexDirection: 'flexDirection',
3919
+ MsFlexPositive: 'flexGrow',
3920
+ MsHyphens: 'hyphens',
3921
+ MsImeMode: 'imeMode',
3922
+ MsLineBreak: 'lineBreak',
3923
+ MsOrder: 'order',
3924
+ MsOverflowX: 'overflowX',
3925
+ MsOverflowY: 'overflowY',
3926
+ MsTextCombineHorizontal: 'textCombineUpright',
3927
+ MsTextOverflow: 'textOverflow',
3928
+ MsTouchAction: 'touchAction',
3929
+ MsTransform: 'transform',
3930
+ MsTransformOrigin: 'transformOrigin',
3931
+ MsTransition: 'transition',
3932
+ MsTransitionDelay: 'transitionDelay',
3933
+ MsTransitionDuration: 'transitionDuration',
3934
+ MsTransitionProperty: 'transitionProperty',
3935
+ MsTransitionTimingFunction: 'transitionTimingFunction',
3936
+ MsWordBreak: 'wordBreak',
3937
+ MsWritingMode: 'writingMode',
3938
+ OAnimation: 'animation',
3939
+ OAnimationDelay: 'animationDelay',
3940
+ OAnimationDirection: 'animationDirection',
3941
+ OAnimationDuration: 'animationDuration',
3942
+ OAnimationFillMode: 'animationFillMode',
3943
+ OAnimationIterationCount: 'animationIterationCount',
3944
+ OAnimationPlayState: 'animationPlayState',
3945
+ OAnimationTimingFunction: 'animationTimingFunction',
3946
+ OBackgroundSize: 'backgroundSize',
3947
+ OBorderImage: 'borderImage',
3948
+ offsetBlock: 'insetBlock',
3949
+ offsetBlockEnd: 'insetBlockEnd',
3950
+ offsetBlockStart: 'insetBlockStart',
3951
+ offsetInline: 'insetInline',
3952
+ offsetInlineEnd: 'insetInlineEnd',
3953
+ offsetInlineStart: 'insetInlineStart',
3954
+ offsetRotation: 'offsetRotate',
3955
+ OObjectFit: 'objectFit',
3956
+ OObjectPosition: 'objectPosition',
3957
+ OTabSize: 'tabSize',
3958
+ OTextOverflow: 'textOverflow',
3959
+ OTransform: 'transform',
3960
+ OTransformOrigin: 'transformOrigin',
3961
+ OTransition: 'transition',
3962
+ OTransitionDelay: 'transitionDelay',
3963
+ OTransitionDuration: 'transitionDuration',
3964
+ OTransitionProperty: 'transitionProperty',
3965
+ OTransitionTimingFunction: 'transitionTimingFunction',
3966
+ positionTryOptions: 'positionTryFallbacks',
3967
+ scrollSnapMargin: 'scrollMargin',
3968
+ scrollSnapMarginBottom: 'scrollMarginBottom',
3969
+ scrollSnapMarginLeft: 'scrollMarginLeft',
3970
+ scrollSnapMarginRight: 'scrollMarginRight',
3971
+ scrollSnapMarginTop: 'scrollMarginTop',
3972
+ WebkitAlignContent: 'alignContent',
3973
+ WebkitAlignItems: 'alignItems',
3974
+ WebkitAlignSelf: 'alignSelf',
3975
+ WebkitAlt: 'alt',
3976
+ WebkitAnimation: 'animation',
3977
+ WebkitAnimationDelay: 'animationDelay',
3978
+ WebkitAnimationDirection: 'animationDirection',
3979
+ WebkitAnimationDuration: 'animationDuration',
3980
+ WebkitAnimationFillMode: 'animationFillMode',
3981
+ WebkitAnimationIterationCount: 'animationIterationCount',
3982
+ WebkitAnimationPlayState: 'animationPlayState',
3983
+ WebkitAnimationTimingFunction: 'animationTimingFunction',
3984
+ WebkitBackdropFilter: 'backdropFilter',
3985
+ WebkitBackfaceVisibility: 'backfaceVisibility',
3986
+ WebkitBackgroundSize: 'backgroundSize',
3987
+ WebkitBorderBottomLeftRadius: 'borderBottomLeftRadius',
3988
+ WebkitBorderBottomRightRadius: 'borderBottomRightRadius',
3989
+ WebkitBorderImage: 'borderImage',
3990
+ WebkitBorderImageSlice: 'borderImageSlice',
3991
+ WebkitBorderRadius: 'borderRadius',
3992
+ WebkitBorderTopLeftRadius: 'borderTopLeftRadius',
3993
+ WebkitBorderTopRightRadius: 'borderTopRightRadius',
3994
+ WebkitBoxAlign: 'boxAlign',
3995
+ WebkitBoxDecorationBreak: 'boxDecorationBreak',
3996
+ WebkitBoxDirection: 'boxDirection',
3997
+ WebkitBoxFlex: 'boxFlex',
3998
+ WebkitBoxFlexGroup: 'boxFlexGroup',
3999
+ WebkitBoxLines: 'boxLines',
4000
+ WebkitBoxOrdinalGroup: 'boxOrdinalGroup',
4001
+ WebkitBoxOrient: 'boxOrient',
4002
+ WebkitBoxShadow: 'boxShadow',
4003
+ WebkitBoxSizing: 'boxSizing',
4004
+ WebkitClipPath: 'clipPath',
4005
+ WebkitColumnCount: 'columnCount',
4006
+ WebkitColumnFill: 'columnFill',
4007
+ WebkitColumnRule: 'columnRule',
4008
+ WebkitColumnRuleColor: 'columnRuleColor',
4009
+ WebkitColumnRuleStyle: 'columnRuleStyle',
4010
+ WebkitColumnRuleWidth: 'columnRuleWidth',
4011
+ WebkitColumns: 'columns',
4012
+ WebkitColumnSpan: 'columnSpan',
4013
+ WebkitColumnWidth: 'columnWidth',
4014
+ WebkitFilter: 'filter',
4015
+ WebkitFlex: 'flex',
4016
+ WebkitFlexBasis: 'flexBasis',
4017
+ WebkitFlexDirection: 'flexDirection',
4018
+ WebkitFlexFlow: 'flexFlow',
4019
+ WebkitFlexGrow: 'flexGrow',
4020
+ WebkitFlexShrink: 'flexShrink',
4021
+ WebkitFlexWrap: 'flexWrap',
4022
+ WebkitFontKerning: 'fontKerning',
4023
+ WebkitFontVariantLigatures: 'fontVariantLigatures',
4024
+ WebkitHyphens: 'hyphens',
4025
+ WebkitInitialLetter: 'initialLetter',
4026
+ WebkitJustifyContent: 'justifyContent',
4027
+ WebkitLineBreak: 'lineBreak',
4028
+ WebkitLogicalHeight: 'blockSize',
4029
+ WebkitLogicalWidth: 'inlineSize',
4030
+ WebkitMarginAfter: 'marginBlockEnd',
4031
+ WebkitMarginBefore: 'marginBlockStart',
4032
+ WebkitMarginEnd: 'marginInlineEnd',
4033
+ WebkitMarginStart: 'marginInlineStart',
4034
+ WebkitMaskBoxImage: 'maskBorder',
4035
+ WebkitMaskBoxImageOutset: 'maskBorderOutset',
4036
+ WebkitMaskBoxImageRepeat: 'maskBorderRepeat',
4037
+ WebkitMaskBoxImageSlice: 'maskBorderSlice',
4038
+ WebkitMaskBoxImageSource: 'maskBorderSource',
4039
+ WebkitMaskBoxImageWidth: 'maskBorderWidth',
4040
+ WebkitMaxInlineSize: 'maxInlineSize',
4041
+ WebkitOrder: 'order',
4042
+ WebkitPaddingEnd: 'paddingInlineEnd',
4043
+ WebkitPaddingStart: 'paddingInlineStart',
4044
+ WebkitPerspectiveOrigin: 'perspectiveOrigin',
4045
+ WebkitPrintColorAdjust: 'printColorAdjust',
4046
+ WebkitShapeMargin: 'shapeMargin',
4047
+ WebkitTextDecorationColor: 'textDecorationColor',
4048
+ WebkitTextDecorationLine: 'textDecorationLine',
4049
+ WebkitTextDecorationStyle: 'textDecorationStyle',
4050
+ WebkitTextEmphasis: 'textEmphasis',
4051
+ WebkitTextEmphasisColor: 'textEmphasisColor',
4052
+ WebkitTextEmphasisPosition: 'textEmphasisPosition',
4053
+ WebkitTextEmphasisStyle: 'textEmphasisStyle',
4054
+ WebkitTextSizeAdjust: 'textSizeAdjust',
4055
+ WebkitTextUnderlinePosition: 'textUnderlinePosition',
4056
+ WebkitTransform: 'transform',
4057
+ WebkitTransformOrigin: 'transformOrigin',
4058
+ WebkitTransformStyle: 'transformStyle',
4059
+ WebkitTransition: 'transition',
4060
+ WebkitTransitionDelay: 'transitionDelay',
4061
+ WebkitTransitionDuration: 'transitionDuration',
4062
+ WebkitTransitionProperty: 'transitionProperty',
4063
+ WebkitTransitionTimingFunction: 'transitionTimingFunction',
4064
+ };
4065
+ /** Supported literal properties, including equivalent legacy spellings. */
4066
+ export const rules = {
4067
+ ...properties,
4068
+ ...Object.fromEntries(Object.entries(propertyAliases).map(([name, property]) => [
4069
+ name,
4070
+ properties[property],
4071
+ ])),
4072
+ };
4073
+ /** Canonical conflict domains retain authored order across legacy spellings. */
4074
+ export const aliases = {
4075
+ ...legacyAliases,
4076
+ ...propertyAliases,
4077
+ MozAnimationName: 'animationName',
4078
+ MozBackgroundClip: 'backgroundClip',
4079
+ MozBackgroundOrigin: 'backgroundOrigin',
4080
+ MozFontLanguageOverride: 'fontLanguageOverride',
4081
+ MozOsxFontSmoothing: 'fontSmooth',
4082
+ OAnimationName: 'animationName',
4083
+ WebkitAnimationName: 'animationName',
4084
+ WebkitAppRegion: 'windowDrag',
4085
+ WebkitBackgroundClip: 'backgroundClip',
4086
+ WebkitBackgroundOrigin: 'backgroundOrigin',
4087
+ WebkitBoxPack: 'boxPack',
4088
+ WebkitColumnBreakAfter: 'breakAfter',
4089
+ WebkitColumnBreakBefore: 'breakBefore',
4090
+ WebkitColumnBreakInside: 'breakInside',
4091
+ WebkitFontFeatureSettings: 'fontFeatureSettings',
4092
+ WebkitFontSmoothing: 'fontSmooth',
4093
+ WebkitHyphenateCharacter: 'hyphenateCharacter',
4094
+ WebkitLineClamp: 'lineClamp',
4095
+ WebkitMaxLogicalHeight: 'maxBlockSize',
4096
+ WebkitMaxLogicalWidth: 'maxInlineSize',
4097
+ WebkitMinLogicalHeight: 'minBlockSize',
4098
+ WebkitMinLogicalWidth: 'minInlineSize',
4099
+ WebkitPerspective: 'perspective',
4100
+ WebkitRubyPosition: 'rubyPosition',
4101
+ WebkitScrollSnapType: 'scrollSnapType',
4102
+ WebkitTextCombine: 'textCombineUpright',
4103
+ WebkitTextDecorationSkip: 'textDecorationSkip',
4104
+ WebkitTextOrientation: 'textOrientation',
4105
+ WebkitWritingMode: 'writingMode',
4106
+ };
3371
4107
  //# sourceMappingURL=Literal.js.map