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)

x86
Linux
defect
Not set
critical

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.
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.
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 ().
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
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.
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?
Depends on: 217903
Keywords: testcase
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.
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
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: