Closed Bug 32063 Opened 24 years ago Closed 24 years ago

<font size=""> makes font tiny

Categories

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

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: rzach, Assigned: pierre)

Details

(Keywords: testcase)

Attachments

(1 file)

<font size=""> makes the font size tiny.  On NS 4.7, it results in the default
font size.

Linux build 2000.03.15.12
Could it be what leger reported in bug 31226?
I'm not a Unix guy. Erik, could you have a look please? It should be in 
nsHTMLFontElement.cpp or maybe GFX-Unix.
Assignee: pierre → erik
Attached file testcase
Status: NEW → ASSIGNED
Target Milestone: M15
Pierre, in layout/html/content/src/nsHTMLFontElement.cpp there is an if
statement without an else clause. It needs an else clause to deal with <font
size="">. That if statement is:

277         aAttributes->GetAttribute(nsHTMLAtoms::size, value);
278         if ((value.GetUnit() == eHTMLUnit_Integer) ||
279             (value.GetUnit() == eHTMLUnit_Enumerated)) {

I hope you don't mind if I reassign this to you...
Assignee: erik → pierre
Status: ASSIGNED → NEW
This bug severely impacts usability of the ODP editor forums at dmoz.org, making
it impracticable for 20,000 editors to use Mozilla for editing.  Nominate for
beta2.
Keywords: beta2, testcase
Moving crufty m14-m15 bugs out to m16 for proper triage.
Target Milestone: M15 → M16
fix checked in nsHTMLFontElement.cpp
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
This does not seem to be fixed on Linux build 2000.04.16.06.
Verified on Linux build 2000.04.19.08
Status: RESOLVED → VERIFIED
Keywords: nsbeta2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: