Closed
Bug 255468
Opened 21 years ago
Closed 17 years ago
hang with list-style-position: inside and span:after
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: phrh, Assigned: phrh)
References
Details
(Keywords: hang, testcase)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1
Firefox hangs when using a nested ul with list-style-position: inside when the
contents of li's have a span:after rule.
Reproducible: Always
Steps to Reproduce:
1. Use a page like the test case.
2. From the style sheet menu, change to "Basic Style"
3. Change back to the original style.
4. In some cases, selecting randomly over the list items helps crash it, but in
others, it crashes instantly.
Actual Results:
Sometimes, it crashes as you click on the style sheet.
Other times, it displays without crashing, but bullet points are instead where
the :after content should be, and everything after the :after content is
missing. In these cases, selecting randomly over these places crashes it.
Expected Results:
It should display like it originally did before changing stylesheets without
crashing.
Assignee | ||
Comment 1•21 years ago
|
||
The table is not needed, but seems to make the crash more likely.
It will display correctly at first, but switching to basic layout and back will
crash the browser.
Assignee | ||
Comment 2•21 years ago
|
||
A backtrace of the crash from gdb.
This is without symbols, so only shows function names.
It looks like recursion in nsPRUint32Key::Clone() and
nsReadingIterator<unsigned short>::advance ().
![]() |
||
Comment 3•21 years ago
|
||
I get an endless stream of:
###!!! ASSERTION: redo line on totally empty line: 'aState.IsImpactedByFloat()',
file /home/bzbarsky/mozilla/xlib/mozilla/layout/html/base/src/nsBlockFrame.cpp,
line 3461
###!!! ASSERTION: unconstrained height on totally empty line:
'NS_UNCONSTRAINEDSIZE != aState.mAvailSpaceRect.height', file
/home/bzbarsky/mozilla/xlib/mozilla/layout/html/base/src/nsBlockFrame.cpp, line 3463
At the assertion point, "frame" is an nsBulletFrame...
Status: UNCONFIRMED → NEW
Component: Layout → Layout: Block and Inline
Ever confirmed: true
Keywords: hang
QA Contact: core.layout → core.layout.block-and-inline
Summary: crash/hang with list-style-position: inside and span:after → hang with list-style-position: inside and span:after
![]() |
||
Comment 4•21 years ago
|
||
Patrick, for builds without symbols gdb shows completely bogus stacks,
unfortunately.. There isn't a nsPRUint32Key in sight of the code that's causing
problems.
Comment 5•20 years ago
|
||
WFM, SeaMonkey 2005-08-29-02 trunk Linux. In a debug build I see:
###!!! ASSERTION: prev sibling not in line list: 'Not Reached', file
nsBlockFrame.cpp, line 5293
I'm suspecting this could be the same problem as in bug 217903?
Comment 6•18 years ago
|
||
WFM, Firefox trunk on Mac. I see
###!!! ASSERTION: no common ancestor at all???: 'parent', file /Users/jruderman/trunk/mozilla/layout/base/nsLayoutUtils.cpp, line 349
but I see that assertion just about everywhere.
Comment 7•17 years ago
|
||
Patrick, I'm marking this bug as WORKSFORME, but please reopen it if you still see it on trunk.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
![]() |
||
Updated•17 years ago
|
Flags: in-testsuite?
Comment 8•11 years ago
|
||
Flags: in-testsuite? → in-testsuite+
Assignee: nobody → phrh
You need to log in
before you can comment on or make changes to this bug.
Description
•