Closed Bug 262898 Opened 20 years ago Closed 20 years ago

[FIX]hotmail.com - large gap between buttons and from/subject header titles

Categories

(Core :: Layout: Positioned, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla1.8alpha5

People

(Reporter: iannbugzilla, Assigned: bzbarsky)

References

()

Details

(Keywords: regression)

Attachments

(3 files, 1 obsolete file)

In both buildID 2004100206 and 2004100406 on WinXP SP1 there is now a large gap
(about 8-10cm) between the new/delete/block etc buttons and the
from/subject/date, etc header column titles.
It was working fine in BuildID 2004093006
Steps to reproduce
1. Start Mozilla
2. Go to above URL
3. Log into hotmail account
4. Select My Messages or Mail links

Expected results
1. No large gap

Actual results
1. Large gap
Also happens in BuildID 2004100106
Attached file Reduced testcase (obsolete) —
I'm guessing it is the CSS style VISIBILITY:hidden that is causing the problem.
cc'ing bz as he checked in css stuff in the regression window.
> I'm guessing it is the CSS style VISIBILITY:hidden that is causing the problem.

It's not (it shouldn't affect layout, and doesn't; you can check this pretty
easily by removing it).

I'll see how much more I can reduce the testcase here... thank you for reducing
it to something manageable to start with!
Attachment #161095 - Attachment is obsolete: true
Yeah, this is mine. It's a regression from bug 191151.  Thanks for catching
this, Ian!
Assignee: nobody → bzbarsky
Component: Layout → Layout: R & A Pos
OS: Windows XP → All
Priority: -- → P1
Hardware: PC → All
Summary: hotmail.com - large gap between buttons and from/subject header titles → [FIX]hotmail.com - large gap between buttons and from/subject header titles
Target Milestone: --- → mozilla1.8alpha5
Attached patch PatchSplinter Review
Comment on attachment 161106 [details] [diff] [review]
Patch

Short story: constructFrameByDisplayType had the code to set
isAbsolutelyPositioned and isFixedPositioned in all three of the positioned
branches (positioned block with overflow:not-visible, positioned block with
overflow:visible, and table).  The patch in bug 191151 removed the last of
these... which broke positioning of tables.

This patch just hoists the set up to the toplevel of the function and removes
it from the other two branches too.
Attachment #161106 - Flags: superreview?(roc)
Attachment #161106 - Flags: review?(roc)
Attachment #161106 - Flags: superreview?(roc)
Attachment #161106 - Flags: superreview+
Attachment #161106 - Flags: review?(roc)
Attachment #161106 - Flags: review+
Fixed.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: