mirror of
https://github.com/servo/servo.git
synced 2025-08-21 05:15:33 +01:00
Update web-platform-tests to revision 3b3585e368841b77caea8576fa56cef91c3fbdf0
This commit is contained in:
parent
d00639c55f
commit
3b4f0ec0bb
541 changed files with 14609 additions and 3288 deletions
|
@ -0,0 +1,48 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Annotation implements optional keys and meets optional key value constraints for Creator and Generator Agents</title>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/annotation-model/scripts/ajv.min.js"></script>
|
||||
<script src="/annotation-model/scripts/showdown.min.js"></script>
|
||||
<script src="/annotation-model/scripts/JSONtest.js"></script>
|
||||
<script>
|
||||
setup({explicit_timeout: true, explicit_done: true });
|
||||
|
||||
var theDefinitions=[
|
||||
"definitions/specificResource.json",
|
||||
"definitions/choiceSet.json",
|
||||
"definitions/bodyTarget.json",
|
||||
"definitions/annotations.json",
|
||||
"definitions/otherProperties.json",
|
||||
"definitions/id.json"
|
||||
];
|
||||
|
||||
var theTestFile="annotationsAgentOptionals.test";
|
||||
|
||||
var runningTest = new JSONtest( {
|
||||
"testInput" : "annotation-input",
|
||||
"runTest" : "annotation-run",
|
||||
"closeWindow" : "annotation-close",
|
||||
"schemaDefs" : theDefinitions,
|
||||
"testFile" : theTestFile
|
||||
} ) ;
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p>Fill the textarea below with JSON output from your annotation client
|
||||
implementation that supports the following criteria:</p>
|
||||
<div id="testDescription"></div>
|
||||
<form name="annotation" id="annotation">
|
||||
<textarea name="annotation-input" id="annotation-input" style="width: 90%; height: 10em" ></textarea>
|
||||
<p><input type="button" id="annotation-run" name="Loading..." value="Loading...">
|
||||
<input style="display: none" type="button" id="annotation-close"
|
||||
name="Close" value="Close"></p>
|
||||
</form>
|
||||
<p>Specifically, the following assertions will be evaluated:</p>
|
||||
<div id="assertion"></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue