Closed
Bug 393758
Opened 18 years ago
Closed 18 years ago
"ASSERTION: Range out of bounds" with table, unicode-bidi: override, hebrew, letter-spacing
Categories
(Core :: Graphics, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jruderman, Assigned: roc)
References
Details
(Keywords: assertion, testcase)
Attachments
(2 files)
223 bytes,
application/xhtml+xml
|
Details | |
3.80 KB,
patch
|
smontagu
:
review+
|
Details | Diff | Splinter Review |
Loading the testcase triggers:
###!!! ASSERTION: Range out of bounds: 'IsInBounds(mStart, mLength, aStart, aLength)', file /Users/jruderman/trunk/mozilla/layout/generic/nsTextFrameThebes.cpp, line 2350
Assignee | ||
Updated•18 years ago
|
Assignee: nobody → roc
Reporter | ||
Updated•18 years ago
|
Flags: blocking1.9?
Updated•18 years ago
|
Flags: blocking1.9? → blocking1.9+
Assignee | ||
Comment 1•18 years ago
|
||
In this case the bidi resolver is breaking the text into two frames, the second being a non-fluid continuation. However the two frames have the same direction. So they share a textrun and we have two flows in the textrun with the same content. This violates the invariant that there are no two flows in a textrun with the same content.
My solution here is to directly detect two flows with the same content and ensure that the second flow is placed in its own textrun.
Attachment #284902 -
Flags: review?(smontagu)
Comment 2•18 years ago
|
||
Comment on attachment 284902 [details] [diff] [review]
fix
r=me, but I wonder if the bidi resolver still needs to do that. In the old gfx implementations we had to break the frames because we couldn't render a run of text containing characters with different native directions (equivalent to the charType property) but the same resolved direction (the embeddingLevel property) in a single operation, but today I should think that that isn't a problem.
Attachment #284902 -
Flags: review?(smontagu) → review+
Assignee | ||
Comment 3•18 years ago
|
||
Yeah. Well, feel free to fix the underlying bug; if you do, you can change this into an assertion.
Assignee | ||
Comment 4•18 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Flags: in-testsuite?
Assignee | ||
Comment 5•18 years ago
|
||
Backed out in case it caused pref regression.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [needs reevaluation/landing]
Updated•18 years ago
|
Priority: -- → P2
Comment 6•18 years ago
|
||
re-landed:
Checking in layout/generic/nsTextFrameThebes.cpp;
/cvsroot/mozilla/layout/generic/nsTextFrameThebes.cpp,v <-- nsTextFrameThebes.cpp
new revision: 3.113; previous revision: 3.112
done
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Whiteboard: [needs reevaluation/landing]
Comment 8•17 years ago
|
||
verified fixed using the testcase and Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9b4pre) Gecko/2008020601 Firefox/3.0b4pre
-> no assertion like described in comment #0 - Verified fixed
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•