WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
135357
Text-shadow with (0, 0) offset and radius = 0 is ugly
https://bugs.webkit.org/show_bug.cgi?id=135357
Summary
Text-shadow with (0, 0) offset and radius = 0 is ugly
Myles C. Maxfield
Reported
2014-07-28 15:00:47 PDT
Text-shadow with (0, 0) offset and radius = 0 is ugly
Attachments
Patch
(4.42 KB, patch)
2014-07-28 15:04 PDT
,
Myles C. Maxfield
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2014-07-28 15:04:10 PDT
Created
attachment 235620
[details]
Patch
Myles C. Maxfield
Comment 2
2014-07-28 15:04:36 PDT
<
rdar://problem/15000806
>
Darin Adler
Comment 3
2014-08-05 16:58:04 PDT
Comment on
attachment 235620
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=235620&action=review
> Source/WebCore/rendering/TextPainter.cpp:68 > + const auto& shadow = *shadowPtr; > + return shadow.location() == IntPoint() && !shadow.radius();
Seems a little strange to have this local variable just so we can use "." in two places instead of "->".
> Source/WebCore/rendering/TextPainter.cpp:84 > + if (shadow && !shadowIsEmpty)
No need to null check shadow here since isEmptyShadow already null checks it.
Myles C. Maxfield
Comment 4
2014-08-06 10:36:39 PDT
http://trac.webkit.org/changeset/172153
Mark Lam
Comment 5
2014-08-06 10:46:56 PDT
This caused a build failure:
http://build.webkit.org/builders/Apple%20Mavericks%20Debug%20%28Build%29/builds/9771/steps/compile-webkit/logs/stdio
Mark Lam
Comment 6
2014-08-07 08:38:42 PDT
(In reply to
comment #5
)
> This caused a build failure: >
http://build.webkit.org/builders/Apple%20Mavericks%20Debug%20%28Build%29/builds/9771/steps/compile-webkit/logs/stdio
Fixed in
http://trac.webkit.org/changeset/172156
.
mitz
Comment 7
2014-09-07 12:47:24 PDT
(In reply to
comment #4
)
>
http://trac.webkit.org/changeset/172153
This caused
bug 136612
.
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