diff --git a/source b/source index 37c6d758c60..ac7f492cc0a 100644 --- a/source +++ b/source @@ -6988,6 +6988,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute tree order.

+
+

A URL matches about:blank if its scheme is "about", its path contains a single string "blank", its @@ -7000,6 +7002,25 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute record created by parsing "about:blank?foo#bar" matches about:blank.

+

A URL matches about:srcdoc if its scheme is "about", its path contains a single string "srcdoc", + its query is null, its username and password are the empty string, and its host is null.

+ +

The reason that matches about:srcdoc ensures that the + URL's query is null is because it is not + possible to create an iframe srcdoc document whose URL has a non-null query, unlike Documents whose URL matches about:blank. In other + words, the set of all URLs that match + about:srcdoc only vary in their fragment.

+
@@ -32541,8 +32562,10 @@ interface HTMLIFrameElement : HTMLElement {

The srcdoc attribute gives the content of the page that the element's content navigable is to - contain. The value of the attribute is the source of an iframe srcdoc document.

+ contain. The value of the attribute is used to construct an iframe srcdoc document, which is a Document whose + URL matches about:srcdoc.

The srcdoc attribute, if present, must have a value using the HTML syntax that consists of the following syntactic components, in the