Closed Bug 294025 Opened 19 years ago Closed 19 years ago

text-transform: uppercase gets confused if transformation is longer than original word

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 96423

People

(Reporter: steam_firefox, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

Firefox rendes the german ß into SS on using a text-transform: uppercase.
While that is correct it seems to "forget" that SS are two characters
and ß is just one, messing up the length of the string and cutting
off the last character of the word.

try this at home:
<div style="text-transform: uppercase;">Noch mehr Fu&szlig;balldaten</div>

shows FUSSBALLDATE to me.

Reproducible: Always

Steps to Reproduce:
see above
Actual Results:  
chopped off word by one character

Expected Results:  
complete word
Attached file testcase
added a testcase

This is WFM with current CVS build, Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.8b2) Gecko/20050513
This is fixed for Firefox 1.1

*** This bug has been marked as a duplicate of 96423 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: