REGRESSION (r143643): Buttons containing floats render differently
https://bugs.webkit.org/show_bug.cgi?id=110933

Patch by Christian Biesinger <cbiesinger@chromium.org> on 2013-03-04
Reviewed by Ojan Vafai.

Source/WebCore:

Test: fast/forms/button-with-float.html

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::expandsToEncloseOverhangingFloats):
Also include new flexbox as a renderer that needs to enclose
overhanging floats. Flex boxes establish a block formatting context,
so they need to contain floats:
http://dev.w3.org/csswg/css3-flexbox/#flex-items

LayoutTests:

* css3/flexbox/float-inside-flexitem-expected.html: Added.
* css3/flexbox/float-inside-flexitem.html: Added.
* fast/forms/button-with-float-expected.html: Added.
* fast/forms/button-with-float.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed build fix after r144701.

* platform/EventTracer.cpp:
(WebCore::EventTracer::initialize):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144707 268f45cc-cd09-0410-ab3c-d52691b4dbfc