Closed (fixed)
Project:
Drupal core
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 May 2005 at 18:17 UTC
Updated:
8 Jun 2005 at 04:57 UTC
Jump to comment: Most recent file
This patch uses a blank div to allow block level ellements (like input> to go inside the form element per xhtml 1.0 specs. This patch works and validates, and is required for validation.
Robin
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | empty__div_form__item_fix.patch | 5.06 KB | robin monks |
| #3 | empty div form item fix_0.patch | 5.06 KB | robin monks |
| empty div form item fix.patch | 682 bytes | robin monks |
Comments
Comment #1
dries commentedYes/no? Please advise. If this patch is required, we might want to revise the call sites of
form(). I believe some are adding divs to solve exactly this.Comment #2
robin monks commentedYou're right, some calls are using
<div class="container-inline">to do this. I'll find these instances and correct them, and then attach a new patch for this.Robin
Comment #3
robin monks commentedHere is the new patch, which also removes unneeded (AFAIK)
<div>'s from form's.Robin
Comment #4
Stefan Nagtegaal commentedCould you please remove the spaces from your patch name? they break the link in e-mail clients quite often.. I would prefer not to use spaces at all inside patch filenames at all, I would encourage you to use something like 'patch_name.patch'..
Stefan
Comment #5
robin monks commentedOh bother...
Robin
Comment #6
dries commentedYou can't remove
container-inlines; these ensure that the form elements are displayed asdisplay: inline. Removingcontainer-inlines breaks those forms!Comment #7
Steven commentedApplied to HEAD. I checked and couldn't see any redundant divs. They are all either for
container-inlineor for use in themes.Comment #8
(not verified) commented