From 9a01ce8f3da491b2318f496126497eb0d9861c90 Mon Sep 17 00:00:00 2001
From: Mason Freed Let n be value − current. Append n new option
elements with no attributes and no child
- nodes to the select
element on which this is rooted. Mutation events
- must be fired as if a DocumentFragment
containing the new option
- elements had been inserted.select
element on which this is rooted.
This is only populated for "about:
"-schemed
Document
s.
Each Document
has a fire
- mutation events flag, which is a boolean, initially true.
This is intended to suppress firing of DOM Mutation Events in cases when they - would normally fire. The specification describing mutation events is not actively maintained so - it does not look at this flag, but implementations are expected to act as though it did. - UIEVENTS
-Each Document
has a bfcache blocking details, which is a
set of not restored reason details,
@@ -14606,13 +14596,7 @@ interface DOMStringMap {
data-x="concept-cd-data">data's length, 0, and next's data.
If next's parent is non-null, then remove next.
- -The parent check is necessary as the previous step might have triggered mutation - events.
-Remove next.
name
attribute is the empty string,
then return.
- Let document be element's node document.
Let oldFlag be the value of document's fire mutation events flag.
Set document's fire - mutation events flag to false.
Let groupMembers be a list of elements, containing all elements in element's details name group except for element, in tree order.
Set document's fire - mutation events flag to oldFlag.
To ensure details exclusivity by closing the given element if needed given a
@@ -60719,14 +60692,6 @@ interface HTMLDetailsElement : HTMLElement {
attribute, or its name
attribute is the empty string,
then return.
Let document be element's node document.
Let oldFlag be the value of document's fire mutation events flag.
Set document's fire - mutation events flag to false.
Let groupMembers be a list of elements, containing all elements in element's details name group except for element, in tree order.
Set document's fire - mutation events flag to oldFlag.
The name
@@ -112497,18 +112459,9 @@ document.body.appendChild(frame)
erase all event listeners and handlers given document's relevant
global object.
Replace all with null within document.
If document is fully active, then:
@@ -127814,18 +127767,6 @@ document.body.appendChild(text); location.DOM mutation events must not fire for changes caused by the UA
- parsing the document. This includes the parsing of any content inserted using document.write()
and document.writeln()
calls. UIEVENTS
However, mutation observers do fire, as required by DOM - .
- - -The generic raw text element parsing algorithm and the generic RCDATA element @@ -132815,13 +132756,12 @@ console.assert(container.firstChild instanceof SuperP); proper element interfaces are created and that custom elements are set up correctly.
-DOM mutation events must not fire for the operations that the XML parser performs
- on the Document
's tree, but the user agent must act as if elements and attributes
- were individually appended and set respectively so as to trigger rules in this specification
- regarding what happens when an element is inserted into a document or has its attributes set, and
- DOM's requirements regarding mutation observers mean that
- mutation observers are fired (unlike mutation events). XML XMLNS
- DOM UIEVENTS
For the operations that the XML parser performs on the Document
's
+ tree, the user agent must act as if elements and attributes were individually appended and set
+ respectively so as to trigger rules in this specification regarding what happens when an element
+ is inserted into a document or has its attributes set, and DOM's requirements
+ regarding mutation observers mean that mutation observers are fired.
+ XML XMLNS DOM UIEVENTS
Between the time an element's start tag is parsed and the time either the element's end tag is parsed or the parser detects a well-formedness error, the user agent must act as if the element