From 21f0e0e0092d847da350ff52716ffc7121d12619 Mon Sep 17 00:00:00 2001
From: Domenic Denicola The user agent should allow the user to request that the additional information be shown or
hidden. To honor a request for the details to be shown, the user agent must set the open attribute on the element to the value open. To honor a request for the information to be hidden, the user agent must
- remove the open attribute from the element.open attribute from the element.
Whenever the open attribute is added to or removed from
a details element, the user agent must queue a task that runs the
@@ -55685,6 +55685,35 @@ interface HTMLDetailsElement : HTMLElement {
rest of the contents of the summary element's parent details
element, if any.
The activation behavior of summary elements is to run the following
+ steps:
If the summary element is not being rendered, abort these
+ steps.
If the summary element has no parent node, abort these steps.
Let parent be the summary element's parent node.
If parent is not a details element, abort these steps.
If parent's first element child is not the summary element, abort
+ these steps.
If the open attribute is present on
+ parent, remove it. Otherwise, set parent's open attribute to the empty string.
This will then run the details notification task steps.
+menu elementmenuitem elementssummary elements that are the first element child of a details
+ elementdraggable attribute set, if that would
enable the user agent to allow the user to begin a drag operations for those elements without
the use of a pointing deviceThe user agent should allow the user to request that the additional information be shown or
- hidden. To honor a request for the details to be shown, the user agent must set the set the open attribute on the element to the empty string. To honor a
- request for the information to be hidden, the user agent must remove the remove the open attribute from the element.
This ability to request that additional information be shown or hidden may simply
+ be the activation behavior of the appropriate summary element, in the
+ case such an element exists. However, if no such element exists, user agents should still provide
+ this ability through some other user interface affordance.
Whenever the open attribute is added to or removed from
a details element, the user agent must queue a task that runs the
following steps, which are known as the details notification task steps, for this
@@ -55691,21 +55698,22 @@ interface HTMLDetailsElement : HTMLElement {
steps:
If the summary element is not being rendered, abort these
+
If this summary element is not being rendered, abort these
steps.
If the summary element has no parent node, abort these steps.
If this summary element has no parent node, abort these steps.
Let parent be the summary element's parent node.
Let parent be this summary element's parent node.
If parent is not a details element, abort these steps.
If parent's first element child is not the summary element, abort
- these steps.
If parent's first child summary element is not this
+ summary element, abort these steps.
If the open attribute is present on
- parent, remove it. Otherwise, set parent's parent, remove it. Otherwise,
+ set parent's open attribute to the empty string.
This will then run the details notification task steps.
From fe1f47d9d694419dfb55d48cb69a1278f8cfc104 Mon Sep 17 00:00:00 2001 From: Domenic DenicolaIf this summary element is not being rendered, abort these
- steps.
If this summary element has no parent node, abort these steps.
Let parent be this summary element's parent node.
If this summary element has no parent node, abort these steps.
If this summary element has no parent node, then abort these steps.
Let parent be this summary element's parent node.
If parent is not a details element, abort these steps.
If parent is not a details element, then abort these steps.
If parent's first child summary element is not this
- summary element, abort these steps.
summary element, then abort these steps.If the open attribute is present on
- parent, remove it. Otherwise,
- set parent's open attribute to the empty string.
open attribute to the empty string.
This will then run the details notification task steps.
menuitem elementssummary elements that are the first element child of a details
- elementsummary elements that are the first summary child of a
+ details elementdraggable attribute set, if that would
enable the user agent to allow the user to begin a drag operations for those elements without
From b3f0bc6a078ce4d1401de35fde7541736f6f6105 Mon Sep 17 00:00:00 2001
From: Domenic Denicola menuitem elementssummary elements that are the first summary child of a
+ summary elements that are the first child summary element of a
details elementdraggable attribute set, if that would
From 28590b2e50fa1be675f177c40abae305a640d34e Mon Sep 17 00:00:00 2001
From: Simon Pieters details element.details element.