← back to v131 · dialog-toggle-events
conformance · v131
v131 · dialog-toggle-events — conformance probe
8 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
8
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
ontoggle-on-dialog |
HTMLDialogElement exposes an ontoggle IDL attribute, mirroring popovers. spec ↗ | script | … | |
onbeforetoggle-on-dialog |
HTMLDialogElement exposes an onbeforetoggle IDL attribute for cancelable pre-state-change notification. | script | … | |
toggleevent-constructor |
ToggleEvent constructor is exposed (the dialog reuses the popover event interface). | typeof | … | |
toggleevent-has-newstate-oldstate |
ToggleEvent instances expose newState and oldState string properties. | script | … | |
dialog-fires-toggle-on-show |
Calling show() on a <dialog> fires a 'toggle' event with newState 'open'. | script | … | |
beforetoggle-reports-dialog-close-transition |
The beforetoggle event for a closing dialog reports the open-to-closed transition and is not the cancellable close-request hook. | script | … | |
requestclose-fires-cancel-before-beforetoggle |
dialog.requestClose() fires a cancellable cancel event before the beforetoggle close-transition notification. spec ↗ | script | … | |
cancel-preventdefault-keeps-dialog-open |
Preventing the cancel event from a close request keeps the modal dialog open for guarded dirty-form flows. spec ↗ | script | … |