[Webkit-unassigned] [Bug 40908] unable to set focus to non-displayed elements with "required" attribute on submit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 17 23:52:36 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40908


Simo Kinnunen <sorccu at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sorccu at gmail.com




--- Comment #9 from Simo Kinnunen <sorccu at gmail.com>  2010-08-17 23:52:35 PST ---
I think there is a seemingly valid use case for this. HTML5 allows fieldsets to be disabled:

"The disabled attribute, when specified, causes all the form control descendants of the fieldset element, excluding those that are descendants of the fieldset element's first legend element child, if any, to be disabled."

So if you had something like this:

data:text/html,<!doctype html>
<form action=about:blank>
<fieldset disabled style=display:none>
<input required name=foo>
</fieldset>
<button type=submit>Submit</button>
</form>

It should not throw the error, because the required input should be disabled. But it does.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list