This is totally unnecessary.

This patch simply modifes the HTML a little bit to use nested divs, so that a simple piece of CSS can control this.

CommentFileSizeAuthor
comment_37.patch2.73 KBmerlinofchaos
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dries’s picture

Does this need fixing in CVS HEAD too? Looks like a good change.

merlinofchaos’s picture

Version: 4.7.3 » x.y.z

Actually this patch was meant for HEAD and I clicked the wrong version; glad you pointed that out causing me to notice

That said, I think this patch should actually be for both 4.7.3 AND HEAD (and might even apply to both if we are lucky.)

Dries’s picture

Version: x.y.z » 4.7.3
Status: Needs review » Needs work

Committed to CVS HEAD. Not sure if this needs to be backported but I'll leave that up to killes.

The patch won't apply because comment.css does not exist in Drupal 4.7. Marking as 'code needs work'.

Thanks Earl.

ontwerpwerk’s picture

I marked http://drupal.org/node/5072 as a duplicate of this...

by the way: +1 on removing inline CSS

Gábor Hojtsy’s picture

Version: 4.7.3 » x.y.z
Status: Needs work » Reviewed & tested by the community

We are running a site with Drupal 5.0 Trunk, and it is clear that comment.css is missing from the codebase (it does not exist on cvs.drupal.org either). Comment.css should be included in the repository. Ready to be comitted, since the code is here in the patch.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)