Closed Bug 1379446 Opened 7 years ago Closed 7 years ago

HTML <dialog> is never closed

Categories

(Core :: DOM: Core & HTML, defect)

56 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 840640

People

(Reporter: mumuaddict, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
Build ID: 20170708100152

Steps to reproduce:

I go to :
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog

I look at the section Examples -> Result.



Actual results:

The dialog is already opened. When I click on "Confirm" button, the page is refreshed but the dialog is already opened. When I click on "Update details", or "Cancel" button, nothing happen.


Expected results:

I think that, at starting, the dialog is not opened. When I click on "Update details", the dialog should open up. When I click on "Cancel" button, the dialog must be closed.
I do not see the tag field. It's for nightly-community !!
the reason why the dialog is opened at the beginning is that the example code has "open" attribute.
so, that's expected behavior and not a bug.

then, the reason why the "Cancel", "Confirm", and "Update details" buttons don't work is just because those APIs are not yet implemented (bug 840640),
so, that should be tracked in the bug.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.