WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
118836
text-overflow ellipsis shadow is different from rest of the text
https://bugs.webkit.org/show_bug.cgi?id=118836
Summary
text-overflow ellipsis shadow is different from rest of the text
Terry Vogelaar
Reported
2013-07-18 01:04:04 PDT
It is annoying that in Safari/Chrome the ellipsis is treated differently from the normal text if I have this CSS: .txt { text-shadow: 10px 10px 1px #000; text-overflow: ellipsis; overflow: hidden; display: block; width: 100px; /* too small for the whole text, so the ellipsis shows */ color: rgba(255,0,0,0.2); } You'll see that the ellipsis in the drop shadow is almost transparent just like the actual (red) text, while the rest of the text in the drop shadow is 100% opaque. Firefox is doing fine here.
Attachments
Test case
(2.29 KB, text/html)
2013-09-13 11:15 PDT
,
Jon Lee
no flags
Details
rendering in Safari, firefox, chrome
(201.01 KB, image/png)
2022-06-02 22:03 PDT
,
Karl Dubost
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
gur.trio
Comment 1
2013-09-12 23:40:37 PDT
(In reply to
comment #0
)
> It is annoying that in Safari/Chrome the ellipsis is treated differently from the normal text if I have this CSS: > .txt { > text-shadow: 10px 10px 1px #000; > text-overflow: ellipsis; overflow: hidden; > display: block; > width: 100px; /* too small for the whole text, so the ellipsis shows */ > color: rgba(255,0,0,0.2); > } > > You'll see that the ellipsis in the drop shadow is almost transparent just like the actual (red) text, while the rest of the text in the drop shadow is 100% opaque. > > Firefox is doing fine here.
Please add an html file which shows the issue clearly.
Radar WebKit Bug Importer
Comment 2
2013-09-13 10:51:30 PDT
<
rdar://problem/14986735
>
Jon Lee
Comment 3
2013-09-13 11:15:25 PDT
Created
attachment 211566
[details]
Test case
gur.trio
Comment 4
2013-11-14 19:25:11 PST
(In reply to
comment #3
)
> Created an attachment (id=211566) [details] > Test case
For the attached test case same behaviour is observed on firefox, chrome and safari. Can you please confirm so that we can close this bug.
Jon Lee
Comment 5
2014-03-18 08:27:48 PDT
This is not the case. In Firefox I see that the ellipsis is rendered solid black. (The test case for me did not use the custom font, so you see the whole sentence. You need to edit the test case to be longer to see the ellipsis.)
Karl Dubost
Comment 6
2022-06-02 22:03:17 PDT
Created
attachment 459993
[details]
rendering in Safari, firefox, chrome only Safari doesn't show the ellipsis in solid black.
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