Move m_floatingObjects to RenderBlockFlow from RenderBlock

Floats are part of block flow, not every RenderBlock can contain
floats. This change makes it so that RenderBlock no longer can contain
floats, only RenderBlockFlow can.

This also moves a bunch of line layout stuff over to RenderBlockFlow,
but makes no effort to move all of line layout, as all of that is
destined to move in future refactorings.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160292 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unnecessary .get() in arguments of toClassName functions.
Also, apply DEFINE_NODE_TYPE_CASTS to HTMLHtmlElement and HTMLTitleElement.

BUG=309516
TEST=none; no behavior changes.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160293 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: [Custom(Setter), Replaceable]

Next (and final) part.

Custom setters on replaceable attributes are an obnoxious special case,
especially because:
* They result in a setter callback being generated, but not the setter.
This means we have to have two separate checks in the template:
one for the setter, one for the setter callback.

This occurs for 2 attributes in Window.idl:
[Custom, Replaceable] readonly attribute Event event;
[CustomSetter, Replaceable] readonly attribute Window opener;

BUG=239771
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160294 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add 'left: 0px' to transition tests that transition 'left'

In the existing transitions implementation, transitioning from auto (the
default if 'left' is unspecified) to some pixel amount will snap to 0px
then transition from there. This patch explicitly sets 'left: 0px' in
tests which transition the 'left' property so they do not depend on this
old behaviour (which the Web Animations implementation doesn't do). We
also set 'top: 0px' in one test where it's used.

BUG=303430

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160295 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move some members of HTMLPlugInImageElement to HTMLPlugInElement, part 2.

 - serviceType()
 - url()
 - m_loadedurl and loadedUrl()
 - loadedMimeType()
 - m_needsWidgetUpdate, needsWidgetUpdate(), and setNeedsWidgetUpdate()
 - updateWidget()

and remove HTMLPlugInImageElement::setDisplayState(), which just called
HTMLPlugInElement::setDisplayState().

This is a part of a task to merge HTMLPlugInImageELement into HTMLPlugInElement.
Only HTMLPlugInImageElement inherits from HTMLPlugInElement.

BUG=301217

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160296 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix LayoutTest animations/fill-mode-iteration-count-non-integer.html

This was testing forwards fill incorrectly. The Web Animations implementation
is correct, the legacy implementation is not.

R=dstockwell

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160297 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix LayoutTest animations/animation-direction-reverse-fill-mode.html

This was testing forwards fill incorrectly. The Web Animations implementation
is correct, the legacy implementation is not.

R=dstockwell@chromium.org, dstockwell

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160298 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: sync Python CG to r160217 (new TypeError message)

Syncs to:
Bindings: Improve exception error messages for mismatched parameter types.
https://codereview.chromium.org/34653003

BUG=239771
BUG=270033
NOTRY=true
TBR=mkwst@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160299 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add another macro to define type cast functions from Node with type checking function.

Existing DEFINE_NODE_TYPE_CASTS() supports only cases where we can check type
with a single Node member function call. It can't cover cases like:
 - A class supports multiple tag names
 - A type checking function is a member of Element, not Node.

New DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION() macro assumes isClassName(const
Node&) function is defined.

BUG=309516
TEST=none; No behavior changes.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160300 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove timeout expectation for LayoutTest virtual/web-animations-css/animations/dynamic-stylesheet-loading.html

This test was fixed by https://codereview.chromium.org/26491013

R=dstockwell

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160301 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add an invalid image that was crashing in Debug build

This is fixed (with unit test) in http://crrev.com/36363002

TBR=pkasting@chromium.org

BUG=310259

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160302 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused class VisiblePositionRange

This patch removes unused class VisiblePositionRange from AXObject.h

BUG=n/a
TEST=n/a; no behavior changes
R=tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160303 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: merge and simplify EventHandler non-callable value check

Followup to:
IDL compiler: move EventHandler null check out of generated bindings
https://codereview.chromium.org/32323012/

Cleanup, merges two if checks into one in several places.
Also adds check for isAttribute one place where we're assuming it.

BUG=239771

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

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