Closed Bug 381746 Opened 18 years ago Closed 17 years ago

odd and changing border in frameset

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Peter6, Assigned: sharparrow1)

References

()

Details

(Keywords: regression, testcase)

Attachments

(5 files, 3 obsolete files)

Attached image screenshot
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a5pre) Gecko/20070522 Minefield/3.0a5pre ID:2007052219 [cairo] (last working build) There appears a strange border in the left frame. http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=1179885660&maxdate=1179892439 On the screenshot the top part is the correct display. The bottom 3 occur after above regressionrange when (re)loading the page
If the frame is resized it reflows to the correct layout Bug 365189 ?
Attached file testcase (obsolete) —
Attached file reference rendering (obsolete) —
Blocks: 365189
Keywords: testcase
Attached file testcase (obsolete) —
ok, apparently the previous testcase only shows the bug when testing it locally. I hope this one shows the bug online.
Attachment #265864 - Attachment is obsolete: true
Attached file testcase
Sorry for all the wrong attachments. This should finally be a good testcase.
Attachment #265865 - Attachment is obsolete: true
Attachment #265868 - Attachment is obsolete: true
Switching to correct dependency.
Blocks: 380438
No longer blocks: 365189
Attached patch PatchSplinter Review
Basically, the view code seemed like it expected a call to ResetWidgetBounds, but never actually got one. So this patch is mostly code reorganization to make everything work correct without it. (The reason things were looking weird was that mViewToWidgetOffset wasn't getting initialized.)
Assignee: nobody → sharparrow1
Status: NEW → ASSIGNED
Attachment #265890 - Flags: review?(roc)
Comment on attachment 265890 [details] [diff] [review] Patch +void nsView::CalcWidgetBounds(nsRect& aRect, nsWindowType aType) This could just return the rect as the result.
Attachment #265890 - Flags: superreview+
Attachment #265890 - Flags: review?(roc)
Attachment #265890 - Flags: review+
Blocks: 381957
Blocks: 381706
Whiteboard: [checkin needed]
Checked in (and BTW, there's no need to mark any patches by me with checkin-needed; if I really need it, I'll request it myself.)
Flags: in-testsuite?
Whiteboard: [checkin needed]
I think this fix caused bug 382111. At least, backing this out fixes it.
Depends on: 382111
Marking fixed (I guess I forgot when I commented before.)
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
It looks like this may have caused a crash. Looks like a null pointer deref. See for example: https://crash-reports.mozilla.com/reports/report/index/2ce2d7d1-0e5a-11dc-aba0-001a4bd43e5c
Depends on: 382471
Thanks Ted, this happens when trying to print a <select>. I discovered this by the Talkback comments: http://talkback-public.mozilla.org/search/start.jsp?search=1&searchby=stacksig&match=contains&searchfor=nsView::CalcWidgetBounds&vendor=MozillaOrg&product=FirefoxTrunk&platform=All&buildid=&sdate=&stime=&edate=&etime=&sortby=bbid (*hint hint*, talkback comments can be very useful, sometimes) I filed bug 382471 for this.
No longer depends on: 382471
Depends on: 382471
Depends on: 386016
Flags: in-testsuite? → in-testsuite+
Fix for the reftest.
Attachment #431617 - Flags: review?(matspal)
Comment on attachment 431617 [details] [diff] [review] Make the reftest wait for iframe onloads Thanks, I'll try to remember that in the future. r=mats
Attachment #431617 - Flags: review?(matspal) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: