Closed Bug 330194 Opened 19 years ago Closed 19 years ago

anonymous table cell seems to have non-zero width

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jormundgand, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 As demonstrated in the Acid2 test (of which the above is a reduced test case) there seems to be a problem when anything other than "display: table-cell;" is used inside another tag with "display: table;". In those cases the correct behaviour is to create an anonymous table cell to contain all the non-"display: table-cell;" sibling objects. I can only assume that Firefox's anonymous table cell has non-zero total height, causing the resizing of the box in the testcase. (Replacing the "display: table;" with "display: table-cell;" as in http://ketsuban.net/acid2_good.html results in correct behaviour. Can anyone confirm that an anonymous table cell has zero width in Gecko's rendering logic and/or fix? Reproducible: Always Steps to Reproduce: 1. View the linked testcase. Actual Results: Two blocks of red - one in box (2,1), one in box (4,2). Remainder of blocks are black. Expected Results: No blocks of red - a four-block black line.
Version: unspecified → 1.5.0.x Branch
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables
Version: 1.5.0.x Branch → Trunk
Works for me in current trunk build. Please test with current nightly trunk build.
Could you provide a screenshot of the "bad" testcase? I haven't the resources to test a nightly.
Attached image screenshot of testcase
Tested with 2006-03-11 build.
Good enough for me. Thanks, I'll mark this as WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: