<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Safari and Chrome for iOS fail to render jpg background images with background-size: cover;"
href="https://bugs.webkit.org/show_bug.cgi?id=155473">155473</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Safari and Chrome for iOS fail to render jpg background images with background-size: cover;
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Other
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>iOS 9.2
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Major
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>CSS
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>gannoncurran@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>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></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>