<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Using dpi unit in sizes attribute raises SIGSEGV"
href="https://bugs.webkit.org/show_bug.cgi?id=159412#c13">Comment # 13</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Using dpi unit in sizes attribute raises SIGSEGV"
href="https://bugs.webkit.org/show_bug.cgi?id=159412">bug 159412</a>
from <span class="vcard"><a class="email" href="mailto:yoav@yoav.ws" title="Yoav Weiss <yoav@yoav.ws>"> <span class="fn">Yoav Weiss</span></a>
</span></b>
<pre><a href="https://html.spec.whatwg.org/multipage/embedded-content.html#parse-a-sizes-attribute">https://html.spec.whatwg.org/multipage/embedded-content.html#parse-a-sizes-attribute</a> has the full algorithm governing the parsing of the sizes attribute.
In this case, we encounter an invalid source-size-value and should skip to the next iteration of the algorithm (so skip to the next source-size/source-size-value).
As you say, returning an Optional from CSSParser::sourceSize for this case and avoiding to add that to the SourceSize vector in source_size_list: would be a better way to handle that scenario.</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>