Project

Profile

Help

Bug #1570

closed

Internet Explorer Tables: Attribute colspan, rowspan, cellPadding and cellSpacing have no effect on table

Added by Philip Fearon almost 12 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
2012-06-28
Due date:
% Done:

100%

Estimated time:
Platforms:

Description

This issue was first noticed when using XSLT to add a cell to a table similar to the following:

...
<td colspan="5" align="center">
   <xsl:value-of select="The title"/>
</td>

The expected behaviour, and that seen in the other browsers, would be for the cell to span across the next 5 columns, instead the colspan attribute in Internet Explorer appeared to have no effect on the table cell, it was contained within a single column.

Online information and further tests show that colSpan must be used for this case in Internet Explorer, further tests show that the attributes rowSpan@, @cellSpacing and cellPadding are similarly affected - they must use lowerCamelCase to be recognized by IE. These camel-cased attributes are recognized by other browsers so they can be used as a workaround.

A fix for this will be included in the next release of Saxon-CE so that, for these cases, IE behaviour is consistent with the other major browsers.

Please register to edit this issue

Also available in: Atom PDF