Closed
Bug 32463
Opened 26 years ago
Closed 26 years ago
Table content inherits "align" property (transitional doctype)
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: mozilla, Assigned: karnaze)
Details
Example code:
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<table width="50%" align="center">
<tr>
<td>This is some text</td>
</tr>
</table>
In NC4.x and IE5, this results in a table that is 50% of the width of the page
with the text aligned to the left side of the table. In Mozilla, the text is
centered in the table.
Aren't transitional doctypes supposed to be in quirks mode? And, are table
contents supposed to inherit the table's align property even in strict mode?
| Reporter | ||
Comment 1•26 years ago
|
||
Nevermind. I see that in HTML 4.01 this is supposed to happen. This just leaves
the question as to whether transitional doctypes are supposed to be in quirks
mode. If they are, then this might be an area to look into.
Summary: Table content inherits "align" property → Table content inherits "align" property (transitional doctype)
Changing component to tables
Assignee: troy → karnaze
Component: Layout → HTMLTables
QA Contact: petersen → chrisd
| Assignee | ||
Comment 3•26 years ago
|
||
This was fixed a few weeks ago. The align=center no longer sets text-align, even
in standard mode (actually, I'm not even sure the standard behavior is right).
This is similar to bug 29627 and 7112.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 5•24 years ago
|
||
Mass removing self from CC list.
| Reporter | ||
Comment 6•24 years ago
|
||
Now I feel sumb because I have to add back. Sorry for the spam.
You need to log in
before you can comment on or make changes to this bug.
Description
•