#26928: Change checkbox/radio checked attribute to HTML5 boolean style
-------------------------------------+-------------------------------------
Reporter: jdufresne | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Forms | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by jdufresne):
> Are there any backwards-compatibility concerns for projects not using an
HTML5 doctype?
I'm not aware of any for modern browsers. Just now, I tested the following
HTML document:
{{{
<html>
<head>
<title>Test</title>
</head>
<body>
<p>
<input type="checkbox" checked>
</p>
</body>
</html>
}}}
Against the doctypes listed on [https://www.w3.org/QA/2002/04/valid-dtd-
list.html w3.org].
All of these doctypes worked with recent versions of Firefox and Chrome --
they rendered the checkbox as checked on page reload. I currently do not
have easy access to IE for testing.
If you think it would help, I could add a blurb to the "Backwards
incompatible changes" section of the release notes.
--
Ticket URL: <https://code.djangoproject.com/ticket/26928#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.a82cb222712b9a4720923d58705667c7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.