Unreviewed. Trying to fix tests added in r159545.

* js/regress/global-var-const-infer-fire-from-opt.html:
* js/regress/global-var-const-infer.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
https://bugs.webkit.org/show_bug.cgi?id=124637

Unreviewed. Adding HTMLTemplateElement to global constructor
test after r159550.

* js/dom/global-constructors-attributes-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r127163): Respect clearance set on ancestors when placing floats
https://bugs.webkit.org/show_bug.cgi?id=119979

Reviewed by David Hyatt.

Source/WebCore:

Refactor the way self-collapsing blocks with clearance are positioned so that they
get the correct logical-top position during margin-collapsing.

Test: fast/block/margin-collapse/self-collapsing-block-with-float-descendants.html

* rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::clearFloats):
(WebCore::RenderBlockFlow::marginOffsetForSelfCollapsingBlock):
(WebCore::RenderBlockFlow::collapseMargins):
(WebCore::RenderBlockFlow::clearFloatsIfNeeded):
(WebCore::RenderBlockFlow::handleAfterSideOfBlock):
* rendering/RenderBlockFlow.h:

LayoutTests:

* fast/block/float/clear-negative-margin-top-expected.html:
* fast/block/float/clear-negative-margin-top.html:
* fast/block/margin-collapse/self-collapsing-block-with-float-descendants-expected.html: Added.
* fast/block/margin-collapse/self-collapsing-block-with-float-descendants.html: Added.
* platform/mac/fast/block/float/024-expected.txt:
* platform/mac/fast/block/margin-collapse/025-expected.txt:
* platform/mac/fast/block/margin-collapse/block-inside-inline/025-expected.txt:
* platform/mac/fast/block/margin-collapse/empty-clear-blocks-expected.txt:


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