text-transform: capitalize not working on Firefox
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: tijujose06, Unassigned)
References
()
Details
Attachments
(1 file)
|
1.85 MB,
image/png
|
Details |
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
Updated•2 years ago
|
Updated•2 years ago
|
Comment 1•2 years ago
|
||
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).
Comment 2•2 years ago
•
|
||
Clear status flag, since it seems that the status flag was changed by a bug in bugzilla.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
The improved behavior recently implemented in bug 208789 should resolve the example here.
Description
•