From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../bodiesTargets/4.4-targStyleClass.json | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 testing/web-platform/tests/annotation-model/annotations/bodiesTargets/4.4-targStyleClass.json (limited to 'testing/web-platform/tests/annotation-model/annotations/bodiesTargets/4.4-targStyleClass.json') diff --git a/testing/web-platform/tests/annotation-model/annotations/bodiesTargets/4.4-targStyleClass.json b/testing/web-platform/tests/annotation-model/annotations/bodiesTargets/4.4-targStyleClass.json new file mode 100644 index 000000000..cde8fa4d3 --- /dev/null +++ b/testing/web-platform/tests/annotation-model/annotations/bodiesTargets/4.4-targStyleClass.json @@ -0,0 +1,35 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "id": "4.4-targStyleClass.json", + "assertionType": "may", + "expectedResult": "valid", + "onUnexpectedResult" : "passAndContinue", + "errorMessage": "The description of a Specific Resource target may include styleClass key with one or more values.", + "title": "Implements **Specific Resource target _styleClass_ key** which has one or more values - [model 4.4](https://www.w3.org/TR/annotation-model/#styles)", + "description": "True when Annotation includes one or more Specific Resource targets, one or more of which include styleClass key with one or more values. (Section 4.4)", + "type": "object", + "properties": + { + "target": + { + "oneOf": [ + { "anyOf": [ + { "$ref": "specificResource.json#/definitions/styleClassDetected" }, + { "$ref": "specificResource.json#/definitions/itemStyleClassPropertyDetected" } + ] + }, + { "not": + { "items": + { "not": + { "anyOf": [ + { "$ref": "specificResource.json#/definitions/styleClassDetected" }, + { "$ref": "specificResource.json#/definitions/itemStyleClassPropertyDetected" } + ] + } + } + } + } + ] + } + } +} \ No newline at end of file -- cgit v1.2.3