mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 0d318188757a9c996e20b82db201fd04de5aa255
This commit is contained in:
parent
b2a5225831
commit
1a81b18b9f
12321 changed files with 544385 additions and 6 deletions
41
tests/wpt/web-platform-tests/html/dom/elements-metadata.js
Normal file
41
tests/wpt/web-platform-tests/html/dom/elements-metadata.js
Normal file
|
@ -0,0 +1,41 @@
|
|||
// Up-to-date as of 2013-04-08.
|
||||
var metadataElements = {
|
||||
head: {},
|
||||
title: {},
|
||||
base: {
|
||||
// XXX href is weird. href: "url",
|
||||
target: "string",
|
||||
},
|
||||
link: {
|
||||
// Conforming
|
||||
href: "url",
|
||||
crossOrigin: {type: "enum", keywords: ["anonymous", "use-credentials"], nonCanon:{"": "anonymous"}},
|
||||
rel: "string",
|
||||
relList: {type: "tokenlist", domAttrName: "rel"},
|
||||
media: "string",
|
||||
hreflang: "string",
|
||||
type: "string",
|
||||
sizes: "settable tokenlist",
|
||||
|
||||
// Obsolete
|
||||
charset: "string",
|
||||
rev: "string",
|
||||
target: "string",
|
||||
},
|
||||
meta: {
|
||||
// Conforming
|
||||
name: "string",
|
||||
httpEquiv: {type: "string", domAttrName: "http-equiv"},
|
||||
content: "string",
|
||||
|
||||
// Obsolete
|
||||
scheme: "string",
|
||||
},
|
||||
style: {
|
||||
media: "string",
|
||||
type: "string",
|
||||
scoped: "boolean",
|
||||
},
|
||||
};
|
||||
|
||||
mergeElements(metadataElements);
|
Loading…
Add table
Add a link
Reference in a new issue