Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
<dialog> element: do not perform close() method steps when removing o…
…pen attribute. https://bugs.webkit.org/show_bug.cgi?id=227872 Reviewed by Chris Dumez. Test: web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open.html The close function now follows the steps at: https://html.spec.whatwg.org/multipage/interactive-elements.html#close-the-dialog LayoutTests/imported/w3c: * web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-open-expected.txt: Source/WebCore: * html/HTMLDialogElement.cpp: (WebCore::HTMLDialogElement::show): (WebCore::HTMLDialogElement::showModal): (WebCore::HTMLDialogElement::close): (WebCore::HTMLDialogElement::dispatchPendingEvent): (WebCore::HTMLDialogElement::isOpen const): Deleted. (WebCore::HTMLDialogElement::returnValue): Deleted. (WebCore::HTMLDialogElement::setReturnValue): Deleted. (WebCore::HTMLDialogElement::parseAttribute): Deleted. (WebCore::HTMLDialogElement::isModal const): Deleted. * html/HTMLDialogElement.h: Canonical link: https://commits.webkit.org/239693@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@279950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
5 changed files
with
62 additions
and
57 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