[Webkit-unassigned] [Bug 159412] Using dpi unit in sizes attribute raises SIGSEGV

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 11 08:27:52 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=159412

--- Comment #13 from Yoav Weiss <yoav at yoav.ws> ---
https://html.spec.whatwg.org/multipage/embedded-content.html#parse-a-sizes-attribute 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.

-- 
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/20160711/126a8308/attachment.html>


More information about the webkit-unassigned mailing list