Closed Bug 199208 Opened 22 years ago Closed 16 years ago

Table rendering issue occurs when nested P element is assigned height: 0px

Categories

(Core :: Layout: Tables, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
mozilla1.4beta

People

(Reporter: josh, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(5 files)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4a) Gecko/20030324 Chimera/0.7+ Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4a) Gecko/20030324 Chimera/0.7+ When visiting http://www.whitver.net/~josh/calendar.html, the top row's text is spilling across the table border, and the table cells themselves are too small. The right-most column would likely suffer the exact same too-small cell problem, if it weren't for other text items in the row forcing the cells to be tall enough. The text is still too low, however. See the attached JPEG. Reproducible: Always Steps to Reproduce: 1. Visit http://www.whitver.net/~josh/calendar.html (If you get no response, try later; I upgraded the server's processor and it likes to overheat, requiring a reboot). Actual Results: Incorrectly-rendered schedule table. Expected Results: Correctly-rendered table. :)
Josh, that HTML is nowhere near valid. What's all that "cool," "usegridx," "usegridy," "showgridx," and "showgridy" gibberish? Remember, just because it looks the way you want in GoLive doesn't mean it's going to work that way in a real web browser. Try running it your page through validator.w3.org. Fix those problems, then let's see if there's a Mozilla bug here. Resolving Invalid for now. Reopen when you have a better testcase, please. Thanks.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
While it may not be the world's best HTML, the official 0.7 release renders it fine, as does every other browser I've tried it with. It only started rendering incorrectly when I downloaded a nightly Camino build newer than the 0.7 release. To me, that pretty strongly implies a Camino bug of some kind (whether it's Camino specifically or something with the Mozilla 1.3 engine, I don't know).
Okay; I've put up a new page at http://www.whitver.net/~josh/tabletest.html that's free of all the evil GoLive stuff (which I've also posted as an attachment). The problem still occurs. I'll reopen the bug, if that's okay. :)
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
The issue is related to the page's css rule (height: 0px) which is applied to the H4 element. I have a reduced test case showing this problem.
Status: UNCONFIRMED → NEW
Ever confirmed: true
No longer just a camino issue since this reproduces in the latest mozilla trunk build.
Component: Page Layout → Layout: View Rendering
Product: Camino → Browser
Target Milestone: --- → mozilla1.4beta
Version: unspecified → Trunk
changing to layout:tables
Component: Layout: View Rendering → Layout: Tables
QA Contact: winnie → madhur
Attached file reduced test case
Test case contains a table with a nested P element. The P elemennt has been assigned { padding: 1px; height: 0px } ccs rule.
Summary: Table rendering is incorrect when <h4> tag is used for emphasis on some cells → Table rendering issue occurs when nested P element is assigned height: 0px
Keywords: testcase
Changing bug URL since I've since updated the calendaring system on my website. :)
Assignee: bryner → nobody
QA Contact: madhur → layout.tables
Attached file more visible testcase
I think the p should not wrap around the text so for me mozillas rendering is correct
Attached file strict mode
this is partly a quirks mode question webkit and FF3 honor the style height on the P in std and quirks mode IE honors the style height only in std mode Opera is completely off with their standards mode rendering
I think this is: Wontfix
marking so
Status: NEW → RESOLVED
Closed: 22 years ago16 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: