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

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

Issue 1028633005: Sync HTML element interfaces O-Q with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: clear up HTMLImageElement confusion 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/HTMLOptGroupElement.idl ('k') | Source/core/html/HTMLOutputElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLOptionElement.idl
diff --git a/Source/core/html/HTMLOptionElement.idl b/Source/core/html/HTMLOptionElement.idl
index d57d72a5a9795026a2c9ee5460591f97974f9c96..4b832a35a4cdd6c45b98fdb54d492264ff09095e 100644
--- a/Source/core/html/HTMLOptionElement.idl
+++ b/Source/core/html/HTMLOptionElement.idl
@@ -18,6 +18,9 @@
* Boston, MA 02110-1301, USA.
*/
+// https://html.spec.whatwg.org/#htmloptionelement
+
+// TODO(philipj): The constructor arguments default values are not per spec.
[
NamedConstructor=Option(optional DOMString data = null,
optional DOMString value = null,
@@ -27,12 +30,13 @@
RaisesException=Constructor
] interface HTMLOptionElement : HTMLElement {
[Reflect] attribute boolean disabled;
- readonly attribute HTMLFormElement form;
+ readonly attribute HTMLFormElement? form;
attribute DOMString label;
[Reflect=selected] attribute boolean defaultSelected;
attribute boolean selected;
attribute DOMString value;
+ // TODO(philipj): The text setter should never throw.
[RaisesException=Setter] attribute DOMString text;
readonly attribute long index;
};
« no previous file with comments | « Source/core/html/HTMLOptGroupElement.idl ('k') | Source/core/html/HTMLOutputElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698