Revision 2d56cd126920b614514b2c094b15cc783acc03c2 authored by Darren Shen on 19 March 2018, 05:47:13 UTC, committed by Chromium WPT Sync on 19 March 2018, 05:47:13 UTC
This patch adds support for motion path properties. We had to modify the computed style computation for <position> values. Previously, we parse a <position> value as a CSSValuePair, but compute them to a CSSValueList containing two items. This is very strange, so we just compute to a CSSValuePair. Since both serialize to the same string, this has no behavioural changes on CSSOM. Bug: 820299 Change-Id: I2131055dad0785eb47ea2d2d89f00229f4376bae Reviewed-on: https://chromium-review.googlesource.com/967915 Reviewed-by: nainar <nainar@chromium.org> Commit-Queue: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#543975}
1 parent 10c525d
example2.test
{
"@context": "https://www.w3.org/ns/JSONtest-v1.jsonld",
"name": "A test that has an 'or' clause",
"description": "This is a complex test that uses or-ing among a list of assertions.",
"ref": "https://www.w3.org/TR/annotation-model/#model",
"testType": "manual",
"assertions":
{ "title": "Condition Object",
"description": "A pseudo-test that will get a result from the aggregate of its children",
"assertionType": "must",
"expectedResult": "valid",
"errorMessage": "Error: None of the various options were present",
"compareWith": "or",
"assertions": [
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "'The Annotation must have 1 or more @context values' (Section 3.1)",
"assertionType": "must",
"expectedResult": "valid",
"errorMessage": "Error: Annotation does not have an @context property.",
"type": "object",
"properties": {
"@context": {}
},
"required": ["@context"]
},
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "'An Annotation should have exactly 1 id' (Section 3.1)",
"assertionType": "should",
"expectedResult": "valid",
"errorMessage": "Warning: The Annotation is not identified using the id key (Section 3.1).",
"type": "object",
"properties": {
"id": {}
},
"required": ["id"]
}
]
}
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...