Suppressed more fast/forms/calendar-picker flakiness.

BUG=316372
TBR=antonm@chromium.org,yhirano@chromium.org,ojan@chromium.org

Review URL: https://codereview.chromium.org/67213004

git-svn-id: svn://svn.chromium.org/blink/trunk@161651 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Refactor logical left/right offset for line methods

Simplify the logical left/right offset for line methods and their
implementation. This removes the need for ShapeOutsideFloatOffsetMode
for these methods, and reduces the number of arguments in general. The
methods that determine the offset based on the float's margin box have
been moved to RenderBlockFlow, as their only caller lives there. This
refactoring of the arguments also extends to the offset implementation
in FloatingObjects, simplifying those methods as well.

ComputeFloatOffsetAdapter has been updated so that it no longer takes
the offset as an out parameter, making its interface easier to use and
understand. In addition, the entire responsibility for computing the offset
based on the shape's contour has been moved into this class, which
simplifies the use of this class. It also is in preparation for
implementing the behavior for stacked floats with shape-outside in the
CSS Shapes specification.

Review URL: https://codereview.chromium.org/64033004

git-svn-id: svn://svn.chromium.org/blink/trunk@161652 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix crashes when using repaintAfterLayout.

There are a couple of layout tests that crash the renderer when
--enable-repaint-after-layout is enabled. This CL attempts to fixup those two
issues.

The first is that if partialLayout().isStopping() is true then the tree still
has needsLayout set to true. This triggers the ASSERT in repaintTree() so, for
now, I'm skipping the call to repaint tree if this was a partial layout.

The second is that RenderInline::clippedOverflowRectForRepaint used to allow
the text calls when isRunIn was true, this seemed to be the case for the text
layout code. With the removal of isRunIn we fail the ASSERT since we have to
be able to call the method during layout. So, explicity allow repaintAfterLayout
to call into clippedOverflowRectForRepaint during layout.

BUG=310398

Review URL: https://codereview.chromium.org/62203004

git-svn-id: svn://svn.chromium.org/blink/trunk@161653 bbb929c8-8fbe-4397-9dbb-9b2b20218538