Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Unified Diff: core/html/HTMLDialogElement.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/html/HTMLDetailsElement.idl ('k') | core/html/HTMLDirectoryElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/HTMLDialogElement.idl
diff --git a/core/html/HTMLDialogElement.idl b/core/html/HTMLDialogElement.idl
index 702653db8ce1dbdb07eec48f5a6f4e69c17cce2e..b6d871128754bcfc19a0243030ed6b58c73e951a 100644
--- a/core/html/HTMLDialogElement.idl
+++ b/core/html/HTMLDialogElement.idl
@@ -23,11 +23,14 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://html.spec.whatwg.org/#the-dialog-element
+
interface HTMLDialogElement : HTMLElement {
[Reflect] attribute boolean open;
attribute DOMString returnValue;
- [RaisesException] void close(optional DOMString returnValue = null);
+ // FIXME: show() and showModal() should take an anchor argument.
void show();
[RaisesException] void showModal();
+ // FIXME: The returnValue argument should have no default value.
+ [RaisesException] void close(optional DOMString returnValue = null);
};
-
« no previous file with comments | « core/html/HTMLDetailsElement.idl ('k') | core/html/HTMLDirectoryElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698