Closed Bug 406297 Opened 17 years ago Closed 17 years ago

Assertion "Possibly stale float cache here!" fires incorrectly

Categories

(Core :: Layout: Block and Inline, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: roc, Assigned: roc)

References

Details

Attachments

(1 file)

Attached patch obvious patchSplinter Review
The assertion was added in bug 406137:
  NS_ASSERTION(!line->HasFloats(), "Possibly stale float cache here!");

This fires a lot. The problem is, it fires for lines that aren't dirty, which is wrong, because the float caches for non-dirty line will be just fine. Obvious/trivial patch attached.
Attachment #290966 - Flags: superreview?(dbaron)
Attachment #290966 - Flags: review?(dbaron)
Comment on attachment 290966 [details] [diff] [review]
obvious patch

r+sr+a1.9=dbaron
Attachment #290966 - Flags: superreview?(dbaron)
Attachment #290966 - Flags: superreview+
Attachment #290966 - Flags: review?(dbaron)
Attachment #290966 - Flags: review+
Attachment #290966 - Flags: approval1.9+
checked in
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: