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
62866
Linear gradient issues with background-size
https://bugs.webkit.org/show_bug.cgi?id=62866
Summary
Linear gradient issues with background-size
Simon Fraser (smfr)
Reported
2011-06-17 08:20:53 PDT
Alan Gresley says "WebKit nightly
r89006
does something wrong with example 2, 3 and 4."
Attachments
test case
(1.71 KB, text/html)
2011-06-17 21:45 PDT
,
Philippe Wittenbergh
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Philippe Wittenbergh
Comment 1
2011-06-17 19:31:53 PDT
This seems related to the background-size property. I played around with example 4 of the linked demo, which uses 'background-size: 70px 70px' for the bottom layer. I needed to increase the background-size to 108px 108px for the colors to display correctly on my machine (10.6.7,
r89131
).
Simon Fraser (smfr)
Comment 2
2011-06-17 20:56:24 PDT
Could you attach a simple testcase?
Philippe Wittenbergh
Comment 3
2011-06-17 21:45:47 PDT
Created
attachment 97687
[details]
test case (In reply to
comment #2
)
> Could you attach a simple testcase?
Sure, here you go: The left box uses the bottom layer of example 4 in the demo. The right box uses the smallest possible background-size that displays the colors correctly on my machine I replaced 'transparent' with 'red' as a color value, just to make sure I saw the correct thing (and that the black seen in demo wasn't something related to the 'transparent' color in particular). Expected result: both boxes show red/silver strip Actual result: the left box shows black/silver strip
Simon Fraser (smfr)
Comment 4
2011-06-23 22:28:21 PDT
I think this is an underlying Core Graphics bug: <
rdar://problem/8814089
>
Ahmad Saleem
Comment 5
2022-07-24 04:55:28 PDT
I am unable to reproduce this bug in Safari 15.6 on macOS 12.5 and there is no 'black / silver strip' in left box and it matches with all other browsers. I think it was fixed along the way and this can be marked as "RESOLVED CONFIGURATION CHANGED". Thanks!
Alexey Proskuryakov
Comment 6
2022-07-24 12:07:53 PDT
Yes, the CoreGraphics issue got fixed back in 2011.
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