Bug 97236 - [CSS Shapes] Fixup pixel snapping code in shape inside layout code
Summary: [CSS Shapes] Fixup pixel snapping code in shape inside layout code
Status: RESOLVED LATER
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 89256
  Show dependency treegraph
 
Reported: 2012-09-20 10:51 PDT by Bear Travis
Modified: 2014-03-26 16:27 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bear Travis 2012-09-20 10:51:41 PDT
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);