15:08
<kraftwer1>
Hi there! I Appreciate your work! 😀
I was wondering why UA fire a toggle event on detailsEl.open = true? Was it really the intention of the spec?
It seems unusual to me because I’ve never seen any events fired on programatic IDL changes.
I wasn’t able to find any discussion or reasoning behind this. Neither in the UAs commit messages.
Could anyone help explaining me? Are there other elements firing events on programatic IDL changes?
Spec: https://html.spec.whatwg.org/multipage/interactive-elements.html#the-details-element
Chromium revision: https://codereview.chromium.org/249573002
Firefox revision: https://hg.mozilla.org/mozilla-central/rev/5ee96a182b8d7e872b657b8ed0cb2dfccb58711f
StackOverflow: https://stackoverflow.com/questions/73370063/when-does-dom-fire-events