[Webkit-unassigned] [Bug 40836] New: required attribute for non HTML5 doctypes treated as if being HTML5
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 18 08:32:01 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40836
Summary: required attribute for non HTML5 doctypes treated as
if being HTML5
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: bugs.jafm at gmail.com
Even for HTML 4.01 or XHTML1.0 doctypes, a (non-standard) required attribute for inputs of type text as well as textareas are treated according to the HTML5 specification draft. I find it would make more sense to treat a required attribute only as per the HTML 5 spec when an HTML 5 doctype is used, as well as possibly if no doctype is provided.
Moreover, an input/textarea which is not displayed, e.g. nested in a block-element with display:none, generates a console error: "An invalid form control with name='input_or_text_area_name_attribute' is not focusable.", which is vague at best.
--
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