Skip to content

Commit c015034

Browse files
committed
Add CSS Typed OM: CSSMathValue
1 parent 1544858 commit c015034

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed

baselines/dom.generated.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2814,6 +2814,15 @@ declare var CSSLayerStatementRule: {
28142814
new(): CSSLayerStatementRule;
28152815
};
28162816

2817+
interface CSSMathValue extends CSSNumericValue {
2818+
readonly operator: CSSMathOperator;
2819+
}
2820+
2821+
declare var CSSMathValue: {
2822+
prototype: CSSMathValue;
2823+
new(): CSSMathValue;
2824+
};
2825+
28172826
/** A single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE). */
28182827
interface CSSMediaRule extends CSSConditionRule {
28192828
readonly media: MediaList;
@@ -18694,6 +18703,7 @@ type AutoKeyword = "auto";
1869418703
type AutomationRate = "a-rate" | "k-rate";
1869518704
type BinaryType = "arraybuffer" | "blob";
1869618705
type BiquadFilterType = "allpass" | "bandpass" | "highpass" | "highshelf" | "lowpass" | "lowshelf" | "notch" | "peaking";
18706+
type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum";
1869718707
type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time";
1869818708
type CanPlayTypeResult = "" | "maybe" | "probably";
1869918709
type CanvasDirection = "inherit" | "ltr" | "rtl";

baselines/serviceworker.generated.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,15 @@ declare var CSSKeywordValue: {
836836
new(value: string): CSSKeywordValue;
837837
};
838838

839+
interface CSSMathValue extends CSSNumericValue {
840+
readonly operator: CSSMathOperator;
841+
}
842+
843+
declare var CSSMathValue: {
844+
prototype: CSSMathValue;
845+
new(): CSSMathValue;
846+
};
847+
839848
interface CSSNumericValue extends CSSStyleValue {
840849
add(...values: CSSNumberish[]): CSSNumericValue;
841850
div(...values: CSSNumberish[]): CSSNumericValue;
@@ -5921,6 +5930,7 @@ type Uint32List = Uint32Array | GLuint[];
59215930
type VibratePattern = number | number[];
59225931
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
59235932
type BinaryType = "arraybuffer" | "blob";
5933+
type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum";
59245934
type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time";
59255935
type CanvasDirection = "inherit" | "ltr" | "rtl";
59265936
type CanvasFillRule = "evenodd" | "nonzero";

baselines/sharedworker.generated.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,15 @@ declare var CSSKeywordValue: {
808808
new(value: string): CSSKeywordValue;
809809
};
810810

811+
interface CSSMathValue extends CSSNumericValue {
812+
readonly operator: CSSMathOperator;
813+
}
814+
815+
declare var CSSMathValue: {
816+
prototype: CSSMathValue;
817+
new(): CSSMathValue;
818+
};
819+
811820
interface CSSNumericValue extends CSSStyleValue {
812821
add(...values: CSSNumberish[]): CSSNumericValue;
813822
div(...values: CSSNumberish[]): CSSNumericValue;
@@ -5931,6 +5940,7 @@ type Uint32List = Uint32Array | GLuint[];
59315940
type VibratePattern = number | number[];
59325941
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
59335942
type BinaryType = "arraybuffer" | "blob";
5943+
type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum";
59345944
type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time";
59355945
type CanvasDirection = "inherit" | "ltr" | "rtl";
59365946
type CanvasFillRule = "evenodd" | "nonzero";

baselines/webworker.generated.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,15 @@ declare var CSSKeywordValue: {
874874
new(value: string): CSSKeywordValue;
875875
};
876876

877+
interface CSSMathValue extends CSSNumericValue {
878+
readonly operator: CSSMathOperator;
879+
}
880+
881+
declare var CSSMathValue: {
882+
prototype: CSSMathValue;
883+
new(): CSSMathValue;
884+
};
885+
877886
interface CSSNumericValue extends CSSStyleValue {
878887
add(...values: CSSNumberish[]): CSSNumericValue;
879888
div(...values: CSSNumberish[]): CSSNumericValue;
@@ -6245,6 +6254,7 @@ type Uint32List = Uint32Array | GLuint[];
62456254
type VibratePattern = number | number[];
62466255
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
62476256
type BinaryType = "arraybuffer" | "blob";
6257+
type CSSMathOperator = "clamp" | "invert" | "max" | "min" | "negate" | "product" | "sum";
62486258
type CSSNumericBaseType = "angle" | "flex" | "frequency" | "length" | "percent" | "resolution" | "time";
62496259
type CanvasDirection = "inherit" | "ltr" | "rtl";
62506260
type CanvasFillRule = "evenodd" | "nonzero";

0 commit comments

Comments
 (0)