diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses')
46 files changed, 693 insertions, 0 deletions
diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssColorValue.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssColorValue.html.ini new file mode 100644 index 0000000000..9f41349d32 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssColorValue.html.ini @@ -0,0 +1,2 @@ +[cssColorValue.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssHSL.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssHSL.html.ini new file mode 100644 index 0000000000..934300a417 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssHSL.html.ini @@ -0,0 +1,2 @@ +[cssHSL.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssHWB.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssHWB.html.ini new file mode 100644 index 0000000000..3341f9f128 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssHWB.html.ini @@ -0,0 +1,2 @@ +[cssHWB.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssKeywordValue-invalid.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssKeywordValue-invalid.html.ini new file mode 100644 index 0000000000..5285906028 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssKeywordValue-invalid.html.ini @@ -0,0 +1,4 @@ +[cssKeywordValue-invalid.html] + [Constructing CSSKeywordValue with an empty string throws a TypeError] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssKeywordValue-value.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssKeywordValue-value.html.ini new file mode 100644 index 0000000000..b2e98900ed --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssKeywordValue-value.html.ini @@ -0,0 +1,19 @@ +[cssKeywordValue-value.html] + [CSSKeywordValue.value can be updated to a CSS wide keyword] + expected: FAIL + + [CSSKeywordValue.value can be updated to a CSS keyword] + expected: FAIL + + [CSSKeywordValue.value can be updated to an unsupported CSS keyword] + expected: FAIL + + [CSSKeywordValue.value can be updated to a string containing multiple tokens] + expected: FAIL + + [CSSKeywordValue.value can be updated to a unicode string] + expected: FAIL + + [Updating CSSKeywordValue.value with an empty string throws a TypeError] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssKeywordValue.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssKeywordValue.html.ini new file mode 100644 index 0000000000..9791a56518 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssKeywordValue.html.ini @@ -0,0 +1,16 @@ +[cssKeywordValue.html] + [CSSKeywordValue can be constructed from a CSS wide keyword] + expected: FAIL + + [CSSKeywordValue can be constructed from a CSS keyword] + expected: FAIL + + [CSSKeywordValue can be constructed from an unsupported CSS keyword] + expected: FAIL + + [CSSKeywordValue can be constructed from a string containing multiple tokens] + expected: FAIL + + [CSSKeywordValue can be constructed from a unicode string] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssLCH.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssLCH.html.ini new file mode 100644 index 0000000000..3475fb9d25 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssLCH.html.ini @@ -0,0 +1,2 @@ +[cssLCH.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssLab.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssLab.html.ini new file mode 100644 index 0000000000..1ca6a12d35 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssLab.html.ini @@ -0,0 +1,2 @@ +[cssLab.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssMatrixComponent.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssMatrixComponent.tentative.html.ini new file mode 100644 index 0000000000..8a59a03f0d --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssMatrixComponent.tentative.html.ini @@ -0,0 +1,31 @@ +[cssMatrixComponent.tentative.html] + [CSSMatrixComponent can be constructed from a 2D matrix with is2D true] + expected: FAIL + + [CSSMatrixComponent can be constructed from a 2D matrix with is2D false] + expected: FAIL + + [CSSMatrixComponent can be constructed from a 2D matrix without a CSSMatrixComponentOptions] + expected: FAIL + + [CSSMatrixComponent can be constructed from a 2D matrix with an invalid CSSMatrixComponentOptions] + expected: FAIL + + [CSSMatrixComponent.matrix can be updated to a 2D matrix] + expected: FAIL + + [CSSMatrixComponent can be constructed from a 3D matrix with is2D true] + expected: FAIL + + [CSSMatrixComponent can be constructed from a 3D matrix with is2D false] + expected: FAIL + + [CSSMatrixComponent can be constructed from a 3D matrix without a CSSMatrixComponentOptions] + expected: FAIL + + [CSSMatrixComponent can be constructed from a 3D matrix with an invalid CSSMatrixComponentOptions] + expected: FAIL + + [CSSMatrixComponent.matrix can be updated to a 3D matrix] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssOKLCH.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssOKLCH.html.ini new file mode 100644 index 0000000000..b96d3fae2a --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssOKLCH.html.ini @@ -0,0 +1,2 @@ +[cssOKLCH.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssOKLab.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssOKLab.html.ini new file mode 100644 index 0000000000..1c5d1eb934 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssOKLab.html.ini @@ -0,0 +1,2 @@ +[cssOKLab.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssPerspective.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssPerspective.tentative.html.ini new file mode 100644 index 0000000000..50fc8d6cb4 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssPerspective.tentative.html.ini @@ -0,0 +1,2 @@ +[cssPerspective.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssRGB.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssRGB.html.ini new file mode 100644 index 0000000000..822426fe29 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssRGB.html.ini @@ -0,0 +1,2 @@ +[cssRGB.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssRotate.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssRotate.tentative.html.ini new file mode 100644 index 0000000000..96635b7ac1 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssRotate.tentative.html.ini @@ -0,0 +1,2 @@ +[cssRotate.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssScale.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssScale.tentative.html.ini new file mode 100644 index 0000000000..a7c8ca764c --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssScale.tentative.html.ini @@ -0,0 +1,2 @@ +[cssScale.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssSkew.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssSkew.tentative.html.ini new file mode 100644 index 0000000000..539b0c00fe --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssSkew.tentative.html.ini @@ -0,0 +1,2 @@ +[cssSkew.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssSkewX.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssSkewX.tentative.html.ini new file mode 100644 index 0000000000..bb253a07e7 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssSkewX.tentative.html.ini @@ -0,0 +1,2 @@ +[cssSkewX.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssSkewY.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssSkewY.tentative.html.ini new file mode 100644 index 0000000000..dea4758b7b --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssSkewY.tentative.html.ini @@ -0,0 +1,2 @@ +[cssSkewY.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTransformComponent-2d-flattening.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTransformComponent-2d-flattening.html.ini new file mode 100644 index 0000000000..df2fecc4d8 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTransformComponent-2d-flattening.html.ini @@ -0,0 +1,12 @@ +[cssTransformComponent-2d-flattening.html] + [CSSTranslate.toMatrix() flattens when told it is 2d] + expected: FAIL + + [CSSRotate.toMatrix() flattens when told it is 2d] + expected: FAIL + + [CSSScale.toMatrix() flattens when told it is 2d] + expected: FAIL + + [CSSMatrixComponent.toMatrix() flattens when told it is 2d] + expected: FAIL diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTransformComponent-toMatrix-relative-units.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTransformComponent-toMatrix-relative-units.html.ini new file mode 100644 index 0000000000..d636044602 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTransformComponent-toMatrix-relative-units.html.ini @@ -0,0 +1,7 @@ +[cssTransformComponent-toMatrix-relative-units.html] + [CSSTranslate.toMatrix() containing relative units throws TypeError] + expected: FAIL + + [CSSPerspective.toMatrix() containing relative units throws TypeError] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTransformComponent-toMatrix.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTransformComponent-toMatrix.html.ini new file mode 100644 index 0000000000..5417fd4604 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTransformComponent-toMatrix.html.ini @@ -0,0 +1,25 @@ +[cssTransformComponent-toMatrix.html] + [CSSTranslate.toMatrix() returns correct matrix] + expected: FAIL + + [CSSRotate.toMatrix() returns correct matrix] + expected: FAIL + + [CSSScale.toMatrix() returns correct matrix] + expected: FAIL + + [CSSSkew.toMatrix() returns correct matrix] + expected: FAIL + + [CSSSkewX.toMatrix() returns correct matrix] + expected: FAIL + + [CSSSkewY.toMatrix() returns correct matrix] + expected: FAIL + + [CSSPerspective.toMatrix() returns correct matrix] + expected: FAIL + + [CSSMatrixComponent.toMatrix() returns correct matrix] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTransformValue-toMatrix.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTransformValue-toMatrix.html.ini new file mode 100644 index 0000000000..788c438ed7 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTransformValue-toMatrix.html.ini @@ -0,0 +1,7 @@ +[cssTransformValue-toMatrix.html] + [CSSTransformValue.toMatrix() multiplies its component matrices] + expected: FAIL + + [CSSTransformValue.toMatrix() respects is2D changes in its components] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTransformValue.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTransformValue.tentative.html.ini new file mode 100644 index 0000000000..b4f08e8512 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTransformValue.tentative.html.ini @@ -0,0 +1,25 @@ +[cssTransformValue.tentative.html] + [Constructing a CSSTransformValue with no components throws TypeError] + expected: FAIL + + [CSSTransformValue can be constructed with multiple transforms] + expected: FAIL + + [CSSTransformValue.is2D is false when given mix of 2D and 3D transforms] + expected: FAIL + + [CSSTransformValue.is2D is true when given only 2D transforms] + expected: FAIL + + [CSSTransformValue.is2D is readonly] + expected: FAIL + + [Can iterate through CSSTransformValue components] + expected: FAIL + + [CSSTransformValue.set correctly sets the CSSTransformComponent at the given index] + expected: FAIL + + [Setting a component in CSSTransformValue correctly appends the CSSTransformComponent if index specified is greater than length] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTranslate.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTranslate.tentative.html.ini new file mode 100644 index 0000000000..1931193aa4 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssTranslate.tentative.html.ini @@ -0,0 +1,2 @@ +[cssTranslate.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue-empty.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue-empty.html.ini new file mode 100644 index 0000000000..def633ad97 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue-empty.html.ini @@ -0,0 +1,4 @@ +[cssUnparsedValue-empty.html] + [Don't crash when serializing empty CSSUnparsedValue] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue-indexed-getter-setter.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue-indexed-getter-setter.html.ini new file mode 100644 index 0000000000..a1c65d1c2c --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue-indexed-getter-setter.html.ini @@ -0,0 +1,19 @@ +[cssUnparsedValue-indexed-getter-setter.html] + [Getting invalid index in CSSUnparsedValue returns undefined] + expected: FAIL + + [Can update fragment in CSSUnparsedValue to a String] + expected: FAIL + + [Can update fragment in CSSUnparsedValue to a CSSVariableReference] + expected: FAIL + + [Setting one past the last fragment in a CSSUnparsedValue to a String appends the new fragment] + expected: FAIL + + [Setting one past the last fragment in a CSSUnparsedValue to a CSSVariableReferenceValue appends the new fragment] + expected: FAIL + + [Setting out of range index in CSSUnparsedValue throws RangeError] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue-iterable.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue-iterable.html.ini new file mode 100644 index 0000000000..cc7523290d --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue-iterable.html.ini @@ -0,0 +1,7 @@ +[cssUnparsedValue-iterable.html] + [Iterating over an empty CSSUnparsedValue produces nothing] + expected: FAIL + + [Iterating over a CSSUnparsedValue produces all fragments] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue-length.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue-length.html.ini new file mode 100644 index 0000000000..d7edb81077 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue-length.html.ini @@ -0,0 +1,13 @@ +[cssUnparsedValue-length.html] + [Length of CSSUnparsedValue with no fragments is zero] + expected: FAIL + + [Length of CSSUnparsedValue with multiple fragments is the number of fragments] + expected: FAIL + + [Length of CSSUnparsedValue updates when fragments are appended] + expected: FAIL + + [Length of CSSUnparsedValue does not change when fragments are modified] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue.html.ini new file mode 100644 index 0000000000..2600c148ea --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssUnparsedValue.html.ini @@ -0,0 +1,2 @@ +[cssUnparsedValue.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssVariableReferenceValue-invalid.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssVariableReferenceValue-invalid.html.ini new file mode 100644 index 0000000000..3527e375f9 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssVariableReferenceValue-invalid.html.ini @@ -0,0 +1,7 @@ +[cssVariableReferenceValue-invalid.html] + [Constructing a CSSVariableReferenceValue with an empty variable name throws a TypeError] + expected: FAIL + + [Constructing a CSSVariableReferenceValue with an invalid variable name throws SyntaxError] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssVariableReferenceValue-variable.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssVariableReferenceValue-variable.html.ini new file mode 100644 index 0000000000..c1a5f2c5a0 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssVariableReferenceValue-variable.html.ini @@ -0,0 +1,10 @@ +[cssVariableReferenceValue-variable.html] + [CSSVariableReferenceValue.variable can updated to a valid custom property name] + expected: FAIL + + [Updating CSSVariableReferenceValue.variable to the empty string throws TypeError] + expected: FAIL + + [Updating CSSVariableReferenceValue.variable to an invalid custom property name throws TypeError] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssVariableReferenceValue.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssVariableReferenceValue.html.ini new file mode 100644 index 0000000000..814dd4ddea --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/cssVariableReferenceValue.html.ini @@ -0,0 +1,10 @@ +[cssVariableReferenceValue.html] + [CSSVariableReferenceValue can be constructed with no fallback] + expected: FAIL + + [CSSVariableReferenceValue can be constructed with null fallback] + expected: FAIL + + [CSSVariableReferenceValue can be constructed with valid fallback] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/add-two-types.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/add-two-types.tentative.html.ini new file mode 100644 index 0000000000..a1e0ce25c2 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/add-two-types.tentative.html.ini @@ -0,0 +1,22 @@ +[add-two-types.tentative.html] + [Adding two types with different non-null percent hints throws TypeError] + expected: FAIL + + [Adding two types with the same nonzero values returns same type] + expected: FAIL + + [Adding two types with empty maps with returns empty map] + expected: FAIL + + [Adding a type with percent returns type with percent hint] + expected: FAIL + + [Adding a type with percent 2 returns type with percent hint throws TypeError] + expected: FAIL + + [Adding a type with a percent hint returns a type with the percent hint] + expected: FAIL + + [Adding two types with the same percent hint returns a type with the percent hint] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html.ini new file mode 100644 index 0000000000..46167f5d56 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/arithmetic.tentative.html.ini @@ -0,0 +1,2 @@ +[arithmetic.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/create-a-type.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/create-a-type.tentative.html.ini new file mode 100644 index 0000000000..4b289a66ca --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/create-a-type.tentative.html.ini @@ -0,0 +1,25 @@ +[create-a-type.tentative.html] + [Creating a type from "number" returns {}] + expected: FAIL + + [Creating a type from "percent" returns { percent: 1 }] + expected: FAIL + + [Creating a type from <length> returns { length: 1 }] + expected: FAIL + + [Creating a type from <angle> returns { angle: 1 }] + expected: FAIL + + [Creating a type from <time> returns { time: 1 }] + expected: FAIL + + [Creating a type from <frequency> returns { frequency: 1 }] + expected: FAIL + + [Creating a type from <resolution> returns { resolution: 1 }] + expected: FAIL + + [Creating a type from <flex> returns { flex: 1 }] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssMathInvert-type.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssMathInvert-type.html.ini new file mode 100644 index 0000000000..1e90b8d50b --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssMathInvert-type.html.ini @@ -0,0 +1,10 @@ +[cssMathInvert-type.html] + [Inverting a type with empty map returns the empty map] + expected: FAIL + + [Inverting a type negates all its exponents] + expected: FAIL + + [Inverting an inverted type returns the original type] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssMathNegate-type.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssMathNegate-type.html.ini new file mode 100644 index 0000000000..a4099e2ce0 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssMathNegate-type.html.ini @@ -0,0 +1,7 @@ +[cssMathNegate-type.html] + [Negating a type with empty map returns the empty map] + expected: FAIL + + [Negating a type returns the same type] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssMathValue.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssMathValue.tentative.html.ini new file mode 100644 index 0000000000..8d7adfbbf2 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssMathValue.tentative.html.ini @@ -0,0 +1,2 @@ +[cssMathValue.tentative.html] + expected: ERROR diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssUnitValue-value.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssUnitValue-value.html.ini new file mode 100644 index 0000000000..3db1b2eb90 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssUnitValue-value.html.ini @@ -0,0 +1,4 @@ +[cssUnitValue-value.html] + [CSSUnitValue.value can be updated to a different value] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssUnitValue.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssUnitValue.html.ini new file mode 100644 index 0000000000..26e436d2bf --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssUnitValue.html.ini @@ -0,0 +1,109 @@ +[cssUnitValue.html] + [Constructing CSSUnitValue with an unknown unit throws a TypeError] + expected: FAIL + + [Constructing CSSUnitValue with a empty string unit throws a TypeError] + expected: FAIL + + [CSSUnitValue can be constructed with number] + expected: FAIL + + [CSSUnitValue can be constructed with percent] + expected: FAIL + + [CSSUnitValue can be constructed with em] + expected: FAIL + + [CSSUnitValue can be constructed with ex] + expected: FAIL + + [CSSUnitValue can be constructed with ch] + expected: FAIL + + [CSSUnitValue can be constructed with ic] + expected: FAIL + + [CSSUnitValue can be constructed with rem] + expected: FAIL + + [CSSUnitValue can be constructed with lh] + expected: FAIL + + [CSSUnitValue can be constructed with rlh] + expected: FAIL + + [CSSUnitValue can be constructed with vw] + expected: FAIL + + [CSSUnitValue can be constructed with vh] + expected: FAIL + + [CSSUnitValue can be constructed with vi] + expected: FAIL + + [CSSUnitValue can be constructed with vb] + expected: FAIL + + [CSSUnitValue can be constructed with vmin] + expected: FAIL + + [CSSUnitValue can be constructed with vmax] + expected: FAIL + + [CSSUnitValue can be constructed with cm] + expected: FAIL + + [CSSUnitValue can be constructed with mm] + expected: FAIL + + [CSSUnitValue can be constructed with Q] + expected: FAIL + + [CSSUnitValue can be constructed with in] + expected: FAIL + + [CSSUnitValue can be constructed with pt] + expected: FAIL + + [CSSUnitValue can be constructed with pc] + expected: FAIL + + [CSSUnitValue can be constructed with px] + expected: FAIL + + [CSSUnitValue can be constructed with deg] + expected: FAIL + + [CSSUnitValue can be constructed with grad] + expected: FAIL + + [CSSUnitValue can be constructed with rad] + expected: FAIL + + [CSSUnitValue can be constructed with turn] + expected: FAIL + + [CSSUnitValue can be constructed with s] + expected: FAIL + + [CSSUnitValue can be constructed with ms] + expected: FAIL + + [CSSUnitValue can be constructed with Hz] + expected: FAIL + + [CSSUnitValue can be constructed with kHz] + expected: FAIL + + [CSSUnitValue can be constructed with dpi] + expected: FAIL + + [CSSUnitValue can be constructed with dpcm] + expected: FAIL + + [CSSUnitValue can be constructed with dppx] + expected: FAIL + + [CSSUnitValue can be constructed with fr] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssnumericvalue-multiply-two-types.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssnumericvalue-multiply-two-types.tentative.html.ini new file mode 100644 index 0000000000..c940cba5b6 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssnumericvalue-multiply-two-types.tentative.html.ini @@ -0,0 +1,22 @@ +[cssnumericvalue-multiply-two-types.tentative.html] + [Multiplying two types with different non-null percent hints throws TypeError] + expected: FAIL + + [Multiplying two types with same base types adds exponents] + expected: FAIL + + [Multiplying two types with different base types adds exponents] + expected: FAIL + + [Multiplying two types respects the sign of the exponents] + expected: FAIL + + [Multiplying a type with no exponents is a no-op] + expected: FAIL + + [Multiplying a type with percent hint applies the percent hint] + expected: FAIL + + [Multiplying two types with same percent hint applies the percent hint] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/equals.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/equals.tentative.html.ini new file mode 100644 index 0000000000..730f8d4506 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/equals.tentative.html.ini @@ -0,0 +1,33 @@ +[equals.tentative.html] + [Two CSSUnitValues with same value and unit are equal] + expected: FAIL + + [Two CSSUnitValues with different values are not equal] + expected: FAIL + + [Two CSSUnitValues with different units are not equal] + expected: FAIL + + [Two CSSMathValues with different types are not equal] + expected: FAIL + + [Two CSSMathValues with different number of values are not equal] + expected: FAIL + + [Two CSSMathValues with different values are not equal] + expected: FAIL + + [Two CSSMathValues with same structure are equal] + expected: FAIL + + [Multiple CSSMathValues with same structure are equal] + expected: FAIL + + [Multiple CSSMathValues with one different are not equal] + expected: FAIL + + [Two CSSMathClamp with different units are not equal] + expected: FAIL + + [Two CSSMathClamp with same value and unit are equal] + expected: FAIL diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/numeric-factory.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/numeric-factory.tentative.html.ini new file mode 100644 index 0000000000..b0669fe389 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/numeric-factory.tentative.html.ini @@ -0,0 +1,103 @@ +[numeric-factory.tentative.html] + [CSS.number returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.percent returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.em returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.ex returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.ch returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.ic returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.rem returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.lh returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.rlh returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.vw returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.vh returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.vi returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.vb returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.vmin returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.vmax returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.cm returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.mm returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.Q returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.in returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.pt returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.pc returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.px returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.deg returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.grad returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.rad returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.turn returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.s returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.ms returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.Hz returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.kHz returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.dpi returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.dpcm returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.dppx returns a CSSUnitValue with correct value and unit] + expected: FAIL + + [CSS.fr returns a CSSUnitValue with correct value and unit] + expected: FAIL + diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/parse.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/parse.tentative.html.ini new file mode 100644 index 0000000000..872a5573fb --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/parse.tentative.html.ini @@ -0,0 +1,33 @@ +[parse.tentative.html] + [Parsing an invalid string throws SyntaxError] + expected: FAIL + + [Parsing a string with a non numeric token throws SyntaxError] + expected: FAIL + + [Parsing a string with left over numeric tokens throws SyntaxError] + expected: FAIL + + [Parsing a calc with incompatible units throws a SyntaxError] + expected: FAIL + + [Parsing ignores surrounding spaces] + expected: FAIL + + [Parsing max() is successful] + expected: FAIL + + [Parsing min() is successful] + expected: FAIL + + [Parsing clamp() is successful] + expected: FAIL + + [Parsing a <dimension-token> with invalid units throws a SyntaxError] + expected: FAIL + + [Parsing sum of multiple min() is successful] + expected: FAIL + + [Parsing product of multiple min() is successful] + expected: FAIL diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/to.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/to.tentative.html.ini new file mode 100644 index 0000000000..ddec383525 --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/to.tentative.html.ini @@ -0,0 +1,45 @@ +[to.tentative.html] + [Converting a CSSUnitValue to an invalid unit throws SyntaxError] + expected: FAIL + + [Converting a CSSNumericValue with invalid sum value throws TypeError] + expected: FAIL + + [Converting a CSSNumericValue with sum value containing more than one value throws TypeError] + expected: FAIL + + [Converting a CSSUnitValue to its canonical unit returns correct value] + expected: FAIL + + [Converting a CSSMathSum to a single unit adds the values] + expected: FAIL + + [Converting a CSSMathProduct to a single unit multiplies the values] + expected: FAIL + + [Converting a CSSMathMin to a single unit finds the min value] + expected: FAIL + + [Converting a CSSMathMin to a single unit with different units throws a TypeError] + expected: FAIL + + [Converting a CSSMathMax to a single unit finds the max value] + expected: FAIL + + [Converting a CSSMathMax to a single unit with different units throws a TypeError] + expected: FAIL + + [Converting a CSSMathNegate to a single unit negates its value] + expected: FAIL + + [Converting a CSSMathInvert to a single unit inverts its value and units] + expected: FAIL + + [Converting a complex expression to a single unit] + expected: FAIL + + [Converting a CSSMathClamp to a single unit with different units throws a TypeError] + expected: FAIL + + [Converting a CSSMathClamp to a single unit returns the clamped value] + expected: FAIL diff --git a/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/toSum.tentative.html.ini b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/toSum.tentative.html.ini new file mode 100644 index 0000000000..ee6862eb3b --- /dev/null +++ b/testing/web-platform/meta/css/css-typed-om/stylevalue-subclasses/numeric-objects/toSum.tentative.html.ini @@ -0,0 +1,28 @@ +[toSum.tentative.html] + [Converting a CSSNumericValue to a sum with invalid units throws SyntaxError] + expected: FAIL + + [Converting a CSSNumericValue with an invalid sum value to a sum throws TypeError] + expected: FAIL + + [Converting a CSSNumericValue with compound units to a sum throws TypeError] + expected: FAIL + + [Converting a CSSNumericValue with leftover units to a sum throws TypeError] + expected: FAIL + + [Converting CSSNumericValue to a sum with its own unit returns itself] + expected: FAIL + + [Converting CSSNumericValue to a sum with no arguments returns all the units in sorted order] + expected: FAIL + + [Converting CSSNumericValue to a sum with a relative unit converts correctly] + expected: FAIL + + [Converting CSSNumericValue to a sum containing extra units returns zero for those units] + expected: FAIL + + [CSSNumericValue.toSum converts greedily] + expected: FAIL + |