Skip to content

Commit 9885eef

Browse files
jyasskinzcorpan
authored andcommitted
Editorial: prevent Document definition from escaping HTML
DOM already defines Document. Other specs that cross-reference Document should link to DOM, not HTML's partial interface. The data-dfn-lt="" attribute hides the definition for Bikeshed. Fixes whatwg#1715.
1 parent e6aaf5f commit 9885eef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8677,7 +8677,7 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E..
86778677
typedef (<span>HTMLScriptElement</span> or <span>SVGScriptElement</span>) <dfn>HTMLOrSVGScriptElement</dfn>;
86788678

86798679
[OverrideBuiltins]
8680-
partial interface <dfn id="document">Document</dfn> {
8680+
partial interface <dfn id="document" data-dfn-lt="">Document</dfn> {
86818681
// <span>resource metadata management</span>
86828682
[PutForwards=<span data-x="dom-location-href">href</span>, Unforgeable] readonly attribute <span>Location</span>? <span data-x="dom-document-location">location</span>;
86838683
attribute USVString <span data-x="dom-document-domain">domain</span>;

0 commit comments

Comments
 (0)