Closed
Bug 322786
Opened 19 years ago
Closed 19 years ago
[FIX]ASSERTION: Could not find an adaptor! (<xul:scrollbox> inside inline element)
Categories
(Core :: XUL, defect, P3)
Core
XUL
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: jruderman, Assigned: bzbarsky)
References
Details
(Keywords: assertion, testcase)
Attachments
(2 files)
(deleted),
application/vnd.mozilla.xul+xml
|
Details | |
(deleted),
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
To reproduce, just load the testcase in a debug build.
###!!! ASSERTION: Could not find an adaptor!: 'Error', file /Users/admin/trunk/mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 677
Reporter | ||
Comment 1•19 years ago
|
||
Assignee | ||
Comment 2•19 years ago
|
||
When we append the scrolled frame to the scrollframe, the scrollframe tries to reflow itself... so the inline tries to reflow itself. But the inline is not in the tree yet. Hence the assert.
The solution, I think, is to not try to reflow yourself on a child append if there has been no initial reflow yet.
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #207959 -
Flags: superreview?(roc)
Attachment #207959 -
Flags: review?(roc)
Assignee | ||
Updated•19 years ago
|
OS: MacOS X → All
Priority: -- → P3
Hardware: Macintosh → All
Summary: ASSERTION: Could not find an adaptor! (<xul:scrollbox> inside inline element) → [FIX]ASSERTION: Could not find an adaptor! (<xul:scrollbox> inside inline element)
Target Milestone: --- → mozilla1.9alpha
Attachment #207959 -
Flags: superreview?(roc)
Attachment #207959 -
Flags: superreview+
Attachment #207959 -
Flags: review?(roc)
Attachment #207959 -
Flags: review+
Assignee | ||
Comment 3•19 years ago
|
||
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•