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

Unified Diff: core/html/HTMLOptionElement.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/HTMLOptGroupElement.idl ('k') | core/html/HTMLOptionsCollection.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/html/HTMLOptionElement.idl
diff --git a/core/html/HTMLOptionElement.idl b/core/html/HTMLOptionElement.idl
index d57d72a5a9795026a2c9ee5460591f97974f9c96..bcbeed389d434e96643d011d113b2dfc204b556d 100644
--- a/core/html/HTMLOptionElement.idl
+++ b/core/html/HTMLOptionElement.idl
@@ -18,21 +18,24 @@
* Boston, MA 02110-1301, USA.
*/
+// https://html.spec.whatwg.org/#the-option-element
+
[
NamedConstructor=Option(optional DOMString data = null,
optional DOMString value = null,
- [Default=Undefined] optional boolean defaultSelected,
- [Default=Undefined] optional boolean selected),
+ optional boolean defaultSelected = false,
+ optional boolean selected = false),
ConstructorCallWith=Document,
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 | « core/html/HTMLOptGroupElement.idl ('k') | core/html/HTMLOptionsCollection.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698