From 587b261b60187cdbe8a2f1c82e0188e650b76fec Mon Sep 17 00:00:00 2001 From: Alexander T Date: Tue, 10 Apr 2018 13:51:09 +0300 Subject: [PATCH 1/2] Add relList to HTMLAnchorElement, HTMLAreaElement, HTMLLinkElement --- baselines/dom.generated.d.ts | 3 ++ inputfiles/overridingTypes.json | 63 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 1e47b47eb..080afbbd2 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -5176,6 +5176,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { * Sets or retrieves the relationship between the object and the destination of the link. */ rel: string; + readonly relList: DOMTokenList; /** * Sets or retrieves the relationship between the object and the destination of the link. */ @@ -5273,6 +5274,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { /** @deprecated */ noHref: boolean; rel: string; + readonly relList: DOMTokenList; /** * Sets or retrieves the shape of the object. */ @@ -6723,6 +6725,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle { * Sets or retrieves the relationship between the object and the destination of the link. */ rel: string; + readonly relList: DOMTokenList; /** * Sets or retrieves the relationship between the object and the destination of the link. */ diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index 0cb4ac25c..2de03acc9 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -147,6 +147,69 @@ }, "interfaces": { "interface": { + "HTMLAnchorElement": { + "name": "HTMLAnchorElement", + "properties": { + "property": { + "relList": { + "content-attribute-value-syntax": "space_separated_enums", + "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright dns-prefetch entry-content feedurl glossary help index next prefetch preload prev section start subsection", + "content-attribute-reflects": 1, + "content-attribute": "rel", + "type-original": "DOMTokenList", + "put-forwards": "value", + "same-object": 1, + "read-only": 1, + "exposed": "Window", + "specs": "html5", + "name": "relList", + "type": "DOMTokenList" + } + } + } + }, + "HTMLAreaElement": { + "name": "HTMLAreaElement", + "properties": { + "property": { + "relList": { + "content-attribute-value-syntax": "space_separated_enums", + "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright dns-prefetch entry-content feedurl glossary help index next prefetch preload prev section start subsection", + "content-attribute-reflects": 1, + "content-attribute": "rel", + "type-original": "DOMTokenList", + "put-forwards": "value", + "same-object": 1, + "read-only": 1, + "exposed": "Window", + "specs": "html5", + "name": "relList", + "type": "DOMTokenList" + } + } + } + }, + "HTMLLinkElement": { + "name": "HTMLLinkElement", + "properties": { + "property": { + "relList": { + "content-attribute-value-syntax": "space_separated_enums", + "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright dns-prefetch entry-content feedurl glossary help index next offline prefetch preload prev search section start stylesheet subsection shortcut_icon", + "content-attribute-reflects": 1, + "content-attribute": "rel", + "type-original": "DOMTokenList", + "put-forwards": "value", + "same-object": 1, + "read-only": 1, + "exposed": "Window", + "specs": "html5", + "name": "relList", + "type": "DOMTokenList" + } + } + } + }, "SourceBuffer": { "specs": "media-source", "name": "SourceBuffer", From 70b113cac00c2dab02b114df78100147aa9b4033 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 10 Apr 2018 09:02:00 -0700 Subject: [PATCH 2/2] Remove unused attributes --- inputfiles/overridingTypes.json | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/inputfiles/overridingTypes.json b/inputfiles/overridingTypes.json index 2de03acc9..8f1013bcb 100644 --- a/inputfiles/overridingTypes.json +++ b/inputfiles/overridingTypes.json @@ -152,16 +152,7 @@ "properties": { "property": { "relList": { - "content-attribute-value-syntax": "space_separated_enums", - "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright dns-prefetch entry-content feedurl glossary help index next prefetch preload prev section start subsection", - "content-attribute-reflects": 1, - "content-attribute": "rel", - "type-original": "DOMTokenList", - "put-forwards": "value", - "same-object": 1, "read-only": 1, - "exposed": "Window", - "specs": "html5", "name": "relList", "type": "DOMTokenList" } @@ -173,16 +164,7 @@ "properties": { "property": { "relList": { - "content-attribute-value-syntax": "space_separated_enums", - "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright dns-prefetch entry-content feedurl glossary help index next prefetch preload prev section start subsection", - "content-attribute-reflects": 1, - "content-attribute": "rel", - "type-original": "DOMTokenList", - "put-forwards": "value", - "same-object": 1, "read-only": 1, - "exposed": "Window", - "specs": "html5", "name": "relList", "type": "DOMTokenList" } @@ -194,16 +176,7 @@ "properties": { "property": { "relList": { - "content-attribute-value-syntax": "space_separated_enums", - "content-attribute-enum-values": "alternate appendix bookmark chapter contents copyright dns-prefetch entry-content feedurl glossary help index next offline prefetch preload prev search section start stylesheet subsection shortcut_icon", - "content-attribute-reflects": 1, - "content-attribute": "rel", - "type-original": "DOMTokenList", - "put-forwards": "value", - "same-object": 1, "read-only": 1, - "exposed": "Window", - "specs": "html5", "name": "relList", "type": "DOMTokenList" }