Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
forms system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Apr 2014 at 00:57 UTC
Updated:
23 Aug 2014 at 01:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ParisLiakos commentedyes plz:)
Comment #3
mortendk commentedfixed the test
Comment #4
dawehnerWhat a nice and simple patch!
Couldn't find any used css for that
Comment #5
dawehnermoe
Comment #6
catchCommitted/pushed to 8.x, thanks!
Comment #8
tim.plunkettDid anyone check for when that div was added and why?
I thought it was needed for AJAX stuff, but it goes back to at least 4.7
As far as I can see that was removed with regard to CSS, but had no manual testing or thought for JS.
Comment #9
tim.plunkettFrom ajax.js, Drupal.AjaxCommands.prototype.insert:
Comment #10
joelpittetI did, the reason it was in there was for XHTML compliance. Going to look for issue... brb
Comment #11
joelpittetI think this was the reference I was thinking about.
https://drupal.org/node/1822210
Which @jwilson3 pointed out in #1822210-7: Investigate removing the inner div in form.html.twig
And a previous removal attempt here: #495480: Add class to wrapper div of form elements theme_form()
@tim.plunkett I can't see the correlation in that massive ajax comment to removing a div from form, can you break out the part that relates to this?
Comment #12
mortendk commentedoooh that was my first real try to help out with the markup in drupalcore *gets all sobby*
Anyhow i seems to fail in my javascript & prototype.insert knowledge of to get why a form div should be there?
Comment #14
tomogden commentedI would love to see this backported to D7.
Comment #15
joelpittet@tomogden me too, but I doubt that would happen as people may have styled against that or worse written JS DOM traversal.
Though you can do what I do, override the theme function:
And maybe @mortendk will be bold and add it to his base theme;)