Skip to content

Commit

Permalink
Test the <link> as content and IDL attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Apr 26, 2017
1 parent 080ae26 commit 6ceb225
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion html/dom/elements-metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ var metadataElements = {
crossOrigin: {type: "enum", keywords: ["anonymous", "use-credentials"], nonCanon:{"": "anonymous"}, isNullable: true, defaultVal: null, invalidVal: "anonymous"},
rel: "string",
relList: {type: "tokenlist", domAttrName: "rel"},
// as: {}, XXX TODO: reflecting IDL attribute is an IDL enumeration
as: {
type: "enum",
keywords: ["", "audio", "document", "embed", "font", "image", "manifest", "object", "report", "script", "serviceworker", "sharedworker", "style", "track", "video", "worker", "xslt"],
defaultVal: "",
invalidVal: ""
},
media: "string",
nonce: "string",
integrity: "string",
Expand Down
2 changes: 1 addition & 1 deletion interfaces/html.idl
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ interface HTMLLinkElement : HTMLElement {
[CEReactions] attribute USVString href;
[CEReactions] attribute DOMString? crossOrigin;
[CEReactions] attribute DOMString rel;
// [CEReactions] attribute RequestDestination as; // (default "") XXX TODO
[CEReactions] attribute DOMString as; // (default "")
[CEReactions, SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
[CEReactions] attribute DOMString media;
[CEReactions] attribute DOMString nonce;
Expand Down

0 comments on commit 6ceb225

Please sign in to comment.