test-box-properties.js |
Creates a group of physical and logical box properties, such as
{ physical: {
left: "margin-left", right: "margin-right",
top: "margin-top", bottom: "margin-bottom",
}, logical: {
inlineStart: "margin-inline-start", inlineEnd: "margin-inline-end",
blockStart: "margin-block-start", blockEnd: "margin-block-end",
}, shorthands: {
"margin": ["margin-top", "margin-right", "margin-bottom", "margin-left"],
"margin-inline": ["margin-inline-start", "margin-inline-end"],
"margin-block": ["margin-block-start", "margin-block-end"],
}, type: ["length"], prerequisites: "...", property: "margin-*" }
@param {string} property
A string representing the property names, like "margin-*".
@param {Object} descriptor
@param {string|string[]} descriptor.type
Describes the kind of values accepted by the property, like "length".
Must be a key or a collection of keys from the `testValues` object.
@param {Object={}} descriptor.prerequisites
Represents property declarations that are needed by `property` to work.
For example, border-width properties require a border style.
|
13064 |
test-logical-values.js |
Tests flow-relative values for a CSS property in different writing modes.
@param {string} property
The CSS property to be tested.
@param {string[]} values
An array with the flow-relative values to be tested.
|
813 |
test-shared.js |
|
4434 |