mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326
This commit is contained in:
parent
462c272380
commit
1f531f66ea
5377 changed files with 174916 additions and 84369 deletions
|
@ -1,9 +1,8 @@
|
|||
// Up-to-date as of 2013-04-08.
|
||||
var metadataElements = {
|
||||
head: {},
|
||||
title: {},
|
||||
base: {
|
||||
// XXX href is weird. href: "url",
|
||||
href: {type: "url", customGetter: true},
|
||||
target: "string",
|
||||
},
|
||||
link: {
|
||||
|
@ -11,13 +10,13 @@ var metadataElements = {
|
|||
href: "url",
|
||||
crossOrigin: {type: "enum", keywords: ["anonymous", "use-credentials"], nonCanon:{"": "anonymous"}, isNullable: true, defaultVal: null, invalidVal: "anonymous"},
|
||||
rel: "string",
|
||||
relList: {type: "tokenlist", domAttrName: "rel"},
|
||||
as: {
|
||||
type: "enum",
|
||||
keywords: ["fetch", "audio", "document", "embed", "font", "image", "manifest", "object", "report", "script", "serviceworker", "sharedworker", "style", "track", "video", "worker", "xslt"],
|
||||
defaultVal: "",
|
||||
invalidVal: ""
|
||||
},
|
||||
relList: {type: "tokenlist", domAttrName: "rel"},
|
||||
media: "string",
|
||||
nonce: "string",
|
||||
integrity: "string",
|
||||
|
@ -25,6 +24,19 @@ var metadataElements = {
|
|||
type: "string",
|
||||
sizes: "settable tokenlist",
|
||||
referrerPolicy: {type: "enum", keywords: ["", "no-referrer", "no-referrer-when-downgrade", "same-origin", "origin", "strict-origin", "origin-when-cross-origin", "strict-origin-when-cross-origin", "unsafe-url"]},
|
||||
scope: "string",
|
||||
workerType: {
|
||||
type: "enum",
|
||||
keywords: ["classic", "module"],
|
||||
defaultVal: "classic",
|
||||
invalidVal: "",
|
||||
},
|
||||
updateViaCache: {
|
||||
type: "enum",
|
||||
keywords: ["imports", "all", "none"],
|
||||
defaultVal: "imports",
|
||||
invalidVal: "imports"
|
||||
},
|
||||
|
||||
// Obsolete
|
||||
charset: "string",
|
||||
|
@ -42,6 +54,7 @@ var metadataElements = {
|
|||
},
|
||||
style: {
|
||||
media: "string",
|
||||
nonce: "string",
|
||||
type: "string",
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue