<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 - Brightness filter on image with transition repaints the full image"
href="https://bugs.webkit.org/show_bug.cgi?id=146784">146784</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Brightness filter on image with transition repaints the full image
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>528+ (Nightly build)
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</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>amaury.bauzac@crossknowledge.com
</td>
</tr></table>
<p>
<div>
<pre>Version : 537.36
Reproduced on Chrome 43 and Safari
Hello,
I encounter a CSS problem using the brightness filter and transition filter on an image. Here is a simple example :
<style>
div {
border: 4px solid #fff;
border-radius: 50%;
overflow: hidden;
}
img {
-webkit-filter: brightness(0.8);
-webkit-transition: -webkit-filter 1s ease-out;
width: 100%;
}
img:hover {
-webkit-filter: brightness(0.6);
}
</style>
<div>
<img src="<a href="http://i0.kym-cdn.com/photos/images/facebook/000/581/722/7bc.jpg">http://i0.kym-cdn.com/photos/images/facebook/000/581/722/7bc.jpg</a>">
</div>
Or see directly : <a href="http://codepen.io/bqlou/pen/rVvLXK">http://codepen.io/bqlou/pen/rVvLXK</a>
Expected result : when hovering the image, brightness applies to the image
Actual result : when hovering the image, brightness applies to the image without repainting the whole picture during the transition</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>