Summary: | Text on compositing layer with negative letter-spacing is truncated. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | zalan <zalan> | ||||||
Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, esprehn+autocc, glenn, koivisto, kondapallykalyan, simon.fraser, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=263959 | ||||||||
Attachments: |
|
Description
zalan
2016-04-13 12:42:20 PDT
Created attachment 276345 [details]
Patch
r=me Comment on attachment 276345 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=276345&action=review > Source/WebCore/rendering/SimpleLineLayoutFunctions.cpp:68 > +static FloatRect computeOverflow(const RenderBlockFlow& flow, const FloatRect& rect) What is the rect that's passed in? It could use a better name. > Source/WebCore/rendering/SimpleLineLayoutFunctions.cpp:78 > + if (letterSpacing >= 0) > + return overflowRect; > + > + overflowRect.expand(-letterSpacing, 0); Wouldn't this be clearer with a std::max(letterSpacing, 0)? Created attachment 276351 [details]
Patch
Comment on attachment 276351 [details] Patch Clearing flags on attachment: 276351 Committed r199516: <http://trac.webkit.org/changeset/199516> All reviewed patches have been landed. Closing bug. |