Closed Bug 295459 Opened 19 years ago Closed 19 years ago

Too wide box in this case since fix for bug 240276

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: martijn.martijn, Assigned: bernd_mozilla)

References

Details

(Keywords: regression, testcase)

Attachments

(14 files)

Attached file Testcase (deleted) —
Attached patch patch (deleted) — Splinter Review
Assignee: nobody → bernd_mozilla
Status: NEW → ASSIGNED
Comment on attachment 184517 [details] [diff] [review] patch IMHO the code from bug 240276 and the fixup from bug 292370 is wrong. A scrollframe can be squezed if it is not fixed width and should not pay attention to its content MEW.
Attachment #184517 - Flags: superreview?(roc)
Attachment #184517 - Flags: review?(roc)
Blocks: 292690
Martijn, could you test this patch?
Component: Layout: Tables → Layout
OS: Windows 2000 → Windows XP
The patch works great. It fixes this testcase, and all the testcases of bug 292690. Also the various url's mentioned in that bug also seem fixed. I've not seen any problems with the patch with some marquee examples on the internet. And "GMail Compose mail" still looks good with the patch.
So, I really think we should be propagating MEW through for normal 'overflow' cases. What sites are broken by this problem that don't have MARQUEE? Does WinIE's behavior differ between values of 'overflow'? I'd be surprised if it doesn't propagate MEW through 'overflow:hidden'.
Attached file overflow auto (deleted) —
Attached file overflow hidden (deleted) —
Attached file overflow visible (deleted) —
Attached file overflow: auto width:auto (deleted) —
Attached file overflow:auto width:fix (deleted) —
Attached file overflow:hidden width:auto (deleted) —
Attached file overflow:hidden width:fix (deleted) —
Attached file overflow:scroll width:auto (deleted) —
Attached file overflow:scroll width:fix (deleted) —
Attached file overflow:visible width: auto (deleted) —
Attached file overflow: visible width:fix (deleted) —
Attached file testresults matrix (deleted) —
So the testcase matrix shows that this patch reverts the MEW behaviour back to what it was before (see the testcases with FF 1.04). I heavily doubt that we should follow the IE path which shows for *non* of the blocks in the testcases a scrollbar. BTW the FF 1.04 and Opera rendering is interoperable. Essentially what the patch does, it reinforces the patch that went in for bug 234593. I am confident that the patch for bug 234593 was correct and that the current behaviour is a) wrong b) that it is not possible to fix it consistently as soon at the content MEW plays a role for auto width blocks. At least a partially follow of the IE path seems to me very prone of illogical results. At least we probably need to reopen a lot of the dupes and dependencies of bug 234593, if the MEW of a scroll frame becomes content dependent.
just a note the patch for bug 234593 is not on the aviary branch but it was needed to fix regressions on the trunk
Comment on attachment 184517 [details] [diff] [review] patch I'm still not sure whether this is right or not according to a pure interpretation of the spec, but while there's doubt, the right thing to do is to be consistent with our earlier behaviour.
Attachment #184517 - Flags: superreview?(roc)
Attachment #184517 - Flags: superreview+
Attachment #184517 - Flags: review?(roc)
Attachment #184517 - Flags: review+
Comment on attachment 184517 [details] [diff] [review] patch Requesting 1.8b3 approval, this patch fixes some visible layout regressions
Attachment #184517 - Flags: approval1.8b3?
Comment on attachment 184517 [details] [diff] [review] patch a=shaver
Attachment #184517 - Flags: approval1.8b3? → approval1.8b3+
This patch has been checked in, and I tested with a build that was made after the checkin - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050603 Firefox/1.0+ ID:2005060300. Here are the results: All of the testcases posted in this bugs PASS, except the following: * overflow visible * overflow: auto width:auto * overflow:hidden width:auto * overflow:scroll width:auto * overflow:visible width: auto
Thats a question of the definition of passed. The text in the testcases is misleading aka Copy&Paste from the original. The question here is reverting a regression, so the testcases should look identical in ff 1.0 and current trunk. Which they do for me. Martijn, did it completely revert the behaviour? Thats at least one of the main goals.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
(In reply to comment #25) > Martijn, did it completely revert the behaviour? Thats at > least one of the main goals. I've checked all the testcase attached here and compared with Mozilla1.7. They all look identical. So it seems completely fixed to me.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: