Closed Bug 1384556 Opened 7 years ago Closed 7 years ago

::first-letter text-transform creates undesired space

Categories

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

54 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 385615

People

(Reporter: gunnar, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID: 20170628075643

Steps to reproduce:

::first-letter { text-transform: uppercase } applied to an element with display: inline-block, see https://codepen.io/gunnarbittersmann/pen/mMyqXN


Actual results:

elements where first letter is transformed to uppercase show additional space after their text content, i.e. on the right (ltr direction)
elements where first letter is not transformed (scripts with no uppercase/lowsercase, but also Klingon where additional rule prohibits test-transform) are not affected


Expected results:

no additional space
Component: Untriaged → Layout: Text
Product: Firefox → Core
This is an example of bug 385615.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.