Closed (fixed)
Project:
Drupal core
Version:
5.x-dev
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2007 at 11:40 UTC
Updated:
7 Jul 2008 at 04:42 UTC
Jump to comment: Most recent file
Comments
Comment #1
m1mic commented@chx
Tested with:
Your patch worked to remove the empty tbody as advertised. However, if there are no rows in the table (in Calendar module's Prev/Next bar for example), validation still fails. This is because HTML requires that anything that has a thead tags must also have tbody tags. I updated your patch to include a ternary operator to check if there are rows, and if so, add the thead tags.
Comment #2
m1mic commentedLooks like the same issue is in Head. Updating the version number to 6.x-dev and adding a patch for Head.
Comment #3
gábor hojtsy- We don't use /* and */ multiline comments inside code.
- We do use spaces around ? in ternary operators.
Apart from this, this patch obviously only needs some testing, it looks good from here.
Comment #4
m1mic commentedThanks for the review Gábor! Converted mulitline comments into single line // comments. Added the proper spacing to the ternary operator.
Comment #5
dvessel commentedejhildreth, you have to diff from the root install. Here's a proper patch.
The closing /tbody was misplaced so that was corrected. Everything else is pretty much the same from your previous patch.
Tested and validates.
Comment #6
gábor hojtsyThanks, committed.
Comment #7
(not verified) commentedComment #8
m1mic commentedBackporting: This bug is still in DRUPAL-5-dev
Comment #9
m1mic commentedComment #10
drummCommitted to 5.x.
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.