Skip to content

Commit d7f8906

Browse files
committed
update ast
1 parent 7754bd2 commit d7f8906

File tree

2 files changed

+23
-8
lines changed

2 files changed

+23
-8
lines changed

node/ast.d.ts

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5231,7 +5231,7 @@ export type RepeatCount =
52315231
};
52325232
export type AutoFlowDirection = "row" | "column";
52335233
/**
5234-
* A value for the [grid-template-areas](https://drafts.csswg.org/css-grid-2/#grid-template-areas-property) property.
5234+
* A value for the [grid-template-areas](https://drafts.csswg.org/css-grid-2/#grid-template-areas-property) property. none | <string>+
52355235
*/
52365236
export type GridTemplateAreas =
52375237
| {
@@ -6801,6 +6801,13 @@ export type PseudoClass =
68016801
*/
68026802
type: String[];
68036803
}
6804+
| {
6805+
kind: "state";
6806+
/**
6807+
* The custom state identifier.
6808+
*/
6809+
state: String;
6810+
}
68046811
| {
68056812
kind: "local";
68066813
/**
@@ -7266,6 +7273,10 @@ export type ParsedComponent =
72667273
type: "length-percentage";
72677274
value: DimensionPercentageFor_LengthValue;
72687275
}
7276+
| {
7277+
type: "string";
7278+
value: String;
7279+
}
72697280
| {
72707281
type: "color";
72717282
value: CssColor;
@@ -7367,6 +7378,9 @@ export type SyntaxComponentKind =
73677378
| {
73687379
type: "length-percentage";
73697380
}
7381+
| {
7382+
type: "string";
7383+
}
73707384
| {
73717385
type: "color";
73727386
}
@@ -8493,6 +8507,8 @@ export interface GridAutoFlow {
84938507
/**
84948508
* A value for the [grid-template](https://drafts.csswg.org/css-grid-2/#explicit-grid-shorthand) shorthand property.
84958509
*
8510+
* none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?
8511+
*
84968512
* If `areas` is not `None`, then `rows` must also not be `None`.
84978513
*/
84988514
export interface GridTemplate {
@@ -8512,6 +8528,8 @@ export interface GridTemplate {
85128528
/**
85138529
* A value for the [grid](https://drafts.csswg.org/css-grid-2/#grid-shorthand) shorthand property.
85148530
*
8531+
* <'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>
8532+
*
85158533
* Explicit and implicit values may not be combined.
85168534
*/
85178535
export interface Grid {
@@ -8541,7 +8559,7 @@ export interface Grid {
85418559
rows: TrackSizing;
85428560
}
85438561
/**
8544-
* A value for the [grid-row](https://drafts.csswg.org/css-grid-2/#propdef-grid-row) shorthand property.
8562+
* A value for the [grid-row](https://drafts.csswg.org/css-grid-2/#propdef-grid-row) shorthand property. <grid-line> [ / <grid-line> ]?
85458563
*/
85468564
export interface GridRow {
85478565
/**
@@ -8554,7 +8572,7 @@ export interface GridRow {
85548572
start: GridLine;
85558573
}
85568574
/**
8557-
* A value for the [grid-row](https://drafts.csswg.org/css-grid-2/#propdef-grid-column) shorthand property.
8575+
* A value for the [grid-column](https://drafts.csswg.org/css-grid-2/#propdef-grid-column) shorthand property. <grid-line> [ / <grid-line> ]?
85588576
*/
85598577
export interface GridColumn {
85608578
/**
@@ -8567,7 +8585,7 @@ export interface GridColumn {
85678585
start: GridLine;
85688586
}
85698587
/**
8570-
* A value for the [grid-area](https://drafts.csswg.org/css-grid-2/#propdef-grid-area) shorthand property.
8588+
* A value for the [grid-area](https://drafts.csswg.org/css-grid-2/#propdef-grid-area) shorthand property. <grid-line> [ / <grid-line> ]{0,3}
85718589
*/
85728590
export interface GridArea {
85738591
/**

src/lib.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23112,10 +23112,7 @@ mod tests {
2311223112
".foo{width:attr(data-width type(<length>), 100px)}",
2311323113
);
2311423114

23115-
minify_test(
23116-
".foo { width: attr( data-foo % ); }",
23117-
".foo{width:attr(data-foo %)}",
23118-
);
23115+
minify_test(".foo { width: attr( data-foo % ); }", ".foo{width:attr(data-foo %)}");
2311923116

2312023117
// <attr-args> = attr( <declaration-value>, <declaration-value>? )
2312123118
// Like var(), a bare comma can be used with nothing following it, indicating that the second <declaration-value> was passed, just as an empty sequence.

0 commit comments

Comments
 (0)