WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 58837
64395
The display of form controls with 'disabled' attribute is not following the spec
https://bugs.webkit.org/show_bug.cgi?id=64395
Summary
The display of form controls with 'disabled' attribute is not following the spec
Anna Konyukhova
Reported
2011-07-12 14:35:01 PDT
According to the W3C spec, "A form control is disabled if its disabled attribute is set, or if it is a descendant of a fieldset element whose disabled attribute is set and is not a descendant of that fieldset element's first legend element child, if any." (See
http://dev.w3.org/html5/spec-author-view/attributes-common-to-form-controls.html#attr-fe-disabled
for more information). If a form element is a descendant of a fieldset with attribute 'disabled', it is still displayed as enabled. Here is an example of HTML that exhibits the bug: <fieldset name="clubfields" disabled> <legend> <label> <input type=checkbox name=club onchange="form.clubfields.disabled = !checked"> Use Club Card </label> </legend> <p><label>Name on card: <input name=clubname required></label></p> <p><label>Card number: <input name=clubnum required pattern="[-0-9]+"></label></p> <p><label>Expiry date: <input name=clubexp type=month></label></p> </fieldset> (See
http://dev.w3.org/html5/spec-author-view/the-fieldset-element.html#the-fieldset-element
for more information on expected behavior).
Attachments
Add attachment
proposed patch, testcase, etc.
Kent Tamura
Comment 1
2011-07-12 17:16:08 PDT
WebKit doesn't support HTMLFieldsetElement::disabled yet. *** This bug has been marked as a duplicate of
bug 58837
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug