Summary: | WebCore::LegacyRootInlineBox::lineSnapAdjustment should bail out on grid line height < 1 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | zalan <zalan> | ||||||
Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bfulgham, changseok, esprehn+autocc, ews-watchlist, glenn, koivisto, kondapallykalyan, mmaxfield, pdr, simon.fraser, zalan | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
zalan
2022-03-28 13:00:59 PDT
Created attachment 455947 [details]
Patch
Comment on attachment 455947 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=455947&action=review > Source/WebCore/rendering/LegacyRootInlineBox.cpp:363 > - if (!gridLineHeight) > + if (gridLineHeight < 1) could this be if (!roundToInt(gridLineHeight)) ? (In reply to Antti Koivisto from comment #2) > Comment on attachment 455947 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=455947&action=review > > > Source/WebCore/rendering/LegacyRootInlineBox.cpp:363 > > - if (!gridLineHeight) > > + if (gridLineHeight < 1) > > could this be > > if (!roundToInt(gridLineHeight)) > > ? yes! Created attachment 456043 [details]
Patch
Committed r292054 (248991@main): <https://commits.webkit.org/248991@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 456043 [details]. |