Revision 260166c7aa434d6367910af87f67fdaf51146068 authored by Lukasz Anforowicz on 02 April 2018, 20:04:17 UTC, committed by Chromium WPT Sync on 02 April 2018, 20:04:17 UTC
Bug: 809261
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: Idafb2b4cc5da3d6c7a054e479745288cc3b86513
Reviewed-on: https://chromium-review.googlesource.com/984338
Commit-Queue: Ɓukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Nick Carter <nick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547494}
1 parent af485dc
Raw File
4.4-targStyleClass.json
{
    "$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" }
                                 ]
                               }
                             }
                         }
                       }
                     ]
         }
     },
     "required": [ "target" ]
}
back to top