WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
118394
background-size corrupted
https://bugs.webkit.org/show_bug.cgi?id=118394
Summary
background-size corrupted
bugzilla77
Reported
2013-07-04 09:33:26 PDT
http://bugs.idsl.pl/chrome/contain-cover.html
Firefox 22: gray rectangle IE 10: grey rectangle Chrome 27: rectangle with red lines
Attachments
Test case
(616 bytes, text/html)
2016-09-06 10:32 PDT
,
Daniel Bates
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Daniel Bates
Comment 1
2016-09-06 10:32:39 PDT
Created
attachment 288033
[details]
Test case <
http://bugs.idsl.pl/chrome/contain-cover.html
> no longer exists. Using archive.org, attached <
http://bugs.idsl.pl/chrome/contain-cover.html
> as it appeared on 08/05/2014:<
http://web.archive.org/web/20140805201851id_/http://bugs.idsl.pl/chrome/contain-cover.html
>.
Daniel Bates
Comment 2
2016-09-06 11:52:41 PDT
Unfortunately, archive.org did not archive the image referenced by the test case, contain-cover.png, and bugzilla77 neither uploaded it to this bug nor providing details about the image. Using the test case and a 16:9 solid color image for contain-cover.png I see a solid color rectangle in Safari Version 9.1.3 (11601.7.8) (as expected). With a 1:1 solid color image, I see red lines for the "background-size: contain" case as expected. Both of these results match the results seen in Firefox for Mac 48.0.1 and Chrome for Mac 53.0.2785.89 beta (64-bit). Additional remarks: I assume that contain-cover.png was a grey rectangle with a 16:9 aspect ratio such that the expected result of the test case is two solid grey rectangles (stacked vertically). But Chrome 27 and Safari at the time the bug was filed (07/04/2013) showed at least one rectangle with red lines surrounding it, maybe there was a bug with "background-size: contain"?
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