[Webkit-unassigned] [Bug 65822] New: Letter-spacing does not play well with text-align:right

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 6 15:54:42 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=65822

           Summary: Letter-spacing does not play well with
                    text-align:right
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: lacerchia at gmail.com


Created an attachment (id=103168)
 --> (https://bugs.webkit.org/attachment.cgi?id=103168&action=review)
demonstration

If you use letter-spacing with left alignment, the first letter aligns with other left-aligned paragraphs that don't have letter-spacing set. But with right alignment, the last letter does not align with other right-aligned paragraphs: it is shifted left by the letter-spacing amount. In other words, letter-spacing currently adds the specified amount of space to the right of the glyph. I think that violates CSS2, which says that "This property specifies spacing behavior between text characters" <http://www.w3.org/TR/CSS2/text.html#spacing-props>; not between a character and the right side of the text box.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list