|
165 | 165 | "caret": "<'caret-color'> || <'caret-animation'> || <'caret-shape'>", |
166 | 166 | "caret-animation": "auto | manual", |
167 | 167 | "clear": "| block-start | block-end | top | bottom | both-inline | both-block", |
168 | | - "clip": "rect( <top> , <right> , <bottom> , <left> ) | auto", |
| 168 | + "clip": "rect( <top> , <right> , <bottom> , <left> ) | rect( <top> <right> <bottom> <left> ) | auto", |
169 | 169 | "color-adjust": "<'print-color-adjust'>", |
170 | 170 | "color-interpolation": "auto | sRGB | linearRGB", |
171 | 171 | "column-count": "auto | <integer [1,∞]>", |
|
508 | 508 | "types": { |
509 | 509 | "dashed-ident": "<custom-property-name>", |
510 | 510 | "unicode-range-token": "<urange>", |
511 | | - "alpha()": "alpha( [ from <color> ] [ / [ <alpha-value> | none ] ]? )", |
| 511 | + "alpha()": "alpha( [ from <color> ] [ / [ <alpha-value> | alpha | none ] ]? )", |
512 | 512 | "anchor-size()": "anchor-size( [ <anchor-name> || <anchor-size> ]? , <length-percentage>? )", |
513 | 513 | "anchor()": "anchor( <anchor-name>? && <anchor-side> , <length-percentage>? )", |
514 | 514 | "anchored-feature": "fallback : <'position-try-fallbacks'>", |
|
561 | 561 | "color-stop-angle": "[ <angle-percentage> | <zero> ]{1,2}", |
562 | 562 | "color-stop-list": "<linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]#?", |
563 | 563 | "color-stripe": "<color> && [ <length-percentage> | <flex> ]?", |
564 | | - "color()": "color( [ from <color> ]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )", |
| 564 | + "color()": "color( [ from <color> ]? [ <custom-params> | [ <predefined-rgb> [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? ] | [ <xyz-space> [ <number> | <percentage> | x | y | z | alpha | none ]{3} [ / [ <alpha-value> | x | y | z | alpha | none ] ]? ] ] )", |
565 | 565 | "colorspace-params": "[ <custom-params> | <predefined-rgb-params> | <xyz-params> ]", |
566 | 566 | "command-end-point": "[ to <position> | by <coordinate-pair> ]", |
567 | 567 | "compat-special": "textfield | menulist-button", |
|
632 | 632 | "hsl()": "[ <legacy-hsl-syntax> | <modern-hsl-syntax> ]", |
633 | 633 | "hsla()": "[ <legacy-hsla-syntax> | <modern-hsla-syntax> ]", |
634 | 634 | "hue-rotate()": "hue-rotate( [ <angle> | <zero> ]? )", |
635 | | - "hwb()": "hwb( [ from <color> ]? [ <hue> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )", |
| 635 | + "hwb()": "hwb( [ from <color> ]? [ <hue> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ / [ <alpha-value> | h | w | b | alpha | none ] ]? )", |
636 | 636 | "ictcp()": "ictcp( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )", |
637 | 637 | "ident-arg": "<string> | <integer> | <ident>", |
638 | 638 | "ident()": "ident( <ident-arg>+ )", |
|
658 | 658 | "jzazbz()": "jzazbz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )", |
659 | 659 | "jzczhz()": "jzczhz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <hue> | none ] [ / [ <alpha-value> | none ] ]? )", |
660 | 660 | "keyframe-selector": "from | to | <percentage [0,100]> | <timeline-range-name> <percentage>", |
661 | | - "lab()": "lab( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )", |
| 661 | + "lab()": "lab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )", |
662 | 662 | "layout-box": "<visual-box> | margin-box", |
663 | | - "lch()": "lch( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <hue> | none ] [ / [ <alpha-value> | none ] ]? )", |
| 663 | + "lch()": "lch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )", |
664 | 664 | "legacy-border-radius-syntax": "<length-percentage [0,∞]>{1,2}", |
665 | 665 | "legacy-hsl-syntax": "hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )", |
666 | 666 | "legacy-hsla-syntax": "hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )", |
|
691 | 691 | "mf-gt": "'>' '='?", |
692 | 692 | "mf-lt": "'<' '='?", |
693 | 693 | "mf-range": "<mf-name> <mf-comparison> <mf-value> | <mf-value> <mf-comparison> <mf-name> | <mf-value> <mf-lt> <mf-name> <mf-lt> <mf-value> | <mf-value> <mf-gt> <mf-name> <mf-gt> <mf-value>", |
694 | | - "modern-hsl-syntax": "hsl( [ from <color> ]? [ <hue> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )", |
695 | | - "modern-hsla-syntax": "hsla( [ from <color> ]? [ <hue> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )", |
696 | | - "modern-rgb-syntax": "rgb( [ from <color> ]? [ <number> | <percentage> | none ]{3} [ / [ <alpha-value> | none ] ]? )", |
697 | | - "modern-rgba-syntax": "rgba( [ from <color> ]? [ <number> | <percentage> | none ]{3} [ / [ <alpha-value> | none ] ]? )", |
| 694 | + "modern-hsl-syntax": "hsl( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )", |
| 695 | + "modern-hsla-syntax": "hsla( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )", |
| 696 | + "modern-rgb-syntax": "rgb( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )", |
| 697 | + "modern-rgba-syntax": "rgba( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )", |
698 | 698 | "move-command": "move <command-end-point>", |
699 | 699 | "mq-boolean": "<integer [0,1]>", |
700 | 700 | "number-optional-number": "<number> <number>?", |
701 | | - "oklab()": "oklab( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )", |
702 | | - "oklch()": "oklch( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <hue> | none ] [ / [ <alpha-value> | none ] ]? )", |
| 701 | + "oklab()": "oklab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )", |
| 702 | + "oklch()": "oklch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )", |
703 | 703 | "opacity-value": "<number> | <percentage>", |
704 | 704 | "opacity()": "opacity( [ <number> | <percentage> ]? )", |
705 | 705 | "opentype-tag": "<string>", |
|
0 commit comments