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

Unified Diff: Source/core/html/HTMLDialogElement.idl

Issue 988173002: Sync HTML element interfaces C-D with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: turn FIXME into Note Created 5 years, 9 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 | « Source/core/html/HTMLDataListElement.idl ('k') | Source/core/html/HTMLDirectoryElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLDialogElement.idl
diff --git a/Source/core/html/HTMLDialogElement.idl b/Source/core/html/HTMLDialogElement.idl
index 702653db8ce1dbdb07eec48f5a6f4e69c17cce2e..75d5d14ad285537ca24104f01f237eb5a59159cd 100644
--- a/Source/core/html/HTMLDialogElement.idl
+++ b/Source/core/html/HTMLDialogElement.idl
@@ -23,11 +23,14 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://html.spec.whatwg.org/#htmldialogelement
+
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 | « Source/core/html/HTMLDataListElement.idl ('k') | Source/core/html/HTMLDirectoryElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698