Bug 123931 - RenderBlockFlow::nextFloatLogicalBottomBelow should not use ShapeOutsideFloatOffsetMode
Summary: RenderBlockFlow::nextFloatLogicalBottomBelow should not use ShapeOutsideFloat...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Bem Jones-Bey
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-06 15:01 PST by Bem Jones-Bey
Modified: 2013-11-09 23:02 PST (History)
5 users (show)

See Also:


Attachments
Patch (16.03 KB, patch)
2013-11-08 12:45 PST, Bem Jones-Bey
no flags Details | Formatted Diff | Diff
Updated Patch (16.03 KB, patch)
2013-11-08 13:28 PST, Bem Jones-Bey
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bem Jones-Bey 2013-11-06 15:01:06 PST
Once this is refactored, we can remove ShapeOutsideFloatOffsetMode.
Comment 1 Bem Jones-Bey 2013-11-08 12:45:43 PST
Created attachment 216426 [details]
Patch
Comment 2 Sam Weinig 2013-11-08 13:10:24 PST
Comment on attachment 216426 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=216426&action=review

> Source/WebCore/rendering/FloatingObjects.cpp:159
> +    FindNextFloatLogicalBottomAdapter(const RenderBlockFlow* renderer, LayoutUnit belowLogicalHeight)

You should take the RenderBlockFlow by reference.

> Source/WebCore/rendering/FloatingObjects.cpp:176
> +    const RenderBlockFlow* m_renderer;

This should be a reference.
Comment 3 Bem Jones-Bey 2013-11-08 13:28:08 PST
Created attachment 216431 [details]
Updated Patch
Comment 4 Bem Jones-Bey 2013-11-08 13:28:59 PST
(In reply to comment #2)
> (From update of attachment 216426 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=216426&action=review
> 
> > Source/WebCore/rendering/FloatingObjects.cpp:159
> > +    FindNextFloatLogicalBottomAdapter(const RenderBlockFlow* renderer, LayoutUnit belowLogicalHeight)
> 
> You should take the RenderBlockFlow by reference.
> 
> > Source/WebCore/rendering/FloatingObjects.cpp:176
> > +    const RenderBlockFlow* m_renderer;
> 
> This should be a reference.

Thanks, I've updated that.
Comment 5 WebKit Commit Bot 2013-11-08 13:59:35 PST
Comment on attachment 216431 [details]
Updated Patch

Clearing flags on attachment: 216431

Committed r158954: <http://trac.webkit.org/changeset/158954>
Comment 6 WebKit Commit Bot 2013-11-08 13:59:37 PST
All reviewed patches have been landed.  Closing bug.
Comment 7 Zan Dobersek 2013-11-09 23:02:48 PST
Roughly 80 tests started failing on the GTK port after this landed, due to that port enabling subpixel layout. All tests pass again if the saturated layout arithmetic in LayoutUnit is enabled. The patch in bug #119273 does just that.