#16630: Support for HTML5 input types
-----------------------------+------------------------------------
     Reporter:  jonash       |                    Owner:  nobody
         Type:  New feature  |                   Status:  new
    Component:  Forms        |                  Version:  master
     Severity:  Normal       |               Resolution:
     Keywords:  html5        |             Triage Stage:  Accepted
    Has patch:  1            |      Needs documentation:  0
  Needs tests:  0            |  Patch needs improvement:  0
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+------------------------------------
Changes (by claudep):

 * stage:  Ready for checkin => Accepted


Comment:

 AFAIK, the compatibility issues are for CSS and JS:
  * `input[type="text"]` CSS selector will suddenly not apply any more for
 the new types (url, email, number).
  * If you access an input in Javascript based on the type property, e.g.
 {{{if (form.elements[0].type=='text') { ... } }}}, your script might be
 broken.

 My personal view is that these incompatibilities are not so serious
 (mainly visual for CSS and in JS, it is not so frequent to test on input
 types), but you need to convince other core developers, too.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16630#comment:28>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to