Closed Bug 133948 Opened 23 years ago Closed 23 years ago

[PATCH]third nested table with height=100% rendered as height=auto until browser window is resized

Categories

(Core :: Layout: Tables, defect, P2)

x86
All
defect

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: mozilla, Assigned: karnaze)

References

()

Details

(Whiteboard: [adt2])

Attachments

(1 file, 1 obsolete file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.9+) Gecko/20020314 BuildID: 2002031403 if you nest 3 (or more) tables with height=100% only the 2 outter tables are rendered with correct height. beginning with the third nested they're rendered like height=auto, but as soon as you resize the browser window they'll fit. btw: i saw tables dynamically grow on resizing a window, but the won't shrink again until reload?!? Reproducible: Always Steps to Reproduce: 1. load http://www.neonblau.de/table.html 2. see the height of the inner (red) table 3. resize the browser window Actual Results: inner tables height is incorrect until browser windows resize Expected Results: render the same on load
OS: Windows XP → All
Target Milestone: --- → mozilla1.0
*** This bug has been marked as a duplicate of 131020 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
thats not a dupe, it hasn't been fixed by the fix in bug 131020
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Status: UNCONFIRMED → NEW
Ever confirmed: true
bug description, first part is already resolved. still to fix: Reproducible: Always Steps to Reproduce: 1. load http://www.neonblau.de/table.html (not in a maximized window!!!) 2. make the browser window smaller 3. push reload Actual Results: 100% height tables grow dynamically, but will never shrink until page is reloaded Expected Results: render the same way as a single 100% height table (or the same way 100% width is rendered)
Status: NEW → ASSIGNED
Keywords: nsbeta1
Priority: -- → P2
Whiteboard: PATCH
nsbeta1+
Keywords: nsbeta1nsbeta1+
Summary: third nested table with height=100% rendered as height=auto until browser window is resized → [PATCH]third nested table with height=100% rendered as height=auto until browser window is resized
Whiteboard: PATCH → [adt2]
Comment on attachment 77366 [details] [diff] [review] patch to fix the bug sr=attinasi
Attachment #77366 - Flags: superreview+
Comment on attachment 77366 [details] [diff] [review] patch to fix the bug r=bernd
Attachment #77366 - Flags: review+
Keywords: approval
Comment on attachment 77366 [details] [diff] [review] patch to fix the bug a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #77366 - Flags: approval+
Keywords: adt1.0.0
adt1.0.0+ (on ADT's behalf) approval for checkin to 1.0.
Keywords: adt1.0.0adt1.0.0+
The patch is in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
cannot confirm a "RESOLVED" in nighly build 2002040708 !?!? no difference on win xp pro. here
I'm not sure what happened with that patch. Anyway, I'll be attaching an additional patch to be applied.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch additional patch to be applied (obsolete) — Splinter Review
The 1st patch is checked in and this one needs to be applied as well.
Chris, why do we need to remove the resize_reflow in the decision at nsTableCellFrame.cpp?
This bug will be fixed with the patch in bug 125543. I am expanding that patch to include fixing this bug since bug 125543 deals with similar issues and is a more important bug. During a resize reflow which preceeds a special height reflow, the computed height should not be set so the cell can change height. During the special height reflow the computed height will be set to allow percent height elements inside the cell to size properly.
Status: REOPENED → ASSIGNED
Depends on: 125543
Comment on attachment 78204 [details] [diff] [review] additional patch to be applied will be included in the patch in bug 125543.
Attachment #78204 - Attachment is obsolete: true
nightly build 2002041103 looks very good to me (winxp pro), nice work!
Status: ASSIGNED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
Keywords: fixed1.0.0
Looks good. The table resizes with the browser window. Marking verified.
Status: RESOLVED → VERIFIED
Adding verified1.0.0 keyword
Keywords: verified1.0.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: