Bug 47112 - Convert addOverhangingFloats and addIntrudingFloats to be block-flow-aware.
Summary: Convert addOverhangingFloats and addIntrudingFloats to be block-flow-aware.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Dave Hyatt
URL:
Keywords:
Depends on:
Blocks: 46123
  Show dependency treegraph
 
Reported: 2010-10-04 14:03 PDT by Dave Hyatt
Modified: 2010-10-04 23:24 PDT (History)
3 users (show)

See Also:


Attachments
Patch (14.91 KB, patch)
2010-10-04 14:49 PDT, Dave Hyatt
mitz: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Hyatt 2010-10-04 14:03:41 PDT
Convert addOverhangingFloats and addIntrudingFloats to be block-flow-aware.  Also clean up how floats are placed to use a bit instead of the magic -1 value on top().
Comment 1 Dave Hyatt 2010-10-04 14:49:09 PDT
Created attachment 69688 [details]
Patch
Comment 2 mitz 2010-10-04 15:08:19 PDT
Comment on attachment 69688 [details]
Patch

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

> WebCore/rendering/RenderBlock.h:393
>          int left() const { return m_frameRect.x(); }
>          int right() const { return m_frameRect.right(); }
>          int top() const { return m_frameRect.y(); }

Should these accessors ASSERT(m_isPlaced)?
Comment 3 Dave Hyatt 2010-10-04 23:14:22 PDT
Fixed in r69082.  The asserts caught some badness, so there's some additional code.
Comment 4 WebKit Review Bot 2010-10-04 23:24:54 PDT
http://trac.webkit.org/changeset/69082 might have broken Qt Linux Release minimal, Qt Linux ARMv5 Release, and Qt Linux ARMv7 Release