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. 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.title: 32 tests
PASS form.lang: 32 tests PASS form.lang: 32 tests
PASS form.dir: 62 tests PASS form.dir: 62 tests
...@@ -105,23 +105,7 @@ PASS select.className (<select class>): 32 tests ...@@ -105,23 +105,7 @@ PASS select.className (<select class>): 32 tests
PASS select.hidden: 33 tests PASS select.hidden: 33 tests
PASS select.accessKey: 32 tests PASS select.accessKey: 32 tests
PASS select.tabIndex: 24 tests PASS select.tabIndex: 24 tests
NOTRUN test PASS select.autocomplete: 17 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
PASS select.autofocus: 33 tests PASS select.autofocus: 33 tests
PASS select.disabled: 33 tests PASS select.disabled: 33 tests
PASS select.multiple: 33 tests PASS select.multiple: 33 tests
...@@ -162,23 +146,7 @@ PASS textarea.className (<textarea class>): 32 tests ...@@ -162,23 +146,7 @@ PASS textarea.className (<textarea class>): 32 tests
PASS textarea.hidden: 33 tests PASS textarea.hidden: 33 tests
PASS textarea.accessKey: 32 tests PASS textarea.accessKey: 32 tests
PASS textarea.tabIndex: 24 tests PASS textarea.tabIndex: 24 tests
NOTRUN test PASS textarea.autocomplete: 17 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
PASS textarea.autofocus: 33 tests PASS textarea.autofocus: 33 tests
PASS textarea.cols: 59 tests PASS textarea.cols: 59 tests
PASS textarea.dirName: 32 tests PASS textarea.dirName: 32 tests
......
...@@ -835,6 +835,7 @@ html element script ...@@ -835,6 +835,7 @@ html element script
html element section html element section
html element select html element select
property add property add
property autocomplete
property autofocus property autofocus
property checkValidity property checkValidity
property disabled property disabled
...@@ -932,6 +933,7 @@ html element td ...@@ -932,6 +933,7 @@ html element td
html element template html element template
property content property content
html element textarea html element textarea
property autocomplete
property autofocus property autofocus
property checkValidity property checkValidity
property cols property cols
......
...@@ -2724,6 +2724,7 @@ interface HTMLScriptElement : HTMLElement ...@@ -2724,6 +2724,7 @@ interface HTMLScriptElement : HTMLElement
setter type setter type
interface HTMLSelectElement : HTMLElement interface HTMLSelectElement : HTMLElement
attribute @@toStringTag attribute @@toStringTag
getter autocomplete
getter autofocus getter autofocus
getter disabled getter disabled
getter form getter form
...@@ -2750,6 +2751,7 @@ interface HTMLSelectElement : HTMLElement ...@@ -2750,6 +2751,7 @@ interface HTMLSelectElement : HTMLElement
method remove method remove
method reportValidity method reportValidity
method setCustomValidity method setCustomValidity
setter autocomplete
setter autofocus setter autofocus
setter disabled setter disabled
setter length setter length
...@@ -2924,6 +2926,7 @@ interface HTMLTemplateElement : HTMLElement ...@@ -2924,6 +2926,7 @@ interface HTMLTemplateElement : HTMLElement
method constructor method constructor
interface HTMLTextAreaElement : HTMLElement interface HTMLTextAreaElement : HTMLElement
attribute @@toStringTag attribute @@toStringTag
getter autocomplete
getter autofocus getter autofocus
getter cols getter cols
getter defaultValue getter defaultValue
...@@ -2955,6 +2958,7 @@ interface HTMLTextAreaElement : HTMLElement ...@@ -2955,6 +2958,7 @@ interface HTMLTextAreaElement : HTMLElement
method setCustomValidity method setCustomValidity
method setRangeText method setRangeText
method setSelectionRange method setSelectionRange
setter autocomplete
setter autofocus setter autofocus
setter cols setter cols
setter defaultValue setter defaultValue
......
...@@ -854,6 +854,7 @@ html element script ...@@ -854,6 +854,7 @@ html element script
html element section html element section
html element select html element select
property add property add
property autocomplete
property autofocus property autofocus
property checkValidity property checkValidity
property disabled property disabled
...@@ -951,6 +952,7 @@ html element td ...@@ -951,6 +952,7 @@ html element td
html element template html element template
property content property content
html element textarea html element textarea
property autocomplete
property autofocus property autofocus
property checkValidity property checkValidity
property cols property cols
......
...@@ -3336,6 +3336,7 @@ interface HTMLScriptElement : HTMLElement ...@@ -3336,6 +3336,7 @@ interface HTMLScriptElement : HTMLElement
setter type setter type
interface HTMLSelectElement : HTMLElement interface HTMLSelectElement : HTMLElement
attribute @@toStringTag attribute @@toStringTag
getter autocomplete
getter autofocus getter autofocus
getter disabled getter disabled
getter form getter form
...@@ -3362,6 +3363,7 @@ interface HTMLSelectElement : HTMLElement ...@@ -3362,6 +3363,7 @@ interface HTMLSelectElement : HTMLElement
method remove method remove
method reportValidity method reportValidity
method setCustomValidity method setCustomValidity
setter autocomplete
setter autofocus setter autofocus
setter disabled setter disabled
setter length setter length
...@@ -3536,6 +3538,7 @@ interface HTMLTemplateElement : HTMLElement ...@@ -3536,6 +3538,7 @@ interface HTMLTemplateElement : HTMLElement
method constructor method constructor
interface HTMLTextAreaElement : HTMLElement interface HTMLTextAreaElement : HTMLElement
attribute @@toStringTag attribute @@toStringTag
getter autocomplete
getter autofocus getter autofocus
getter cols getter cols
getter defaultValue getter defaultValue
...@@ -3567,6 +3570,7 @@ interface HTMLTextAreaElement : HTMLElement ...@@ -3567,6 +3570,7 @@ interface HTMLTextAreaElement : HTMLElement
method setCustomValidity method setCustomValidity
method setRangeText method setRangeText
method setSelectionRange method setSelectionRange
setter autocomplete
setter autofocus setter autofocus
setter cols setter cols
setter defaultValue setter defaultValue
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
// https://html.spec.whatwg.org/#the-select-element // https://html.spec.whatwg.org/#the-select-element
interface HTMLSelectElement : HTMLElement { interface HTMLSelectElement : HTMLElement {
// TODO(foolip): attribute DOMString autocomplete; [CEReactions, Reflect] attribute DOMString autocomplete;
[CEReactions, Reflect] attribute boolean autofocus; [CEReactions, Reflect] attribute boolean autofocus;
[CEReactions, Reflect] attribute boolean disabled; [CEReactions, Reflect] attribute boolean disabled;
[ImplementedAs=formOwner] readonly attribute HTMLFormElement? form; [ImplementedAs=formOwner] readonly attribute HTMLFormElement? form;
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
// https://html.spec.whatwg.org/#the-textarea-element // https://html.spec.whatwg.org/#the-textarea-element
interface HTMLTextAreaElement : HTMLElement { interface HTMLTextAreaElement : HTMLElement {
// attribute DOMString autocomplete; [CEReactions, Reflect] attribute DOMString autocomplete;
[CEReactions, Reflect] attribute boolean autofocus; [CEReactions, Reflect] attribute boolean autofocus;
[CEReactions] attribute unsigned long cols; [CEReactions] attribute unsigned long cols;
[CEReactions, Reflect] attribute DOMString dirName; [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