diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 9869cd768..ea1015b38 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -6428,12 +6428,9 @@ interface HTMLBodyElement extends HTMLElement, WindowEventHandlers { background: string; /** @deprecated */ bgColor: string; - bgProperties: string; /** @deprecated */ link: string; /** @deprecated */ - noWrap: boolean; - /** @deprecated */ onorientationchange: ((this: HTMLBodyElement, ev: Event) => any) | null; /** @deprecated */ text: string; diff --git a/inputfiles/addedTypes.json b/inputfiles/addedTypes.json index cfad7b550..c612bc495 100644 --- a/inputfiles/addedTypes.json +++ b/inputfiles/addedTypes.json @@ -1129,6 +1129,13 @@ } ] }, + "HTMLBodyElement": { + "element": [ + { + "name": "body" + } + ] + }, "HTMLBRElement": { "element": [ { @@ -1313,6 +1320,28 @@ } ] }, + "HTMLHeadingElement": { + "element": [ + { + "name": "h1" + }, + { + "name": "h2" + }, + { + "name": "h3" + }, + { + "name": "h4" + }, + { + "name": "h5" + }, + { + "name": "h6" + } + ] + }, "HTMLHRElement": { "element": [ { diff --git a/inputfiles/idl/HTML - Sections.widl b/inputfiles/idl/HTML - Sections.widl new file mode 100644 index 000000000..b7fcb1f94 --- /dev/null +++ b/inputfiles/idl/HTML - Sections.widl @@ -0,0 +1,11 @@ +[Exposed=Window] +interface HTMLBodyElement : HTMLElement { + [HTMLConstructor] constructor(); +}; + +HTMLBodyElement includes WindowEventHandlers; + +[Exposed=Window] +interface HTMLHeadingElement : HTMLElement { + [HTMLConstructor] constructor(); +}; diff --git a/inputfiles/idlSources.json b/inputfiles/idlSources.json index e754e0ce8..876d52514 100644 --- a/inputfiles/idlSources.json +++ b/inputfiles/idlSources.json @@ -286,6 +286,10 @@ "url": "https://html.spec.whatwg.org/multipage/scripting.html", "title": "HTML - Scripting" }, + { + "url": "https://html.spec.whatwg.org/multipage/sections.html", + "title": "HTML - Sections" + }, { "url": "https://html.spec.whatwg.org/multipage/semantics.html", "title": "HTML - Semantics" diff --git a/inputfiles/removedTypes.json b/inputfiles/removedTypes.json index f2503bb34..d1407af4e 100644 --- a/inputfiles/removedTypes.json +++ b/inputfiles/removedTypes.json @@ -166,18 +166,6 @@ "FederatedCredential": null, "FormDataEvent": null, "HTMLAreasCollection": null, - "HTMLBodyElement": { - "properties": { - "property": { - "onblur": null, - "onerror": null, - "onfocus": null, - "onload": null, - "onresize": null, - "onscroll": null - } - } - }, "HTMLFormElement": { "properties": { "property": {