<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 - WebCore::CalculationValueMap::ref asserts when using CSS Calc"
href="https://bugs.webkit.org/show_bug.cgi?id=157982">157982</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>WebCore::CalculationValueMap::ref asserts when using CSS Calc
</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>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>WebKit EFL
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>hyongyoub.kim@navercorp.com
</td>
</tr>
<tr>
<th>CC</th>
<td>demarchi@webkit.org
</td>
</tr></table>
<p>
<div>
<pre>Here is a test page.
<html>
<style>
@-webkit-keyframes move {
0% {
-webkit-transform: translate3d(0px, 0px, 0);
}
100% {
-webkit-transform: translate3d(0px, calc(100% + 64px), 0);
}
}
#foo img {
width: 100px;
height: 100px;
background: #222;
-webkit-animation-name: move;
-webkit-animation-duration: 10s;
-webkit-animation-iteration-count: infinite;
}
</style>
<div id="foo">
<img src="<a href="http://www.html5rocks.com/static/images/identity/HTML5_Badge_256.png">http://www.html5rocks.com/static/images/identity/HTML5_Badge_256.png</a>">
</div>
</html>
Note 'calc(100% + 64px)' in transform. That expression becomes CalculationValue. transformsForValue creates TranslateTransformOperation with the 'y' value of Calculated Length that indirectly points to the CalculationValue. This Length gets shipped over to UIProcess as POD (SimpleArgumentCoder<Length>). When UIProcess decodes this, it crashes because its handle to CalculationValue is invalid. It looks like we need to send CalculationValue to UIProcess along with Length?</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>