diff --git a/source b/source index 315e77657e4..a6080500583 100644 --- a/source +++ b/source @@ -3328,7 +3328,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute parent, and fallbackRegistry, and the concept of cloning steps -
This specification defines the URL about:legacy-compat as a reserved,
though unresolvable, about: URL, for use in DOCTYPEs in HTML documents when needed for
@@ -7231,46 +7232,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
document">iframe srcdoc documents.
ABOUT
The fallback base URL of a Document object document is the
- URL record obtained by running these steps:
If document is an iframe
- srcdoc document, then:
Assert: document's about base URL is non-null.
Return document's about base - URL.
If document's URL matches
- about:blank and document's about base URL is non-null, then return
- document's about base URL.
Return document's URL.
The document base URL of a Document object is the
- URL record obtained by running these steps:
If there is no base element that has an href attribute in the Document, then return the
- Document's fallback base URL.
Otherwise, return the frozen base URL of the first base element
- in the Document that has an href attribute, in
- tree order.
A URL matches When a document's document base URL changes, all elements in that document are
- affected by a base URL change. The document base URL of a The following are base URL change steps, which run when an element is
- affected by a base URL change (as defined by DOM): If document has no descendant Otherwise, return the frozen base URL of the first The fallback base URL of a If the URL identified by the hyperlink is being shown to the user, or if any
- data derived from that URL is affecting the display, then the If document is an For example, the CSS Assert: document's about base URL is non-null. If the hyperlink has a Return document's about base
+ URL. If document's URL matches
+ If the URL identified by the Return document's URL. The element is not directly affected. For instance, changing the base URL doesn't affect the image displayed by
- To set the URL for a Set document's URL to
+ url. Respond to base URL changes given document. To respond to base URL changes for a
+ The user agent should update any user interface elements which are displaying affected
+ URLs, or data derived from such URLs, to the user. Examples of such user interface elements would
+ be a status bar that displays a hyperlink's url, or some user interface which displays the URL
+ specified by a Ensure that the CSS This means that changing the base
+ URL doesn't affect, for example, the image displayed by Set element's frozen base URL to urlRecord. Respond to base URL changes given document. The about:blank if its
- Dynamic changes to base URLs
+ Document base URLs
- Document document is the
+ URL record obtained by running these steps:
+
- base element that has
+ an href attribute, then return document's
+ fallback base URL.
+
base element
+ in document that has an href attribute, in
+ tree order.Document object document is the
+ URL record obtained by running these steps:href attribute's value should be reparsed, relative to the element's node
- document and the UI updated appropriately.
+
iframe
+ srcdoc document::link/:visited pseudo-classes
- might have been affected.
+
ping attribute and its
- URL(s) are being shown to the user, then the ping attribute's tokens should be reparsed, relative to the element's node
- document and the UI updated appropriately.q, blockquote, ins, or
- del element with a cite attributeabout:blank and document's about base URL is non-null, then return
+ document's about base
+ URL.cite attribute is being
- shown to the user, or if any data derived from that URL is affecting the display,
- then the cite attribute's value should be reparsed, relative to the element's node document and the UI updated
- appropriately.
- img elements, although subsequent accesses of the src IDL attribute from script will return a new absolute
- URL that might no longer correspond to the image being shown.Document document to a URL
+ record url:
+
+
+ Document document:
+
+
+ q, blockquote, ins, or del
+ element's cite attribute.:link/:visited/etc. pseudo-classes
+ are updated appropriately.img elements. Thus,
+ subsequent accesses of the src IDL attribute from script will
+ return a new absolute URL that might no longer correspond to the image being
+ shown.href IDL
@@ -103093,8 +103080,7 @@ location.href = '#foo';
state
Set document's URL to - newURL.
+Set the URL given document to newURL.
Since this is neither a navigation nor a history traversal, it does not cause a