Closed Bug 122099 Opened 23 years ago Closed 23 years ago

support for COL tag and it's attributes

Categories

(Core :: Layout: Tables, defect)

x86
Windows NT
defect
Not set
major

Tracking

()

VERIFIED INVALID

People

(Reporter: aha, Assigned: karnaze)

Details

(Keywords: fonts, html4, testcase)

Attachments

(1 file)

Mozilla browser doesn's support well HTML4 tag <COL> and it's attributes a styles. 

Expected rendering of small test file:
1. cells A, D and G should contain red text in sans-serif font
   (<COL CLASS="foo">)
2. content of cells A, D and G should be aligned to right
   (<COL ALIGN=RIGHT>)
3. cells B, E and H should contain blue text in sans-serif font
   (<COL STYLE="font-family:sans-serif;color:#0000FF">)
4. content of cells B, E and H should be vertically aligned to top
   (<COL VALIGN=TOP>)
5. cells C, F and I should have 15px padding on left side

Actual:
Nothing!

Notes: 
* Test will be rendered in Strict standards compliance mode. 
* MSIE 5.5 and 6.0 render test fine -> IE parity
(20020125/WinNT4)
Attached file Small table test
Keywords: fonts, html4, testcase
I guess this is a dupe - bug 915
Oops, it could be, but only for ALIGN and VALIGN (2. and 4.). Attributes CLASS
and STYLE aren't covered by bug 915.
Invalid.  See the CSS2 spec, http://www.w3.org/TR/REC-CSS2/tables.html#q4

Basically, the only styles applied to COL tags that can affect the way cells
look are border, background, width, and visibility.

Align and valign should be special-cased as attributes (bug 915) and dropped as
styles (as they are now).
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
 Verified Invalid.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: