-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1876762 - Implement togggle events for Dialog show/showModal/clos…
…e r=smaug whatwg/html#10091 This also slightly refactors FireToggleEvent to allow to to accomodate both popovers and now also dialogs Differential Revision: https://phabricator.services.mozilla.com/D225449
- Loading branch information
Keith Cirkel
committed
Oct 14, 2024
1 parent
84bcf1a
commit f0551e9
Showing
8 changed files
with
114 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 1 addition & 17 deletions
18
...a/html/semantics/interactive-elements/the-dialog-element/toggle-events.tentative.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,2 @@ | ||
[toggle-events.tentative.html] | ||
[dialog.show() should fire beforetoggle and toggle events.] | ||
expected: FAIL | ||
|
||
[dialog.show() should fire cancelable beforetoggle which does not open dialog if canceled] | ||
expected: FAIL | ||
|
||
[dialog.show() should coalesce asynchronous toggle events.] | ||
expected: FAIL | ||
|
||
[dialog.showModal() should fire beforetoggle and toggle events.] | ||
expected: FAIL | ||
|
||
[dialog.showModal() should fire cancelable beforetoggle which does not open dialog if canceled] | ||
expected: FAIL | ||
|
||
[dialog.showModal() should coalesce asynchronous toggle events.] | ||
expected: FAIL | ||
prefs: [dom.element.dialog.toggle_events.enabled:true] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters