Last Comment Bug 102016 - right-aligned text is offset from edge of container by letter-spacing
: right-aligned text is offset from edge of container by letter-spacing
Status: NEW
[CSS1-5.4.2]
: css1, testcase
Product: Core
Classification: Components
Component: Layout: Text (show other bugs)
: Trunk
: All All
: P4 minor with 8 votes (vote)
: Future
Assigned To: Nobody; OK to take it and work on it
:
Mentors:
: 137396 172072 (view as bug list)
Depends on: 299943
Blocks: 125390
  Show dependency treegraph
 
Reported: 2001-09-27 14:05 PDT by Chris Waterson
Modified: 2016-02-21 06:05 PST (History)
8 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
test case (520 bytes, text/html)
2001-09-27 14:15 PDT, Chris Waterson
no flags Details
an example of the case "text-align: center;" (841 bytes, text/html)
2002-04-16 20:33 PDT, lancer
no flags Details

Description Chris Waterson 2001-09-27 14:05:13 PDT
Spun off from bug 58384. Right-aligned text with letter-spacing is offset from
the right edge of its container by exactly one unit of letter spacing (instead
of being flush).
Comment 1 Chris Waterson 2001-09-27 14:15:28 PDT
Created attachment 51114 [details]
test case
Comment 2 Boris Zbarsky [:bz] (still a bit busy) 2002-04-14 10:36:48 PDT
*** Bug 137396 has been marked as a duplicate of this bug. ***
Comment 3 lancer 2002-04-16 20:33:27 PDT
Created attachment 79567 [details]
an example of the case "text-align: center;"

!!!!
Comment 4 lancer 2002-04-18 04:02:28 PDT
Mozilla seems to add the spacing 'after' each character, and that is why the
last character of the line has the spacing too, which i believe it is the
problem here.
Then I believe, the spacing must be added 'between' the characters, as the w3c
specification say it

http://www.w3.org/TR/REC-CSS2/text.html#propdef-letter-spacing
Comment 5 Blake Ross 2002-07-24 01:02:26 PDT
This needs to be fixed sometime before the end of the world (currently
02/01/2019).  It was messing up my announcement of doom at
http://www.blakeross.com/, and I had to lamely work around it.
Comment 6 Greg K. 2002-10-03 15:27:52 PDT
*** Bug 172072 has been marked as a duplicate of this bug. ***
Comment 7 Boris Zbarsky [:bz] (still a bit busy) 2003-04-22 12:07:49 PDT
.
Comment 8 Mihai Bazon 2006-03-10 02:44:16 PST
Blake, if that's the case, I really wish end of the world comes sooner. ;-)

Note You need to log in before you can comment on or make changes to this bug.