Open
Bug 390441
Opened 18 years ago
Updated 3 years ago
Incorrect font size in textarea due to space in lang attribute
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
NEW
People
(Reporter: vincent-moz, Unassigned)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
A space in a lang attribute makes Firefox use a wrong font size in lines that do not contain accented characters, e.g.
<textarea name="details" rows="5" cols="10" lang="fr "></textarea>
Reproducible: Always
Steps to Reproduce:
1. Open the HTML file that will be attached.
2. Enter
line 1 e
line 2 é
line 3
in both textareas.
Actual Results:
The first textarea is incorrect: wrong size of the box, lines without accented characters also have a wrong size.
Expected Results:
The first textarea should be like the second one.
| Reporter | ||
Comment 1•18 years ago
|
||
| Reporter | ||
Comment 2•18 years ago
|
||
Comment 3•18 years ago
|
||
WFM, Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
Maybe related to bug 390064 somehow?
| Reporter | ||
Comment 4•18 years ago
|
||
(In reply to comment #3)
> Maybe related to bug 390064 somehow?
I don't think so: I can't reproduce this bug.
| Reporter | ||
Comment 5•18 years ago
|
||
In fact, the problem is related to the fact that for the Monospace font, I have Monaco in "Western" and Courier in "Other Languages". If I get it to Monaco too, the problem disappears. So, it seems that there are two bugs:
1. "fr " is seen as "other language".
2. The font size depends on the language declared in the source (instead of what the user writes in the textarea).
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
I can't reproduce this bug either.
| Reporter | ||
Comment 7•18 years ago
|
||
Setting OS to All since I can reproduce the bug under Linux/ppc after changing the monospace font of "Other Languages".
OS: Mac OS X → All
Updated•18 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•3 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•