Closed Bug 565248 Opened 14 years ago Closed 14 years ago

"ABORT: negative lengths and percents should be rejected by parser"

Categories

(Core :: CSS Parsing and Computation, defect, P4)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9.3a5

People

(Reporter: jruderman, Assigned: dbaron)

References

Details

(Keywords: assertion, regression, testcase)

Attachments

(2 files)

###!!! ABORT: negative lengths and percents should be rejected by parser: 'aFontData.mSize.IsCalcUnit()', file /home/jruderman/mozilla-central/layout/style/nsRuleNode.cpp, line 2777

This abort was added as part of adding calc() support in bug 363249.
Attached patch patchSplinter Review
I think this is "correct", although I'm not sure if it's really what we want.  (And we'll probably cap the font size somewhere else down the pipe...)
Assignee: nobody → dbaron
Status: NEW → ASSIGNED
Attachment #444834 - Flags: review?(roc)
http://hg.mozilla.org/mozilla-central/rev/6a13fcc71580
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
OS: Linux → All
Priority: -- → P4
Hardware: x86_64 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: