WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
62492
box-shadow rendered differently from Firefox with negative spread
https://bugs.webkit.org/show_bug.cgi?id=62492
Summary
box-shadow rendered differently from Firefox with negative spread
Alex Yaroshevich
Reported
2011-06-10 16:45:39 PDT
Created
attachment 96824
[details]
Render example for FF5, Chrome and Opera The man said opera and chrome are not right.
http://dbaron.org/log/20110225-blur-radius
https://bugzilla.mozilla.org/show_bug.cgi?id=655580
Because he does update box-shadow property to the newest spec. But chrome and opera doesn't. Where is the truth? Looks like he's right after reading spec.
Attachments
Render example for FF5, Chrome and Opera
(73 bytes, text/plain)
2011-06-10 16:45 PDT
,
Alex Yaroshevich
no flags
Details
box-shadow render diff between webkit and gecko
(39.61 KB, image/jpeg)
2011-06-11 03:38 PDT
,
Alex Yaroshevich
no flags
Details
testcase
(1.34 KB, text/html)
2011-06-11 04:10 PDT
,
Alex Yaroshevich
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2011-06-10 20:21:19 PDT
The attachment is a link to an image. Could you please attach (not link to) your test case?
Alex Yaroshevich
Comment 2
2011-06-11 03:38:18 PDT
Created
attachment 96853
[details]
box-shadow render diff between webkit and gecko Yep. Sorry. I thought tracker will download it.
Alex Yaroshevich
Comment 3
2011-06-11 04:10:04 PDT
Created
attachment 96854
[details]
testcase Test-case for Webkit. I don't know how it can be tested).
Alex Yaroshevich
Comment 4
2011-06-11 04:15:53 PDT
Oops. It looks equals but it's because hack. Diff in spread-radius: -8px for webkit and -12px for gecko. But for positive numbers: 8px for webkit and 6px for gecko (or 12px for webkit and 8px for gecko). It's very strange.
Alex Yaroshevich
Comment 5
2011-06-11 09:44:35 PDT
That's not only if spread is negative. I'm sure. I must recalculate spread-radius for pretty now by algo: If spread > 0 then firefox-spread = spread*3/2; Elseif spread < 0 then firefox-spread = spread*2/3; But if FF is doing render as told in spec I could say chrome-and-opera-radius ;-) and could do inversion of calculations. Box-shadow render with spread-radius == 0 is fine (almost equal). And don't if spread is not eq to zero. Afaik.
Simon Fraser (smfr)
Comment 6
2011-06-11 15:27:35 PDT
I don't get what you're saying. Please just make a simple statement of what you think the bug is.
Brent Fulgham
Comment 7
2022-07-12 14:46:18 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
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