Closed
Bug 877955
Opened 12 years ago
Closed 12 years ago
Indents which are created from nowhere
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 362880
People
(Reporter: vmalikov, Unassigned)
Details
Attachments
(1 file)
721 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release)
Build ID: 20130511120803
Steps to reproduce:
I tried to make small letters in the words with the first capital letter. This words should be in links which as displayed as a block elements. Also, they should stay close to each other, that's why I displayed parental elements like tabular. Between links should be content ">"
Actual results:
There are odd indents appeared in the links. They're look like "padding-right" in CSS
Expected results:
This indents shouldn't be there, like in other browsers.
Updated•12 years ago
|
Attachment #756351 -
Attachment mime type: text/plain → text/html
Comment 1•12 years ago
|
||
The issue is that the shrink-wrap size is computed when all the text has the first-letter style.
You may want to try "text-transform: capitalize" instead of simulating it, though...
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Component: CSS Parsing and Computation → Layout: Block and Inline
Resolution: --- → DUPLICATE
(In reply to Boris Zbarsky (:bz) from comment #1)
> The issue is that the shrink-wrap size is computed when all the text has the
> first-letter style.
>
> You may want to try "text-transform: capitalize" instead of simulating it,
> though...
>
> *** This bug has been marked as a duplicate of bug 362880 ***
It would be great solution but it doesn't work in many browsers (including Mozilla).
Comment 3•12 years ago
|
||
Oh, because your input data has to be all-uppercase, not all-lowercase? "capitalize" will uppercase the first letter only but it won't lowercase anything.
You need to log in
before you can comment on or make changes to this bug.
Description
•