Closed Bug 1823451 Opened 2 years ago Closed 2 years ago

text-transform: capitalize not working on Firefox

Categories

(Core :: Layout: Text and Fonts, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 208789

People

(Reporter: tijujose06, Unassigned)

References

()

Details

Attachments

(1 file)

Steps to reproduce:

Browser: Firefox 102.9.0esr (64-bit)
OS: macOS 13.2.1
URL: https://embed.fireplace.yahoo.com/embed/?ctrl=Overlay&m_id=x-ray&m_mode=document&isRunningTests=1&activeEntityId=Barack_Obama&articleId=800f2d31-3735-3864-9bc8-55927f1dab43&entityIds=Barack_Obama%2CJoe_Biden%2CJohn_Roberts&entityTypes=wiki%2Cwiki%2Cwiki

Look at the blue "wikipedia" link in the About section.

Actual results:

The CSS "text-transform: capitalize" does not work on Firefox, but works on every other browser. So Firefox shows "wikipedia", while others show "Wikipedia". Other values of text-transform seem to be working.

Expected results:

Expected "Wikipedia" with a capital W

Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core
Version: other → unspecified
Depends on: 208789

In general, it's unspecified exactly how capitalize should work in various edge cases, partly because there is no universally-correct answer. Firefox doesn't capitalize the letter after word-internal period (or various other punctuation, I think).

Clear status flag, since it seems that the status flag was changed by a bug in bugzilla.

The improved behavior recently implemented in bug 208789 should resolve the example here.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 208789
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: