View Issue Details

IDProjectCategoryView StatusLast Update
0010863mantisbthtmlpublic2009-10-07 14:19
Reporterdhx Assigned Todhx  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.2.0rc2Fixed in Version1.2.0rc2 
Summary0010863: vertical-align is not inheritable from tr elements
Description

As per http://www.w3.org/TR/CSS2/visudet.html#propdef-vertical-align the vertical-align property is not inheritable. <td> elements will not inherit vertical-align from a parent <tr> element.

The most noticeable place this error is seen is with the metadata column for bugnotes in view.php/etc. In opera, the metadata will be vertically aligned to the center which is ugly/hard to use for large bugnotes.

Firefox does seem to inherit vertical-align whereas Opera doesn't. The solution is to apply vertical-align to <td>'s and not <tr>'s.

TagsNo tags attached.

Relationships

related to 0011026 closeddhx Notes text is centered vertically rather than placed at top 

Activities

dhx

dhx

2009-08-21 07:50

reporter   ~0022792

Still need to fix:

tr.vcenter { vertical-align: middle; }
tr.print { vertical-align: top; }

dhx

dhx

2009-10-05 06:01

reporter   ~0023056

Those extra instances don't actually need fixing, they should be OK. Resolving.

Related Changesets

MantisBT: master-1.2.x ed553b03

2009-08-21 07:32

cweiske2

Committer: dhx


Details Diff
Fix 0010863: vertical alignment of bugnote meta data cells

The vertical-align property is not inherited as per
http://www.w3.org/TR/CSS2/visudet.html#propdef-vertical-align

Therefore we must apply the vertical-align property to the <td> itself,
and not the parent <tr>.

Signed-off-by: David Hicks <hickseydr@optusnet.com.au>
Affected Issues
0010863
mod - css/default.css Diff File

MantisBT: master f63e8c66

2009-08-21 07:32

cweiske2

Committer: dhx


Details Diff
Fix 0010863: vertical alignment of bugnote meta data cells

The vertical-align property is not inherited as per
http://www.w3.org/TR/CSS2/visudet.html#propdef-vertical-align

Therefore we must apply the vertical-align property to the <td> itself,
and not the parent <tr>.

Signed-off-by: David Hicks <hickseydr@optusnet.com.au>
Affected Issues
0010863
mod - css/default.css Diff File