From 87ba779826a2b86ae8e6acc43c8e652a7ea9e525 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Fri, 26 Apr 2019 16:33:31 -0400 Subject: [PATCH] Clarify that
toggle events happen during parsing Closes #4500. Tests: https://github.com/web-platform-tests/wpt/pull/16244 Also moves the task source inline, per #4506. --- source | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/source b/source index 7a6371ffa9f..3473ed8c2b5 100644 --- a/source +++ b/source @@ -56959,9 +56959,9 @@ interface HTMLDetailsElement : HTMLElement { 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 - details element:

+ a details element, the user agent must queue a task on the DOM + manipulation task source to run the following steps, which are known as the details + notification task steps, for this details element:

    @@ -56982,8 +56982,7 @@ interface HTMLDetailsElement : HTMLElement {
-

The task source for this task must be the DOM manipulation task - source.

+

To be clear, this also happens when the attribute is added via the parser.

The open IDL attribute must reflect the open content attribute.