Closed
Bug 299905
Opened 20 years ago
Closed 16 years ago
table cell displays incorrectly when style vertical-align text-top is used inconjunction with sub-tables
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jonathan.oulds, Unassigned)
Details
Attachments
(1 file)
789 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
see html in 'steps to reproduce' view in firefox 1.04
text 'B1' is displayed along bottom of cell even though style vertical-align
text-top is defined for all td.
text 'B1' should appear along top of cell
page has been verified as xhtml 1.0 strict compliant and css compliant, works in
IE 6.0
Reproducible: Always
Steps to Reproduce:
view the following html in firefox 1.04, note the position of text 'B1'
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>bug rendering sub-tables when cell contents are vertically aligned</title>
<style type="text/css">
td
{
vertical-align: text-top;
}
</style>
</head>
<body>
<table>
<tr>
<td>A1</td>
<td>This is cell<br/>A2</td>
</tr>
<tr>
<td>B1</td>
<td>
<table>
<tr>
<td>B2::A1</td>
<td>B2::A2</td>
</tr>
<tr>
<td>B2::B1</td>
<td>B2::B2</td>
</tr>
<tr>
<td>B2::C1</td>
<td>B2::C2</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>C1</td>
<td>This is cell<br/>C2</td>
</tr>
</table>
</body>
</html>
Actual Results:
text 'B1' is placed incorrectly in the table ie. along the bottom of its
containing cell
Expected Results:
text 'B1' should have been placed along the top of its containg cell as defined
by td {vertical-align: text-top}
please, please, please, please, please, please, implement page-break-inside: avoid
Reporter | ||
Comment 1•20 years ago
|
||
Reporter | ||
Comment 2•20 years ago
|
||
please, please, please, please, please, implement page-break-inside: avoid
This looks the same in each browser (IE7, Fx3, Opera9.6, Safari3.2).
You probably forgot, that the XML declaration (<?xml version="1.0" encoding="ISO-8859-1"?>) makes IE6 render the page in Quirks Mode, which is very different from the other browsers standard layout system.
The bug to implement page-break-* is Bug 132035
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•