Region based multicol: unresolvable percent height results in 1px tall multicol
https://bugs.webkit.org/show_bug.cgi?id=122826

Patch by Morten Stenshorne <mstensho@opera.com> on 2014-01-23
Reviewed by David Hyatt.

Source/WebCore:

If a box has a percentage height, but the computed height of its
containing block is auto, the computed height of the box also becomes
auto. computeContentLogicalHeight() returns -1 if the height isn't
resolvable, and we need to make sure that such a value doesn't
constrain the height of the multicol container.

Tests: fast/multicol/newmulticol/unresolvable-percent-height-2.html
       fast/multicol/newmulticol/unresolvable-percent-height.html
       fast/multicol/newmulticol/unresolvable-percent-max-height-2.html
       fast/multicol/newmulticol/unresolvable-percent-max-height.html

* rendering/RenderMultiColumnSet.cpp:
(WebCore::RenderMultiColumnSet::RenderMultiColumnSet):
(WebCore::RenderMultiColumnSet::calculateBalancedHeight):
(WebCore::RenderMultiColumnSet::recalculateBalancedHeight):
(WebCore::RenderMultiColumnSet::prepareForLayout):

LayoutTests:

* fast/multicol/newmulticol/unresolvable-percent-height-2-expected.html: Added.
* fast/multicol/newmulticol/unresolvable-percent-height-2.html: Added.
* fast/multicol/newmulticol/unresolvable-percent-height-expected.html: Added.
* fast/multicol/newmulticol/unresolvable-percent-height.html: Added.
* fast/multicol/newmulticol/unresolvable-percent-max-height-2-expected.html: Added.
* fast/multicol/newmulticol/unresolvable-percent-max-height-2.html: Added.
* fast/multicol/newmulticol/unresolvable-percent-max-height-expected.html: Added.
* fast/multicol/newmulticol/unresolvable-percent-max-height.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162694 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed EFL gardening. Remove failure expectations which are passing now.

* platform/efl/TestExpectations: fast/css3-text/css3-text-decoration/

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162695 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Move HistoryItem to std::unique_ptr
https://bugs.webkit.org/show_bug.cgi?id=127275

Reviewed by Darin Adler.

Source/WebCore: 

Replace the uses of OwnPtr and PassOwnPtr in the HistoryItem class with std::unique_ptr.

* history/HistoryItem.cpp:
(WebCore::HistoryItem::HistoryItem):
(WebCore::HistoryItem::reset):
(WebCore::HistoryItem::addRedirectURL):
(WebCore::HistoryItem::setRedirectURLs):
* history/HistoryItem.h:
* history/mac/HistoryItemMac.mm:
(WebCore::HistoryItem::setTransientProperty):
WebCore.exp.in: Update the symbol.

Source/WebKit/mac: 

* History/WebHistoryItem.mm: The Vector object that's passed to HistoryItem::setRedirectURLs
should now be handled by std::unique_ptr and passed on through move semantics.
(-[WebHistoryItem initFromDictionaryRepresentation:]):

Source/WebKit/win: 

* WebHistoryItem.cpp: The Vector object that's passed to HistoryItem::setRedirectURLs
should now be handled by std::unique_ptr and passed on through move semantics.
(WebHistoryItem::initFromDictionaryRepresentation):


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