View Issue Details

IDProjectCategoryView StatusLast Update
0007548mantisbtrelationshipspublic2007-08-02 02:28
Reportermicahg Assigned Togiallu  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.1.0a4 
Summary0007548: Status is underlined using a deprecated HTML element
Description

The status right now is underlined using the {u} element. This has been deprecated. The correct usage is <span style="text-decoration: underline;">blah blah blah</span>.

Additional Information

BTW, Mantis is great!

TagsNo tags attached.

Relationships

related to 0005215 closedgiallu Bug status in Relationships is underlined - this makes it look like a hyperlink 

Activities

micahg

micahg

2006-10-30 17:44

reporter   ~0013662

That should be u element.

micahg

micahg

2006-10-30 17:44

reporter   ~0013663

Related to 0005215

ryandesign

ryandesign

2006-10-30 17:55

reporter   ~0013664

No, we should absolutely positively most definitely not replace occurrences of the "u" element with <span style="text-decoration: underline;">foo</span>. That would be ludicrous.

The point of CSS is to give things structural meaning. So we should be saying <span class="issue_status">foo</span> and defining a rule ".issue_status { text-decoration: underline; } in the stylesheet" (or not, given 0005215).

micahg

micahg

2006-10-30 18:42

reporter   ~0013665

That sounds fine too. You are correct that it's better to use a style sheet than inline styles. Thanks for the quick response!

giallu

giallu

2007-07-18 18:59

reporter   ~0015098

I just commited in CVS the proposed solution, but with a different underlining style (dotted) so it is easier to distinguish this decoration from a real link.

Related Changesets

MantisBT: master c3715d96

2007-07-18 18:55

giallu


Details Diff
Fix 7548: Status is underlined using a deprecated HTML element.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4455 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0007548
mod - css/default.css Diff File
mod - core/relationship_api.php Diff File
mod - core/columns_api.php Diff File
mod - account_sponsor_page.php Diff File