Commit e1c977ab authored by Shanmuga Pandi M's avatar Shanmuga Pandi M Committed by Commit Bot

Add autoComplete IDL attribute to textArea and select element.

This patch just adding autoComplete attribute to idl files.
This will just make sure, setter/getter of that attribute to work fine.

Spec:
https://html.spec.whatwg.org/multipage/form-elements.html#the-select-element
https://html.spec.whatwg.org/multipage/form-elements.html#the-textarea-element

Intent to implement and ship:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/2tutRHmhwTE

Bug: 758078
Change-Id: Ibb72aa7a616893c05e0fb224c95a54a6bd457e5a
Reviewed-on: https://chromium-review.googlesource.com/677144
Commit-Queue: Shanmuga Pandi <shanmuga.m@samsung.com>
Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#531502}
parent 8ee016ec
This is a testharness.js-based test.
Found 6725 tests; 6675 PASS, 50 FAIL, 0 TIMEOUT, 0 NOTRUN.
Found 6725 tests; 6709 PASS, 16 FAIL, 0 TIMEOUT, 0 NOTRUN.
PASS form.title: 32 tests
PASS form.lang: 32 tests
PASS form.dir: 62 tests
......@@ -105,23 +105,7 @@ PASS select.className (<select class>): 32 tests
PASS select.hidden: 33 tests
PASS select.accessKey: 32 tests
PASS select.tabIndex: 24 tests
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
PASS select.autocomplete: 17 tests
PASS select.autofocus: 33 tests
PASS select.disabled: 33 tests
PASS select.multiple: 33 tests
......@@ -162,23 +146,7 @@ PASS textarea.className (<textarea class>): 32 tests
PASS textarea.hidden: 33 tests
PASS textarea.accessKey: 32 tests
PASS textarea.tabIndex: 24 tests
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
NOTRUN test
PASS textarea.autocomplete: 17 tests
PASS textarea.autofocus: 33 tests
PASS textarea.cols: 59 tests
PASS textarea.dirName: 32 tests
......
......@@ -835,6 +835,7 @@ html element script
html element section
html element select
property add
property autocomplete
property autofocus
property checkValidity
property disabled
......@@ -932,6 +933,7 @@ html element td
html element template
property content
html element textarea
property autocomplete
property autofocus
property checkValidity
property cols
......
......@@ -2724,6 +2724,7 @@ interface HTMLScriptElement : HTMLElement
setter type
interface HTMLSelectElement : HTMLElement
attribute @@toStringTag
getter autocomplete
getter autofocus
getter disabled
getter form
......@@ -2750,6 +2751,7 @@ interface HTMLSelectElement : HTMLElement
method remove
method reportValidity
method setCustomValidity
setter autocomplete
setter autofocus
setter disabled
setter length
......@@ -2924,6 +2926,7 @@ interface HTMLTemplateElement : HTMLElement
method constructor
interface HTMLTextAreaElement : HTMLElement
attribute @@toStringTag
getter autocomplete
getter autofocus
getter cols
getter defaultValue
......@@ -2955,6 +2958,7 @@ interface HTMLTextAreaElement : HTMLElement
method setCustomValidity
method setRangeText
method setSelectionRange
setter autocomplete
setter autofocus
setter cols
setter defaultValue
......
......@@ -854,6 +854,7 @@ html element script
html element section
html element select
property add
property autocomplete
property autofocus
property checkValidity
property disabled
......@@ -951,6 +952,7 @@ html element td
html element template
property content
html element textarea
property autocomplete
property autofocus
property checkValidity
property cols
......
......@@ -3336,6 +3336,7 @@ interface HTMLScriptElement : HTMLElement
setter type
interface HTMLSelectElement : HTMLElement
attribute @@toStringTag
getter autocomplete
getter autofocus
getter disabled
getter form
......@@ -3362,6 +3363,7 @@ interface HTMLSelectElement : HTMLElement
method remove
method reportValidity
method setCustomValidity
setter autocomplete
setter autofocus
setter disabled
setter length
......@@ -3536,6 +3538,7 @@ interface HTMLTemplateElement : HTMLElement
method constructor
interface HTMLTextAreaElement : HTMLElement
attribute @@toStringTag
getter autocomplete
getter autofocus
getter cols
getter defaultValue
......@@ -3567,6 +3570,7 @@ interface HTMLTextAreaElement : HTMLElement
method setCustomValidity
method setRangeText
method setSelectionRange
setter autocomplete
setter autofocus
setter cols
setter defaultValue
......
......@@ -22,7 +22,7 @@
// https://html.spec.whatwg.org/#the-select-element
interface HTMLSelectElement : HTMLElement {
// TODO(foolip): attribute DOMString autocomplete;
[CEReactions, Reflect] attribute DOMString autocomplete;
[CEReactions, Reflect] attribute boolean autofocus;
[CEReactions, Reflect] attribute boolean disabled;
[ImplementedAs=formOwner] readonly attribute HTMLFormElement? form;
......
......@@ -22,7 +22,7 @@
// https://html.spec.whatwg.org/#the-textarea-element
interface HTMLTextAreaElement : HTMLElement {
// attribute DOMString autocomplete;
[CEReactions, Reflect] attribute DOMString autocomplete;
[CEReactions, Reflect] attribute boolean autofocus;
[CEReactions] attribute unsigned long cols;
[CEReactions, Reflect] attribute DOMString dirName;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment