Closed Bug 844743 Opened 13 years ago Closed 13 years ago

table row with display:block style, renders whole row in first cell

Categories

(Core :: Layout: Tables, defect)

19 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: thingy, Unassigned)

Details

(Whiteboard: [dupeme])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0 Build ID: 20130215130331 Steps to reproduce: <table border="0" cellpadding="0" cellspacing="1" width="100%" class="formlisting" summary=""> <tr> <th class="formlist_col1">Network Name (SSID)</th> <th class="formlist_col1">Guest</th> <th class="formlist_col2">MAC Address</th> <th class="formlist_col3">Security Mode</th> </tr> <tr id="ssid_item_0_0"> <td>retracted</td> <td>No</td> <td>retracted</td> <td>WPA2 Only - Personal</td> </tr> <tr id="ssid_item_0_1" style="display: block;"> <td>retracted_open</td> <td>Yes</td> <td>retracted</td> <td>Disabled</td> </tr> </table> Actual results: This renders third row with <th style="display: block;"> in the first cell of that row Expected results: row should be displayed, but as a table row and not a table cell.
FWIW, Webkit renders same as Gecko. MSIE 10 displays as expected (per above).
Whiteboard: [dupeme]
Component: Untriaged → Layout: Tables
Product: Firefox → Core
If you make it display: block, it's no longer a table row, but now a block. Then it gets an anonymous cell wrapped around it because it's unexpected content inside of a table, which in turn gets an anonymous row. This is what the CSS spec requires.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Verified. Erik, please do report a bug to Microsoft about their not-per-spec behavior?
Status: RESOLVED → VERIFIED
(In reply to Boris Zbarsky (:bz) from comment #3) > Verified. Erik, please do report a bug to Microsoft about their > not-per-spec behavior? Ah. Irony, how refreshing. But I stand corrected.
No irony intended. From what I can tell, the IE team takes standards seriously now and will fix the bugs they find out about. They just need people to report the bugs.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: