--- a/testing/web-platform/tests/web-animations/animation-model/animation-types/property-list.js
+++ b/testing/web-platform/tests/web-animations/animation-model/animation-types/property-list.js
@@ -141,18 +141,22 @@ var gCSSProperties = {
'border-bottom-style': {
// https://drafts.csswg.org/css-backgrounds-3/#border-bottom-style
types: [
{ type: 'discrete', options: [ [ 'dotted', 'solid' ] ] }
]
},
'border-bottom-width': {
// https://drafts.csswg.org/css-backgrounds-3/#border-bottom-width
- types: [
- ]
+ types: [ 'length' ],
+ setup: t => {
+ var element = createElement(t);
+ element.style.borderBottomStyle = 'solid';
+ return element;
+ }
},
'border-collapse': {
// https://drafts.csswg.org/css-tables/#propdef-border-collapse
types: [
{ type: 'discrete', options: [ [ 'collapse', 'separate' ] ] }
]
},
'border-inline-end-color': {
@@ -225,34 +229,42 @@ var gCSSProperties = {
'border-left-style': {
// https://drafts.csswg.org/css-backgrounds-3/#border-left-style
types: [
{ type: 'discrete', options: [ [ 'dotted', 'solid' ] ] }
]
},
'border-left-width': {
// https://drafts.csswg.org/css-backgrounds-3/#border-left-width
- types: [
- ]
+ types: [ 'length' ],
+ setup: t => {
+ var element = createElement(t);
+ element.style.borderLeftStyle = 'solid';
+ return element;
+ }
},
'border-right-color': {
// https://drafts.csswg.org/css-backgrounds-3/#border-right-color
types: [
]
},
'border-right-style': {
// https://drafts.csswg.org/css-backgrounds-3/#border-right-style
types: [
{ type: 'discrete', options: [ [ 'dotted', 'solid' ] ] }
]
},
'border-right-width': {
// https://drafts.csswg.org/css-backgrounds-3/#border-right-width
- types: [
- ]
+ types: [ 'length' ],
+ setup: t => {
+ var element = createElement(t);
+ element.style.borderRightStyle = 'solid';
+ return element;
+ }
},
'border-spacing': {
// https://drafts.csswg.org/css-tables/#propdef-border-spacing
types: [
]
},
'border-top-color': {
// https://drafts.csswg.org/css-backgrounds-3/#border-top-color
@@ -272,18 +284,22 @@ var gCSSProperties = {
'border-top-style': {
// https://drafts.csswg.org/css-backgrounds-3/#border-top-style
types: [
{ type: 'discrete', options: [ [ 'dotted', 'solid' ] ] }
]
},
'border-top-width': {
// https://drafts.csswg.org/css-backgrounds-3/#border-top-width
- types: [
- ]
+ types: [ 'length' ],
+ setup: t => {
+ var element = createElement(t);
+ element.style.borderTopStyle = 'solid';
+ return element;
+ }
},
'bottom': {
// https://drafts.csswg.org/css-position/#propdef-bottom
types: [
]
},
'box-decoration-break': {
// https://drafts.csswg.org/css-break/#propdef-box-decoration-break
@@ -355,18 +371,17 @@ var gCSSProperties = {
},
'column-count': {
// https://drafts.csswg.org/css-multicol/#propdef-column-count
types: [
]
},
'column-gap': {
// https://drafts.csswg.org/css-multicol/#propdef-column-gap
- types: [
- ]
+ types: [ 'length' ]
},
'column-rule-color': {
// https://drafts.csswg.org/css-multicol/#propdef-column-rule-color
types: [
]
},
'column-fill': {
// https://drafts.csswg.org/css-multicol/#propdef-column-fill
@@ -377,22 +392,27 @@ var gCSSProperties = {
'column-rule-style': {
// https://drafts.csswg.org/css-multicol/#propdef-column-rule-style
types: [
{ type: 'discrete', options: [ [ 'none', 'dotted' ] ] }
]
},
'column-rule-width': {
// https://drafts.csswg.org/css-multicol/#propdef-column-rule-width
- types: [
- ]
+ types: [ 'length' ],
+ setup: t => {
+ var element = createElement(t);
+ element.style.columnRuleStyle = 'solid';
+ return element;
+ }
},
'column-width': {
// https://drafts.csswg.org/css-multicol/#propdef-column-width
- types: [
+ types: [ 'length',
+ { type: 'discrete', options: [ [ 'auto', '1px' ] ] }
]
},
'contain': {
// https://drafts.csswg.org/css-containment/#propdef-contain
types: [
{ type: 'discrete', options: [ [ 'strict', 'none' ] ] }
]
},
@@ -740,18 +760,17 @@ var gCSSProperties = {
},
'left': {
// https://drafts.csswg.org/css-position/#propdef-left
types: [
]
},
'letter-spacing': {
// https://drafts.csswg.org/css-text-3/#propdef-letter-spacing
- types: [
- ]
+ types: [ 'length' ]
},
'lighting-color': {
// https://drafts.fxtf.org/filters/#LightingColorProperty
types: [
]
},
'line-height': {
// https://drafts.csswg.org/css21/visudet.html#propdef-line-height
@@ -1002,29 +1021,32 @@ var gCSSProperties = {
},
'outline-color': {
// https://drafts.csswg.org/css-ui-3/#propdef-outline-color
types: [
]
},
'outline-offset': {
// https://drafts.csswg.org/css-ui-3/#propdef-outline-offset
- types: [
- ]
+ types: [ 'length' ]
},
'outline-style': {
// https://drafts.csswg.org/css-ui/#propdef-outline-style
types: [
{ type: 'discrete', options: [ [ 'none', 'dotted' ] ] }
]
},
'outline-width': {
// https://drafts.csswg.org/css-ui-3/#propdef-outline-width
- types: [
- ]
+ types: [ 'length' ],
+ setup: t => {
+ var element = createElement(t);
+ element.style.outlineStyle = 'solid';
+ return element;
+ }
},
'overflow': {
// https://drafts.csswg.org/css-overflow/#propdef-overflow
types: [
]
},
'overflow-clip-box': {
// https://developer.mozilla.org/en/docs/Web/CSS/overflow-clip-box
@@ -1111,18 +1133,17 @@ var gCSSProperties = {
'paint-order': {
// https://svgwg.org/svg2-draft/painting.html#PaintOrderProperty
types: [
{ type: 'discrete', options: [ [ 'fill', 'stroke' ] ] }
]
},
'perspective': {
// https://drafts.csswg.org/css-transforms-1/#propdef-perspective
- types: [
- ]
+ types: [ 'length' ]
},
'perspective-origin': {
// https://drafts.csswg.org/css-transforms-1/#propdef-perspective-origin
types: [
]
},
'pointer-events': {
// https://svgwg.org/svg2-draft/interact.html#PointerEventsProperty