Closed Bug 403299 Opened 17 years ago Closed 16 years ago

"WARNING: We shouldn't be backing up more than once" with soft hyphen before node boundary

Categories

(Core :: Layout: Text and Fonts, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(2 files)

Attached file testcase
Loading the testcase triggers:

WARNING: We shouldn't be backing up more than once! Someone must have set a break opportunity beyond the available width, even though there were better break opportunities before it: file /Users/jruderman/trunk/mozilla/layout/generic/nsBlockFrame.cpp, line 3464

Also, while the line is broken (correctly), the hyphen doesn't appear like it should.
Attached file reference
Take away the node boundary --> the warning goes away and the hyphen appears.
Depends on: 399531
Flags: wanted1.8.0.x?
Whiteboard: [depends on 399531]
With the checkin for bug 399531, the warning still happens but the hyphen appears correctly.
Whiteboard: [depends on 399531]
The testcase no longer triggers the warning for me.

roc, should I check in this reftest pair, or do the other tests for bug 399531 cover everything?

Also, do you want me to turn this warning into an assertion locally so I can report bugs about other testcases that cause me to hit it?
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
The tests in 399531 should cover it.

turning into an assertion makes sense.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: