From e0d562e19addbf0864b907d6b056b46bb5c97197 Mon Sep 17 00:00:00 2001
From: Dominic Farolino iframe
srcdoc
documents.
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 Document
s whose URL matches about:blank
. In other
+ words, the set of all URLs that match
+ about:srcdoc
only vary in their fragment.
The fallback base URL of a Document
object document is the
URL record obtained by running these steps:
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.
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
From b92cf740e3dfd1061db51e724ed81b56cef2a7c0 Mon Sep 17 00:00:00 2001
From: Dominic Farolino
`
---
source | 40 +++++++++++++++++++++-------------------
1 file changed, 21 insertions(+), 19 deletions(-)
diff --git a/source b/source
index ab3c85dceb2..ac7f492cc0a 100644
--- a/source
+++ b/source
@@ -6948,25 +6948,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
document">iframe
srcdoc
documents.
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 Document
s whose URL matches about:blank
. In other
- words, the set of all URLs that match
- about:srcdoc
only vary in their fragment.
The fallback base URL of a Document
object document is the
URL record obtained by running these steps:
A URL matches about:blank
if its scheme is "about
", its path contains a single string "blank
", its
@@ -7019,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 Document
s whose URL matches about:blank
. In other
+ words, the set of all URLs that match
+ about:srcdoc
only vary in their fragment.