Bug 97236
Summary: | [CSS Shapes] Fixup pixel snapping code in shape inside layout code | ||
---|---|---|---|
Product: | WebKit | Reporter: | Bear Travis <betravis> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED LATER | ||
Severity: | Normal | CC: | donggwan.kim, zoltan |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 89256 |
Bear Travis
Separated from
https://bugs.webkit.org/show_bug.cgi?id=95479#c4
The code below should be cleaned up:
Source/WebCore/rendering/RenderBlockLineLayout.cpp:809,810
logicalLeft = max<float>(roundToInt(wrapShapeInfo->segments()[0].logicalLeft), logicalLeft);
logicalRight = min<float>(floorToInt(wrapShapeInfo->segments()[0].logicalRight), logicalRight);
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |