COLGROUP tag does not respond to CSS styling

VERIFIED INVALID

Status

()

P3
normal
VERIFIED INVALID
18 years ago
18 years ago

People

(Reporter: work, Assigned: karnaze)

Tracking

({verifyme})

Trunk
x86
Windows NT
verifyme
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

18 years ago
It seems that the rendering engine does not know how to apply CSS styles to 
column groups specified by the HTML COLGROUP tag. Even IE supports this 
feature!!!! Mozilla can never claim to be 100% HTML4 and CSS1 standards 
compliant when such simple things are not implemented!!!

Here is my example HTML code snippet along with the CSS code snippet that tries 
to center the text in one table column and not in the other. But the text is 
left aligned in both columns.


------------------------------------------------------
CSS code

colgroup.h1 { text-align:center; }
colgroup.h2 { text-align:left; }

-------------------------------------------------------
HTML code

<table width="100%" border="1">
  <caption>Title</caption>
  <colgroup class="h1"></colgroup>
  <colgroup class="h2"></colgroup>
  <thead>
    <tr>
      <th>H1</th>
      <th>H2</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>test</td>
      <td>test</td>
    </tr>
    <tr>
      <td>test</td>
      <td>test</td>
    </tr>
  </tbody>
</table>
Read the W3C CSS Specification and you will find that text-align does not apply
to columns. Sorry.
   http://www.w3.org/TR/REC-CSS2/
Status: UNCONFIRMED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → INVALID

Comment 2

18 years ago
Adding 'verifyme' keyword
Keywords: verifyme

Comment 3

18 years ago
Verified invalid
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.