Fail | Removing the open attribute from an open modal dialog should run the closing algorithm. | assert_false: The dialog should not match :modal after closing. expected false got true at Test.<anonymous> (https://wpt.live/html/semantics/interactive-elements/the-dialog-element/dialog-close-via-attribute.tentative.html:38:3) Asserts runPass | assert_equals(Element node <button>button in dialog</button>, Element node <button>button in dialog</button>, "<button> in <dialog> should be focused after opening.")
at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/dialog-close-via-attribute.tentative.html:22:3) | Pass | assert_equals(Element node <button>button in dialog</button>, Element node <button>button in dialog</button>, "<button> in <dialog> should still be focused immediately after removing open.")
at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/dialog-close-via-attribute.tentative.html:31:3) | Pass | assert_not_equals(Element node <body><button>button</button> <dialog> <button>button i..., Element node <button>button</button>, "Previously focused element should not be focused, even after waiting for a task.")
at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/dialog-close-via-attribute.tentative.html:36:3) | Fail | assert_false(true, "The dialog should not match :modal after closing.")
at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/dialog-close-via-attribute.tentative.html:38:3) |
|
Fail | Removing the open attribute from an open non-modal dialog should fire a close event. | assert_true: The close event should be fired when removing the open attribute. expected true got false at Test.<anonymous> (https://wpt.live/html/semantics/interactive-elements/the-dialog-element/dialog-close-via-attribute.tentative.html:76:3) Asserts runPass | assert_equals(Element node <button>button in dialog</button>, Element node <button>button in dialog</button>, "<button> in <dialog> should be focused after opening.")
at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/dialog-close-via-attribute.tentative.html:58:3) | Pass | assert_equals(Element node <button>button in dialog</button>, Element node <button>button in dialog</button>, "<button> in <dialog> should still be focused immediately after removing open.")
at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/dialog-close-via-attribute.tentative.html:67:3) | Pass | assert_not_equals(Element node <body><button>button</button> <dialog> <button>button i..., Element node <button>button</button>, "Previously focused element should not be focused, even after waiting for a task.")
at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/dialog-close-via-attribute.tentative.html:72:3) | Pass | assert_false(false, "The cancel event should not fire when removing the open attribute.")
at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/dialog-close-via-attribute.tentative.html:74:3) | Fail | assert_true(false, "The close event should be fired when removing the open attribute.")
at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/dialog-close-via-attribute.tentative.html:76:3) |
|