Summary: | Floating-point math causes shrink-wrapped content to line wrap sometimes | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||||||
Component: | Text | Assignee: | zalan <zalan> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | changseok, eddie.chen, esprehn+autocc, ews-watchlist, glenn, Hironori.Fujii, koivisto, kondapallykalyan, mmaxfield, pdr, webkit-bug-importer | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Myles C. Maxfield
2020-09-30 11:43:39 PDT
Alan: Would LFC fix this? (In reply to Myles C. Maxfield from comment #1) > Alan: Would LFC fix this? In LFC the preferred width computation and the actual layout share the same codepath with different constrains, so I'd say yes. Created attachment 410411 [details]
Test reduction
Created attachment 410412 [details]
LFC screenshot
It is actually fixed in LFC (see screenshot).
Created attachment 410414 [details]
Patch
will try to submit a test case. it needs a custom font with special geometries (to trigger the floating point issue) Comment on attachment 410414 [details]
Patch
No test?
Committed r267923: <https://trac.webkit.org/changeset/267923> All reviewed patches have been landed. Closing bug and clearing flags on attachment 410414 [details]. |