Closed Bug 313165 Opened 15 years ago Closed 15 years ago

Infinite loop in text frame getBBox

Categories

(Core :: SVG, defect)

1.8 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: tor, Assigned: tor)

Details

(Keywords: fixed1.8)

Attachments

(3 files)

Logic problem in nsSVGTextFrame::GetBBox causes an infinite loop if a child
doesn't return a bounding box, such as <svg:title>'s generic SVG frame.

Trunk doesn't have this problem as its GetBBox uses the common version in
nsSVGUtils.
Attached patch fix logicSplinter Review
Attachment #200232 - Flags: review?(jonathan.watt)
Attachment #200232 - Flags: review?(jonathan.watt) → review?(roc)
Comment on attachment 200232 [details] [diff] [review]
diff -w version of patch for review purposes

this fix is trivial, nearly zero risk
Attachment #200232 - Flags: superreview+
Attachment #200232 - Flags: review?(roc)
Attachment #200232 - Flags: review+
Attachment #200232 - Flags: approval1.8rc1?
Attachment #200232 - Flags: approval1.8rc1? → approval1.8rc1+
Checked in on branch.
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.