WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
23471
RTL: text-overflow: ellipses draws ellipses on top of text
https://bugs.webkit.org/show_bug.cgi?id=23471
Summary
RTL: text-overflow: ellipses draws ellipses on top of text
Jeremy Moskovich
Reported
2009-01-21 23:41:49 PST
Text is not properly clipped and ellipses are drawn on top of text when using text-overflow: ellipses in conjunction with dir: rtl. You can see this in the last example in the test case for the inline-spelling-markers layout test (attached).
Attachments
an example
(38.13 KB, image/png)
2009-01-21 23:42 PST
,
Jeremy Moskovich
no flags
Details
First cut at layout test
(1.25 KB, text/html)
2009-01-31 15:45 PST
,
Jeremy Moskovich
no flags
Details
Patch version 1
(4.46 KB, patch)
2009-01-31 21:38 PST
,
Jeremy Moskovich
no flags
Details
Formatted Diff
Diff
Screenshot of problems with patch 1
(15.82 KB, image/png)
2009-01-31 21:38 PST
,
Jeremy Moskovich
no flags
Details
HTML used to generate screenshot
(745 bytes, text/html)
2009-01-31 21:39 PST
,
Jeremy Moskovich
no flags
Details
Patch version 2
(12.59 KB, patch)
2009-02-01 17:09 PST
,
Jeremy Moskovich
hyatt
: review+
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Jeremy Moskovich
Comment 1
2009-01-21 23:42:31 PST
Created
attachment 26923
[details]
an example
Jeremy Moskovich
Comment 2
2009-01-31 15:45:40 PST
Created
attachment 27224
[details]
First cut at layout test Any suggestions for extra test cases?
Jeremy Moskovich
Comment 3
2009-01-31 21:38:04 PST
Created
attachment 27227
[details]
Patch version 1 This is a first cut at a patch, it's not complete but I have some questions before I continue: * In the case of RTL text, the first ellipse isn't spaced properly from the last letter of the text, what's the correct way to add the space between the text and ellipse? * What would be the best place to put the accompanying layout test? * With this patch, RTL links draw an underline only under the ellipses and not the actual text (see attached testcase & screenshot), any ideas where this might stem from? * Is the check for m_dirOverride ok? It's not clear to me why the placement of the EllipsesBox is different using a forced bidi override?
Jeremy Moskovich
Comment 4
2009-01-31 21:38:39 PST
Created
attachment 27228
[details]
Screenshot of problems with patch 1
Jeremy Moskovich
Comment 5
2009-01-31 21:39:47 PST
Created
attachment 27229
[details]
HTML used to generate screenshot
Jeremy Moskovich
Comment 6
2009-02-01 17:09:08 PST
Created
attachment 27237
[details]
Patch version 2 This fixes the issues with the previous patch.
Dave Hyatt
Comment 7
2009-02-04 10:12:31 PST
Comment on
attachment 27237
[details]
Patch version 2 Looks fine to me. r=me
Dimitri Glazkov (Google)
Comment 8
2009-02-04 12:34:36 PST
Landed as
http://trac.webkit.org/changeset/40620
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug