Commit 6e3d5cf9 authored by Anders Hartvoll Ruud's avatar Anders Hartvoll Ruud Committed by Commit Bot

[@property] Set status to 'test' and move tests to WPT

Bug: 973830
Change-Id: I5d950496834ab17dc8615335c9c4ae25f2a4179b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2157528
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: default avatarIan Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761157}
parent aede086a
......@@ -553,6 +553,7 @@
// Support for @property rules.
{
name: "CSSVariables2AtProperty",
status: "test",
depends_on: ["CSSVariables2"],
},
// Support for registered custom properties with <image> syntax.
......
......@@ -597,12 +597,6 @@
"args": ["--force-high-contrast",
"--enable-blink-features=CSSCascade,ForcedColors"]
},
{
"prefix": "at-property",
"bases": ["fast/css/css-properties-values-api",
"external/wpt/css/css-properties-values-api"],
"args": ["--enable-blink-features=CSSVariables2AtProperty"]
},
{
"prefix": "cache-storage-sequence",
"bases": ["external/wpt/service-workers"],
......
<!DOCTYPE html>
<!--TODO(andruud): Migrate to WPT once @property is in the specification. -->
<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1/#cssom">
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
@property --valid {
syntax: "<color> | none";
......
<!DOCTYPE html>
<!--TODO(andruud): Migrate to WPT once @property is in the specification. -->
<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1/#at-property-rule">
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="outer">
<div id="target"></div>
</div>
......@@ -78,7 +77,7 @@ function test_descriptor(descriptor, specified_value, expected_value) {
}, `Attribute '${descriptor}' returns expected value for [${specified_value}]`);
}
// syntax (valid)
// syntax
test_descriptor('syntax', '"<color>"', '<color>');
test_descriptor('syntax', '"<color> | none"', '<color> | none');
test_descriptor('syntax', '"<color># | <image> | none"', '<color># | <image> | none');
......
This is a testharness.js-based test.
FAIL @property determines the registration when uncontested assert_equals: expected "1px" but got ""
PASS CSS.registerProperty wins over @property
FAIL @property later in document order wins assert_equals: expected "6" but got ""
FAIL @property later in stylesheet wins assert_equals: expected "rgb(255, 0, 0)" but got ""
PASS CSS.registerProperty determines the registration when uncontested
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS idl_test setup
PASS idl_test validation
PASS Partial namespace CSS: original namespace defined
PASS Partial namespace CSS: member names are unique
PASS Partial interface CSSRule: original interface defined
PASS Partial interface CSSRule: member names are unique
FAIL CSSPropertyRule interface: existence and properties of interface object assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface object length assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface object name assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: existence and properties of interface prototype object assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: attribute name assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: attribute syntax assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: attribute inherits assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: attribute initialValue assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSRule interface: constant PROPERTY_RULE on interface object assert_own_property: expected property "PROPERTY_RULE" missing
FAIL CSSRule interface: constant PROPERTY_RULE on interface prototype object assert_own_property: expected property "PROPERTY_RULE" missing
PASS CSS namespace: operation escape(CSSOMString)
PASS CSS namespace: operation registerProperty(PropertyDefinition)
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Rule for --valid has expected cssText assert_true: expected true got false
FAIL Rule for --valid-reverse has expected cssText assert_true: expected true got false
FAIL Rule for --valid-universal has expected cssText assert_true: expected true got false
FAIL Rule for --valid-whitespace has expected cssText assert_true: expected true got false
FAIL Rule for --vALId has expected cssText assert_true: expected true got false
FAIL Rule for --no-descriptors has expected cssText assert_true: expected true got false
FAIL Rule for --no-syntax has expected cssText assert_true: expected true got false
FAIL Rule for --no-inherits has expected cssText assert_true: expected true got false
FAIL Rule for --no-initial-value has expected cssText assert_true: expected true got false
FAIL Rule for --syntax-only has expected cssText assert_true: expected true got false
FAIL Rule for --inherits-only has expected cssText assert_true: expected true got false
FAIL Rule for --initial-value-only has expected cssText assert_true: expected true got false
FAIL Rule for --valid returns expected value for CSSPropertyRule.name assert_true: expected true got false
FAIL Rule for --valid-reverse returns expected value for CSSPropertyRule.name assert_true: expected true got false
FAIL Rule for --valid-universal returns expected value for CSSPropertyRule.name assert_true: expected true got false
FAIL Rule for --valid-whitespace returns expected value for CSSPropertyRule.name assert_true: expected true got false
FAIL Rule for --vALId returns expected value for CSSPropertyRule.name assert_true: expected true got false
FAIL Rule for --no-descriptors returns expected value for CSSPropertyRule.name assert_true: expected true got false
FAIL Rule for --no-syntax returns expected value for CSSPropertyRule.name assert_true: expected true got false
FAIL Rule for --no-inherits returns expected value for CSSPropertyRule.name assert_true: expected true got false
FAIL Rule for --no-initial-value returns expected value for CSSPropertyRule.name assert_true: expected true got false
FAIL Rule for --syntax-only returns expected value for CSSPropertyRule.name assert_true: expected true got false
FAIL Rule for --inherits-only returns expected value for CSSPropertyRule.name assert_true: expected true got false
FAIL Rule for --initial-value-only returns expected value for CSSPropertyRule.name assert_true: expected true got false
FAIL Rule for --valid returns expected value for CSSPropertyRule.syntax assert_true: expected true got false
FAIL Rule for --valid-reverse returns expected value for CSSPropertyRule.syntax assert_true: expected true got false
FAIL Rule for --valid-universal returns expected value for CSSPropertyRule.syntax assert_true: expected true got false
FAIL Rule for --valid-whitespace returns expected value for CSSPropertyRule.syntax assert_true: expected true got false
FAIL Rule for --vALId returns expected value for CSSPropertyRule.syntax assert_true: expected true got false
FAIL Rule for --no-descriptors returns expected value for CSSPropertyRule.syntax assert_true: expected true got false
FAIL Rule for --no-syntax returns expected value for CSSPropertyRule.syntax assert_true: expected true got false
FAIL Rule for --no-inherits returns expected value for CSSPropertyRule.syntax assert_true: expected true got false
FAIL Rule for --no-initial-value returns expected value for CSSPropertyRule.syntax assert_true: expected true got false
FAIL Rule for --syntax-only returns expected value for CSSPropertyRule.syntax assert_true: expected true got false
FAIL Rule for --inherits-only returns expected value for CSSPropertyRule.syntax assert_true: expected true got false
FAIL Rule for --initial-value-only returns expected value for CSSPropertyRule.syntax assert_true: expected true got false
FAIL Rule for --valid returns expected value for CSSPropertyRule.inherits assert_true: expected true got false
FAIL Rule for --valid-reverse returns expected value for CSSPropertyRule.inherits assert_true: expected true got false
FAIL Rule for --valid-universal returns expected value for CSSPropertyRule.inherits assert_true: expected true got false
FAIL Rule for --valid-whitespace returns expected value for CSSPropertyRule.inherits assert_true: expected true got false
FAIL Rule for --vALId returns expected value for CSSPropertyRule.inherits assert_true: expected true got false
FAIL Rule for --no-descriptors returns expected value for CSSPropertyRule.inherits assert_true: expected true got false
FAIL Rule for --no-syntax returns expected value for CSSPropertyRule.inherits assert_true: expected true got false
FAIL Rule for --no-inherits returns expected value for CSSPropertyRule.inherits assert_true: expected true got false
FAIL Rule for --no-initial-value returns expected value for CSSPropertyRule.inherits assert_true: expected true got false
FAIL Rule for --syntax-only returns expected value for CSSPropertyRule.inherits assert_true: expected true got false
FAIL Rule for --inherits-only returns expected value for CSSPropertyRule.inherits assert_true: expected true got false
FAIL Rule for --initial-value-only returns expected value for CSSPropertyRule.inherits assert_true: expected true got false
FAIL Rule for --valid returns expected value for CSSPropertyRule.initialValue assert_true: expected true got false
FAIL Rule for --valid-reverse returns expected value for CSSPropertyRule.initialValue assert_true: expected true got false
FAIL Rule for --valid-universal returns expected value for CSSPropertyRule.initialValue assert_true: expected true got false
FAIL Rule for --valid-whitespace returns expected value for CSSPropertyRule.initialValue assert_true: expected true got false
FAIL Rule for --vALId returns expected value for CSSPropertyRule.initialValue assert_true: expected true got false
FAIL Rule for --no-descriptors returns expected value for CSSPropertyRule.initialValue assert_true: expected true got false
FAIL Rule for --no-syntax returns expected value for CSSPropertyRule.initialValue assert_true: expected true got false
FAIL Rule for --no-inherits returns expected value for CSSPropertyRule.initialValue assert_true: expected true got false
FAIL Rule for --no-initial-value returns expected value for CSSPropertyRule.initialValue assert_true: expected true got false
FAIL Rule for --syntax-only returns expected value for CSSPropertyRule.initialValue assert_true: expected true got false
FAIL Rule for --inherits-only returns expected value for CSSPropertyRule.initialValue assert_true: expected true got false
FAIL Rule for --initial-value-only returns expected value for CSSPropertyRule.initialValue assert_true: expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Attribute 'syntax' returns expected value for ["<color>"] Cannot read property 'syntax' of undefined
FAIL Attribute 'syntax' returns expected value for ["<color> | none"] Cannot read property 'syntax' of undefined
FAIL Attribute 'syntax' returns expected value for ["<color># | <image> | none"] Cannot read property 'syntax' of undefined
FAIL Attribute 'syntax' returns expected value for ["foo | bar | baz"] Cannot read property 'syntax' of undefined
FAIL Attribute 'syntax' returns expected value for ["*"] Cannot read property 'syntax' of undefined
FAIL Attribute 'syntax' returns expected value for ["notasyntax"] Cannot read property 'syntax' of undefined
FAIL Attribute 'syntax' returns expected value for [red] Cannot read property 'syntax' of undefined
FAIL Attribute 'syntax' returns expected value for [rgb(255, 0, 0)] Cannot read property 'syntax' of undefined
FAIL Attribute 'syntax' returns expected value for [<color>] Cannot read property 'syntax' of undefined
FAIL Attribute 'syntax' returns expected value for [foo | bar] Cannot read property 'syntax' of undefined
FAIL Attribute 'initial-value' returns expected value for [10px] Cannot read property 'initialValue' of undefined
FAIL Attribute 'initial-value' returns expected value for [rgb(1, 2, 3)] Cannot read property 'initialValue' of undefined
FAIL Attribute 'initial-value' returns expected value for [red] Cannot read property 'initialValue' of undefined
FAIL Attribute 'initial-value' returns expected value for [foo] Cannot read property 'initialValue' of undefined
FAIL Attribute 'initial-value' returns expected value for [if(){}] Cannot read property 'initialValue' of undefined
FAIL Attribute 'initial-value' returns expected value for [var(--x)] Cannot read property 'initialValue' of undefined
FAIL Attribute 'inherits' returns expected value for [true] Cannot read property 'inherits' of undefined
FAIL Attribute 'inherits' returns expected value for [false] Cannot read property 'inherits' of undefined
FAIL Attribute 'inherits' returns expected value for [none] Cannot read property 'inherits' of undefined
FAIL Attribute 'inherits' returns expected value for [0] Cannot read property 'inherits' of undefined
FAIL Attribute 'inherits' returns expected value for [1] Cannot read property 'inherits' of undefined
FAIL Attribute 'inherits' returns expected value for ["true"] Cannot read property 'inherits' of undefined
FAIL Attribute 'inherits' returns expected value for ["false"] Cannot read property 'inherits' of undefined
FAIL Attribute 'inherits' returns expected value for [calc(0)] Cannot read property 'inherits' of undefined
PASS Invalid property name does not parse [foo]
PASS Invalid property name does not parse [-foo]
FAIL Rule applied [*, if(){}, false] assert_equals: expected "if(){}" but got ""
FAIL Rule applied [<angle>, 42deg, false] assert_equals: expected "42deg" but got ""
FAIL Rule applied [<angle>, 1turn, false] assert_equals: expected "360deg" but got ""
FAIL Rule applied [<color>, green, false] assert_equals: expected "rgb(0, 128, 0)" but got ""
FAIL Rule applied [<color>, rgb(1, 2, 3), false] assert_equals: expected "rgb(1, 2, 3)" but got ""
FAIL Rule applied [<image>, url("http://a/"), false] assert_equals: expected "url(\"http://a/\")" but got ""
FAIL Rule applied [<integer>, 5, false] assert_equals: expected "5" but got ""
FAIL Rule applied [<length-percentage>, 10px, false] assert_equals: expected "10px" but got ""
FAIL Rule applied [<length-percentage>, 10%, false] assert_equals: expected "10%" but got ""
FAIL Rule applied [<length-percentage>, calc(10% + 10px), false] assert_equals: expected "calc(10% + 10px)" but got ""
FAIL Rule applied [<length>, 10px, false] assert_equals: expected "10px" but got ""
FAIL Rule applied [<number>, 2.5, false] assert_equals: expected "2.5" but got ""
FAIL Rule applied [<percentage>, 10%, false] assert_equals: expected "10%" but got ""
FAIL Rule applied [<resolution>, 50dppx, false] assert_equals: expected "50dppx" but got ""
FAIL Rule applied [<resolution>, 96dpi, false] assert_equals: expected "1dppx" but got ""
FAIL Rule applied [<time>, 10s, false] assert_equals: expected "10s" but got ""
FAIL Rule applied [<time>, 1000ms, false] assert_equals: expected "1s" but got ""
FAIL Rule applied [<transform-function>, rotateX(0deg), false] assert_equals: expected "rotateX(0deg)" but got ""
FAIL Rule applied [<transform-list>, rotateX(0deg), false] assert_equals: expected "rotateX(0deg)" but got ""
FAIL Rule applied [<transform-list>, rotateX(0deg) translateX(10px), false] assert_equals: expected "rotateX(0deg) translateX(10px)" but got ""
FAIL Rule applied [<url>, url("http://a/"), false] assert_equals: expected "url(\"http://a/\")" but got ""
FAIL Rule applied [<color>, tomato, false] assert_equals: expected "rgb(255, 99, 71)" but got ""
FAIL Rule applied [<color>, tomato, true] assert_equals: expected "rgb(255, 99, 71)" but got ""
PASS Rule applied for "*", even with no initial value
PASS Rule not applied [undefined, green, false]
PASS Rule not applied [<color>, undefined, false]
PASS Rule not applied [<color>, green, undefined]
PASS Rule not applied [<gandalf>, grey, false]
PASS Rule not applied [gandalf, grey, false]
PASS Rule not applied [<color>, notacolor, false]
PASS Rule not applied [<length>, 10em, false]
FAIL Non-inherited properties do not inherit assert_equals: expected "40px" but got " 40px"
FAIL Inherited properties inherit assert_equals: expected "40px" but got " 40px"
FAIL Initial values substituted as computed value assert_equals: expected "rgb(0, 128, 0)" but got ""
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS @property determines the registration when uncontested
PASS CSS.registerProperty wins over @property
PASS @property later in document order wins
PASS @property later in stylesheet wins
PASS CSS.registerProperty determines the registration when uncontested
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS idl_test setup
PASS idl_test validation
PASS Partial namespace CSS: original namespace defined
PASS Partial namespace CSS: member names are unique
PASS Partial interface CSSRule: original interface defined
PASS Partial interface CSSRule: member names are unique
PASS CSSPropertyRule interface: existence and properties of interface object
PASS CSSPropertyRule interface object length
PASS CSSPropertyRule interface object name
PASS CSSPropertyRule interface: existence and properties of interface prototype object
PASS CSSPropertyRule interface: existence and properties of interface prototype object's "constructor" property
PASS CSSPropertyRule interface: existence and properties of interface prototype object's @@unscopables property
PASS CSSPropertyRule interface: attribute name
PASS CSSPropertyRule interface: attribute syntax
PASS CSSPropertyRule interface: attribute inherits
PASS CSSPropertyRule interface: attribute initialValue
PASS CSSRule interface: constant PROPERTY_RULE on interface object
PASS CSSRule interface: constant PROPERTY_RULE on interface prototype object
PASS CSS namespace: operation escape(CSSOMString)
PASS CSS namespace: operation registerProperty(PropertyDefinition)
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Rule for --valid has expected cssText
PASS Rule for --valid-reverse has expected cssText
PASS Rule for --valid-universal has expected cssText
PASS Rule for --valid-whitespace has expected cssText
PASS Rule for --vALId has expected cssText
PASS Rule for --no-descriptors has expected cssText
PASS Rule for --no-syntax has expected cssText
PASS Rule for --no-inherits has expected cssText
PASS Rule for --no-initial-value has expected cssText
PASS Rule for --syntax-only has expected cssText
PASS Rule for --inherits-only has expected cssText
PASS Rule for --initial-value-only has expected cssText
PASS Rule for --valid returns expected value for CSSPropertyRule.name
PASS Rule for --valid-reverse returns expected value for CSSPropertyRule.name
PASS Rule for --valid-universal returns expected value for CSSPropertyRule.name
PASS Rule for --valid-whitespace returns expected value for CSSPropertyRule.name
PASS Rule for --vALId returns expected value for CSSPropertyRule.name
PASS Rule for --no-descriptors returns expected value for CSSPropertyRule.name
PASS Rule for --no-syntax returns expected value for CSSPropertyRule.name
PASS Rule for --no-inherits returns expected value for CSSPropertyRule.name
PASS Rule for --no-initial-value returns expected value for CSSPropertyRule.name
PASS Rule for --syntax-only returns expected value for CSSPropertyRule.name
PASS Rule for --inherits-only returns expected value for CSSPropertyRule.name
PASS Rule for --initial-value-only returns expected value for CSSPropertyRule.name
PASS Rule for --valid returns expected value for CSSPropertyRule.syntax
PASS Rule for --valid-reverse returns expected value for CSSPropertyRule.syntax
PASS Rule for --valid-universal returns expected value for CSSPropertyRule.syntax
PASS Rule for --valid-whitespace returns expected value for CSSPropertyRule.syntax
PASS Rule for --vALId returns expected value for CSSPropertyRule.syntax
PASS Rule for --no-descriptors returns expected value for CSSPropertyRule.syntax
PASS Rule for --no-syntax returns expected value for CSSPropertyRule.syntax
PASS Rule for --no-inherits returns expected value for CSSPropertyRule.syntax
PASS Rule for --no-initial-value returns expected value for CSSPropertyRule.syntax
PASS Rule for --syntax-only returns expected value for CSSPropertyRule.syntax
PASS Rule for --inherits-only returns expected value for CSSPropertyRule.syntax
PASS Rule for --initial-value-only returns expected value for CSSPropertyRule.syntax
PASS Rule for --valid returns expected value for CSSPropertyRule.inherits
PASS Rule for --valid-reverse returns expected value for CSSPropertyRule.inherits
PASS Rule for --valid-universal returns expected value for CSSPropertyRule.inherits
PASS Rule for --valid-whitespace returns expected value for CSSPropertyRule.inherits
PASS Rule for --vALId returns expected value for CSSPropertyRule.inherits
PASS Rule for --no-descriptors returns expected value for CSSPropertyRule.inherits
PASS Rule for --no-syntax returns expected value for CSSPropertyRule.inherits
PASS Rule for --no-inherits returns expected value for CSSPropertyRule.inherits
PASS Rule for --no-initial-value returns expected value for CSSPropertyRule.inherits
PASS Rule for --syntax-only returns expected value for CSSPropertyRule.inherits
PASS Rule for --inherits-only returns expected value for CSSPropertyRule.inherits
PASS Rule for --initial-value-only returns expected value for CSSPropertyRule.inherits
PASS Rule for --valid returns expected value for CSSPropertyRule.initialValue
PASS Rule for --valid-reverse returns expected value for CSSPropertyRule.initialValue
PASS Rule for --valid-universal returns expected value for CSSPropertyRule.initialValue
PASS Rule for --valid-whitespace returns expected value for CSSPropertyRule.initialValue
PASS Rule for --vALId returns expected value for CSSPropertyRule.initialValue
PASS Rule for --no-descriptors returns expected value for CSSPropertyRule.initialValue
PASS Rule for --no-syntax returns expected value for CSSPropertyRule.initialValue
PASS Rule for --no-inherits returns expected value for CSSPropertyRule.initialValue
PASS Rule for --no-initial-value returns expected value for CSSPropertyRule.initialValue
PASS Rule for --syntax-only returns expected value for CSSPropertyRule.initialValue
PASS Rule for --inherits-only returns expected value for CSSPropertyRule.initialValue
PASS Rule for --initial-value-only returns expected value for CSSPropertyRule.initialValue
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Attribute 'syntax' returns expected value for ["<color>"]
PASS Attribute 'syntax' returns expected value for ["<color> | none"]
PASS Attribute 'syntax' returns expected value for ["<color># | <image> | none"]
PASS Attribute 'syntax' returns expected value for ["foo | bar | baz"]
PASS Attribute 'syntax' returns expected value for ["*"]
PASS Attribute 'syntax' returns expected value for ["notasyntax"]
PASS Attribute 'syntax' returns expected value for [red]
PASS Attribute 'syntax' returns expected value for [rgb(255, 0, 0)]
PASS Attribute 'syntax' returns expected value for [<color>]
PASS Attribute 'syntax' returns expected value for [foo | bar]
PASS Attribute 'initial-value' returns expected value for [10px]
PASS Attribute 'initial-value' returns expected value for [rgb(1, 2, 3)]
PASS Attribute 'initial-value' returns expected value for [red]
PASS Attribute 'initial-value' returns expected value for [foo]
PASS Attribute 'initial-value' returns expected value for [if(){}]
PASS Attribute 'initial-value' returns expected value for [var(--x)]
PASS Attribute 'inherits' returns expected value for [true]
PASS Attribute 'inherits' returns expected value for [false]
PASS Attribute 'inherits' returns expected value for [none]
PASS Attribute 'inherits' returns expected value for [0]
PASS Attribute 'inherits' returns expected value for [1]
PASS Attribute 'inherits' returns expected value for ["true"]
PASS Attribute 'inherits' returns expected value for ["false"]
PASS Attribute 'inherits' returns expected value for [calc(0)]
PASS Invalid property name does not parse [foo]
PASS Invalid property name does not parse [-foo]
PASS Rule applied [*, if(){}, false]
PASS Rule applied [<angle>, 42deg, false]
PASS Rule applied [<angle>, 1turn, false]
PASS Rule applied [<color>, green, false]
PASS Rule applied [<color>, rgb(1, 2, 3), false]
PASS Rule applied [<image>, url("http://a/"), false]
PASS Rule applied [<integer>, 5, false]
PASS Rule applied [<length-percentage>, 10px, false]
PASS Rule applied [<length-percentage>, 10%, false]
PASS Rule applied [<length-percentage>, calc(10% + 10px), false]
PASS Rule applied [<length>, 10px, false]
PASS Rule applied [<number>, 2.5, false]
PASS Rule applied [<percentage>, 10%, false]
PASS Rule applied [<resolution>, 50dppx, false]
PASS Rule applied [<resolution>, 96dpi, false]
PASS Rule applied [<time>, 10s, false]
PASS Rule applied [<time>, 1000ms, false]
PASS Rule applied [<transform-function>, rotateX(0deg), false]
PASS Rule applied [<transform-list>, rotateX(0deg), false]
PASS Rule applied [<transform-list>, rotateX(0deg) translateX(10px), false]
PASS Rule applied [<url>, url("http://a/"), false]
PASS Rule applied [<color>, tomato, false]
PASS Rule applied [<color>, tomato, true]
PASS Rule applied for "*", even with no initial value
PASS Rule not applied [undefined, green, false]
PASS Rule not applied [<color>, undefined, false]
PASS Rule not applied [<color>, green, undefined]
PASS Rule not applied [<gandalf>, grey, false]
PASS Rule not applied [gandalf, grey, false]
PASS Rule not applied [<color>, notacolor, false]
PASS Rule not applied [<length>, 10em, false]
PASS Non-inherited properties do not inherit
PASS Inherited properties inherit
PASS Initial values substituted as computed value
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS idl_test setup
PASS idl_test validation
PASS Partial namespace CSS: original namespace defined
PASS Partial namespace CSS: member names are unique
PASS Partial interface CSSRule: original interface defined
PASS Partial interface CSSRule: member names are unique
FAIL CSSPropertyRule interface: existence and properties of interface object assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface object length assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface object name assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: existence and properties of interface prototype object assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: attribute name assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: attribute syntax assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: attribute inherits assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSPropertyRule interface: attribute initialValue assert_own_property: self does not have own property "CSSPropertyRule" expected property "CSSPropertyRule" missing
FAIL CSSRule interface: constant PROPERTY_RULE on interface object assert_own_property: expected property "PROPERTY_RULE" missing
FAIL CSSRule interface: constant PROPERTY_RULE on interface prototype object assert_own_property: expected property "PROPERTY_RULE" missing
PASS CSS namespace: operation escape(CSSOMString)
PASS CSS namespace: operation registerProperty(PropertyDefinition)
Harness: the test ran to completion.
......@@ -191,6 +191,8 @@ height
hyphens
imageOrientation
imageRendering
inherits
initialValue
inlineSize
inset
insetBlock
......@@ -354,6 +356,7 @@ strokeMiterlimit
strokeOpacity
strokeWidth
subtreeVisibility
syntax
tabSize
tableLayout
textAlign
......
......@@ -774,6 +774,13 @@ interface CSSPositionValue : CSSStyleValue
method constructor
setter x
setter y
interface CSSPropertyRule : CSSRule
attribute @@toStringTag
getter inherits
getter initialValue
getter name
getter syntax
method constructor
interface CSSRotate : CSSTransformComponent
attribute @@toStringTag
getter angle
......@@ -795,6 +802,7 @@ interface CSSRule
attribute MEDIA_RULE
attribute NAMESPACE_RULE
attribute PAGE_RULE
attribute PROPERTY_RULE
attribute STYLE_RULE
attribute SUPPORTS_RULE
attribute VIEWPORT_RULE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment