[Webkit-unassigned] [Bug 155473] New: Safari and Chrome for iOS fail to render jpg background images with background-size: cover;
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 14 16:29:27 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=155473
Bug ID: 155473
Summary: Safari and Chrome for iOS fail to render jpg
background images with background-size: cover;
Classification: Unclassified
Product: WebKit
Version: Other
Hardware: Other
OS: iOS 9.2
Status: NEW
Severity: Major
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: gannoncurran at gmail.com
Following FAILS to render any background image at all on both Safari (v. 601.1) and Chrome (v. 49.0.2623.73) in iOS, for both iPhone and iPad
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Test</title>
<style>
.container {
width: 100px;
height: 100px;
background-image: url('./images/test_bg_01.jpg');
background-size: cover;
}
</style>
</head>
<body>
<div class="container">
<p>things</p>
</div>
</body>
</html>
But this works (image file type changed to .png):
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Test</title>
<style>
.container {
width: 100px;
height: 100px;
background-image: url('./images/test_bg_01.png');
background-size: cover;
}
</style>
</head>
<body>
<div class="container">
<p>things</p>
</div>
</body>
</html>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160314/0a9d17bf/attachment.html>
More information about the webkit-unassigned
mailing list