Closed Bug 680963 Opened 13 years ago Closed 13 years ago

CSS Generated Content Incorrect Positioning in Table Cells

Categories

(Core :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 63895

People

(Reporter: bedex78, Unassigned)

Details

(Keywords: testcase, Whiteboard: dupeme?)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0a2) Gecko/20110821 Firefox/8.0a2 Build ID: 20110821042011 Steps to reproduce: Put a CSS generated content in table cells (td). See: http://jsfiddle.net/5Vqqf/69/ Actual results: CSS generated content in table cells seems to be positioned in relation to the whole page instead of the cell itself. (Notice the red line at the bottom.) Expected results: The red line should be underneath each row. This works as expected in other browsers, but not in Firefox.
This seems to never have worked correctly. There was a change to current Behavior with 3.5.
Keywords: testcase
Product: Firefox → Core
QA Contact: general → general
Whiteboard: dupeme?
Version: 6 Branch → Trunk
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Actually, this is a duplicate of a different bug. But it's definitely not specific to generated content.
Funny thing is that if you apply a float to the cells the positioning seems to be correct. However, this disables consistent height with each row. http://jsfiddle.net/5Vqqf/70/
If you apply float, they stop being table cells. See http://www.w3.org/TR/CSS21/visuren.html#dis-pos-flo
Same issue on display: table; as well. (Firefox 8.0)
The display:table thing is fixed in Firefox 10.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: