Closed
Bug 381746
Opened 18 years ago
Closed 17 years ago
odd and changing border in frameset
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: Peter6, Assigned: sharparrow1)
References
()
Details
(Keywords: regression, testcase)
Attachments
(5 files, 3 obsolete files)
60.39 KB,
image/png
|
Details | |
414 bytes,
text/html
|
Details | |
274 bytes,
text/html
|
Details | |
13.23 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
1.32 KB,
patch
|
MatsPalmgren_bugz
:
review+
|
Details | Diff | Splinter Review |
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
Reporter | ||
Comment 1•18 years ago
|
||
If the frame is resized it reflows to the correct layout
Bug 365189 ?
Comment 2•18 years ago
|
||
Comment 3•18 years ago
|
||
Updated•18 years ago
|
Comment 4•18 years ago
|
||
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
Comment 5•18 years ago
|
||
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
Comment 6•18 years ago
|
||
Assignee | ||
Comment 7•18 years ago
|
||
Switching to correct dependency.
Assignee | ||
Comment 8•18 years ago
|
||
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.)
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+
Updated•17 years ago
|
Whiteboard: [checkin needed]
Assignee | ||
Comment 10•17 years ago
|
||
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]
Comment 12•17 years ago
|
||
I think this fix caused bug 382111. At least, backing this out fixes it.
Assignee | ||
Comment 13•17 years ago
|
||
Marking fixed (I guess I forgot when I commented before.)
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 14•17 years ago
|
||
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
Comment 15•17 years ago
|
||
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
Comment 16•15 years ago
|
||
Pushed the attached reftest:
http://hg.mozilla.org/mozilla-central/rev/4ada4073af8a
Flags: in-testsuite? → in-testsuite+
Comment 17•15 years ago
|
||
http://mxr.mozilla.org/mozilla-central/source/layout/reftests/bugs/381746-1.html?force=1
fails with the HTML5 parser. Presumably because the test doesn't wait for the load events of the data: URLs. See
http://groups.google.com/group/mozilla.dev.platform/browse_thread/thread/15dde937788406cd/07cd9ca6679c1475
Comment 19•15 years ago
|
||
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+
Comment 20•15 years ago
|
||
Thanks. Pushed:
http://hg.mozilla.org/mozilla-central/rev/8606d3764288
You need to log in
before you can comment on or make changes to this bug.
Description
•