[Webkit-unassigned] [Bug 204276] Implement the 'ic' unit from CSS Values 4
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 9 13:39:11 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=204276
--- Comment #9 from Darin Adler <darin at apple.com> ---
Comment on attachment 437725
--> https://bugs.webkit.org/attachment.cgi?id=437725
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=437725&action=review
> Source/WebCore/css/CSSPrimitiveValue.cpp:620
> + if (std::optional<float> width = fontMetrics->ideogramWidth())
> + return (*width) * value;
I would write:
if (auto width = fontMetrics->ideogramWidth())
return *width * value;
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210909/148acdb9/attachment.htm>
More information about the webkit-unassigned
mailing list