"ASSERTION: Can't find frame in lines!" with -moz-column, break-word

RESOLVED FIXED

Status

()

Core
Layout
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Blocks: 2 bugs, {assertion, testcase})

Trunk
x86
Mac OS X
assertion, testcase
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

250 bytes, application/xhtml+xml
Details
5.41 KB, text/plain
Details
(Reporter)

Description

6 years ago
Created attachment 526483 [details]
testcase

###!!! ASSERTION: Can't find frame in lines!: 'hasNext', file layout/base/nsBidiPresUtils.cpp, line 436

###!!! ABORT: comparing iterators over different lists: 'mListLink == aOther.mListLink', file nsLineBox.h, line 722

May be related to bug 480686, which triggers only the abort.
(Reporter)

Comment 1

6 years ago
Created attachment 526484 [details]
stack traces
AdvanceLineIteratorToFrame is the source of a lot of grief. Is there no simpler way to get from a frame to its containing line?
No.
I mean, there's no direct reference from a frame to its line, so we have to search for it, and given the frame structures we have, that's not trivial as well as being a potential performance issue.

Adding a reference from a frame to its line would be possible but maintaining it would also be error-prone.
http://hg.mozilla.org/mozilla-central/rev/a2450f7a0618 from bug 263359 includes the test as a crashtest.
Depends on: 263359
Fixed by bug 263359
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.