[wpt-sync] Sync PR 41559 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=260463
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 41559 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41559
Details from upstream follow.
Michael[tm] Smith <mike@w3.org> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=260463
WebKit export from bug: When <details> is open and closed multiple times (coalesced tasks), the ToggleEvent oldState is set wrong
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 10 subtests
Status Summary
Firefox
OK
: 1
PASS
: 2
FAIL
: 8
Chrome
OK
: 1
PASS
: 2
FAIL
: 8
Safari
OK
: 1
PASS
: 2
FAIL
: 8
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/interactive-elements/the-details-element/toggleEvent.html [wpt.fyi]
- Adding open to 'details' should fire a toggle event at the 'details' element, with 'oldState: closed' and 'newState: open':
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Adding open to 'details' and then removing open from that 'details' should fire only one toggle event at the 'details' element, with 'oldState: closed' and 'newState: closed':
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Adding open to 'details' (display:none) should fire a toggle event at the 'details' element, with 'oldState: closed' and 'newState: open':
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Adding open to 'details' (no children) should fire a toggle event at the 'details' element, with 'oldState: closed' and 'newState: open':
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Adding open to 'details' and then removing open from that 'details' and then again adding open to that 'details' should fire only one toggle event at the 'details' element, with 'oldState: closed' and 'newState: closed':
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Adding open to 'details' using setAttribute('open', '') should fire a toggle event at the 'details' element, with 'oldState: closed' and 'newState: open':
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Adding open to 'details' and then calling removeAttribute('open') should fire only one toggle event at the 'details' element, with 'oldState: closed' and 'newState: closed':
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Adding open to 'details' (not in the document) should fire a toggle event at the 'details' element, with 'oldState: closed' and 'newState: open':
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Adding open to 'details' should fire a toggle event at the 'details' element, with 'oldState: closed' and 'newState: open':
Comment 5•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9c8f14d6cd0f
https://hg.mozilla.org/mozilla-central/rev/bb096ad32e77
Description
•