#27055: Model form with geometry widgets has invalid html
-------------------------------------+-------------------------------------
Reporter: Antonis | Owner: Antonis
Christofides | Christofides
Type: Bug | Status: assigned
Component: GIS | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Antonis Christofides):
* has_patch: 1 => 0
Comment:
Summarizing yesterday's discussion with claudep on IRC, the fake div hack
is, ehm, a hack, and we prefer to find a better way to do it. We will
break backwards compatibility with {% block map_css %}. The
".olControlEditingToolbar .olControlModifyFeatureItemActive" section of
the css can be moved into a static file, using a relative URL for
background-image. The rest of the css can be moved to the "style"
attribute of the HTML elements.
Question (which I asked on IRC but missed any response): If we want to
follow CSP and get rid of inline css (and inline JS) altogether, how are
we going to specify this dynamic CSS?
--
Ticket URL: <https://code.djangoproject.com/ticket/27055#comment:9>
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/064.b201cff9547770cbfc6e38e274497e41%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.