Closed
Bug 370794
Opened 17 years ago
Closed 17 years ago
[FIX]"ASSERTION: used padding property missing (out of memory?)" with overflow: hidden and position: fixed
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha3
People
(Reporter: jruderman, Assigned: bzbarsky)
References
Details
(Keywords: assertion, testcase)
Attachments
(3 files)
159 bytes,
text/html
|
Details | |
3.24 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
4.01 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
###!!! ASSERTION: used padding property missing (out of memory?): 'p', file /Users/jruderman/trunk/mozilla/layout/generic/nsFrame.cpp, line 764 This is the same assertion that showed up in bug 366952, which dbaron fixed.
Reporter | ||
Comment 1•17 years ago
|
||
Assignee | ||
Comment 2•17 years ago
|
||
Attachment #255633 -
Flags: superreview?(dbaron)
Attachment #255633 -
Flags: review?(dbaron)
Assignee | ||
Updated•17 years ago
|
Assignee: nobody → bzbarsky
OS: Mac OS X → All
Hardware: PC → All
Summary: "ASSERTION: used padding property missing (out of memory?)" with overflow: hidden and position: fixed → [FIX]"ASSERTION: used padding property missing (out of memory?)" with overflow: hidden and position: fixed
Target Milestone: --- → mozilla1.9alpha3
Who's passing in an |aPadding| without overriding nsIFrame::GetUsedPadding?
Assignee | ||
Comment 4•17 years ago
|
||
nsHTMLScrollFrame::ReflowScrolledFrame. I'm not sure how easy it is to override it, since there are so many different things the scrolled frame could be. I suppose we could just put that in the nsFrame GetUsedPadding or something....
::-moz-scrolled-content already has padding:inherit, so I'm not even sure why that code is needed.
Assignee | ||
Comment 6•17 years ago
|
||
Because inheriting a percentage does the wrong thing -- it computes the percentage using the scrollframe as the containing block. See the blame for that Init() call in nsHTMLScrollFrame::ReflowScrolledFrame.
Attachment #255633 -
Flags: superreview?(dbaron)
Attachment #255633 -
Flags: superreview+
Attachment #255633 -
Flags: review?(dbaron)
Attachment #255633 -
Flags: review+
ok, r+sr=dbaron
Assignee | ||
Comment 8•17 years ago
|
||
Hmm. Though I guess this means that all table rows, etc, will end up with these props, even though they don't need them. Maybe I should put this code in nsGfxScrollFrame instead?
That would work -- especially if you set the property before the reflow state is constructed, since there could be a GetUsedPadding call later in the nsHTMLReflowState constructor.
Assignee | ||
Comment 10•17 years ago
|
||
Assignee | ||
Updated•17 years ago
|
Attachment #255720 -
Flags: superreview?(dbaron)
Attachment #255720 -
Flags: review?(dbaron)
Attachment #255720 -
Flags: superreview?(dbaron)
Attachment #255720 -
Flags: superreview+
Attachment #255720 -
Flags: review?(dbaron)
Attachment #255720 -
Flags: review+
Assignee | ||
Comment 11•17 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•