Closed Bug 412237 Opened 17 years ago Closed 17 years ago

"ASSERTION: scriptminsize should never be making things bigger" with <ms fontsize="-2%">

Categories

(Core :: MathML, defect, P4)

x86
macOS
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: roc)

References

Details

(Keywords: assertion, regression, testcase)

Attachments

(3 files)

###!!! ASSERTION: scriptminsize should never be making things bigger: 'aFont->mScriptUnconstrainedSize <= aFont->mSize', file /Users/jruderman/trunk/mozilla/layout/style/nsRuleNode.cpp, line 2397
Attached file testcase
Assignee: nobody → roc
Flags: blocking1.9?
Keywords: regression
Attached patch fixSplinter Review
Trivial fix. We shouldn't parse negative values here.
Attachment #297683 - Flags: superreview?(dbaron)
Attachment #297683 - Flags: review?(dbaron)
Whiteboard: [needs review]
Flags: blocking1.9? → blocking1.9+
Priority: -- → P5
Comment on attachment 297683 [details] [diff] [review] fix r+sr=dbaron
Attachment #297683 - Flags: superreview?(dbaron)
Attachment #297683 - Flags: superreview+
Attachment #297683 - Flags: review?(dbaron)
Attachment #297683 - Flags: review+
Whiteboard: [needs review] → [needs landing]
Checked in with test
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [needs landing]
Amazingly this patched regressed reftest 355548-3.xml, so I backed it out. I'll try again after beta3.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [needs landing]
Whiteboard: [needs landing]
Attached patch updated fixSplinter Review
The regression was because we started refusing to parse "-0px". We should parse that as 0, IMHO, so this patch does that.
Attachment #300460 - Flags: superreview?(dbaron)
Attachment #300460 - Flags: review?(dbaron)
Whiteboard: [needs review]
Comment on attachment 300460 [details] [diff] [review] updated fix r+sr=dbaron
Attachment #300460 - Flags: superreview?(dbaron)
Attachment #300460 - Flags: superreview+
Attachment #300460 - Flags: review?(dbaron)
Attachment #300460 - Flags: review+
Whiteboard: [needs review] → [needs landing]
relanded
Status: REOPENED → RESOLVED
Closed: 17 years ago17 years ago
Resolution: --- → FIXED
Whiteboard: [needs landing]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: