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+
Myles C. Maxfield
Comment 1 2014-07-28 15:04:10 PDT
Myles C. Maxfield
Comment 2 2014-07-28 15:04:36 PDT
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
mitz
Comment 7 2014-09-07 12:47:24 PDT
Note You need to log in before you can comment on or make changes to this bug.