Fix enclosingLayoutRect calls in InlineFlowBox.h
https://bugs.webkit.org/show_bug.cgi?id=101497

Reviewed by Levi Weintraub.

Source/WebCore: 

InlineFlowBox.h used to include LayoutTypesInlineMethods.h which
overrid enclosingLayoutRect to call closingIntRect. When we
removed the LayoutTypes abstraction we switched these to
enclosingIntRect to preserve the behavior.
This patch changes these back to enclosingLayoutRect which is
the desired behavior.

Covered by existing tests.

* rendering/InlineFlowBox.h:
(WebCore::InlineFlowBox::layoutOverflowRect):
(WebCore::InlineFlowBox::visualOverflowRect):

LayoutTests: 

Update tests expectations to reflect change form
enclosingIntRect to enclosingLayoutRect.

* platform/chromium-linux/fast/css/text-overflow-ellipsis-text-align-center-expected.txt:
* platform/chromium-linux/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt:
* platform/chromium-win/fast/multicol/span/anonymous-split-block-crash-expected.txt:
* platform/chromium-win/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.txt:
* platform/chromium-win/svg/text/text-overflow-ellipsis-svgfont-expected.txt:
* platform/mac/fast/css/text-overflow-ellipsis-bidi-expected.txt:
* platform/mac/fast/css/text-overflow-ellipsis-expected.txt:
* platform/mac/fast/css/text-overflow-ellipsis-strict-expected.txt:
* platform/mac/fast/css/text-overflow-input-expected.txt:
* platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt:
* platform/mac/fast/forms/basic-textareas-expected.txt:
* platform/mac/fast/forms/basic-textareas-quirks-expected.txt:
* platform/mac/fast/forms/input-disabled-color-expected.txt:
* platform/mac/fast/forms/input-readonly-autoscroll-expected.txt:
* platform/mac/fast/forms/input-readonly-dimmed-expected.txt:
* platform/mac/fast/forms/input-text-scroll-left-on-blur-expected.txt:
* platform/mac/fast/forms/search-rtl-expected.txt:
* platform/mac/fast/multicol/span/anonymous-split-block-crash-expected.txt:
* platform/mac/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.txt:
* platform/mac/fast/multicol/span/span-as-immediate-child-property-removal-expected.txt:
* platform/mac/fast/replaced/width100percent-textarea-expected.txt:
* platform/mac/svg/text/text-overflow-ellipsis-svgfont-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r133429.
http://trac.webkit.org/changeset/133429
https://bugs.webkit.org/show_bug.cgi?id=101173

Speculative roll out, investigating perf regression.

Source/WebCore:

* dom/ContextFeatures.cpp:
* dom/ContextFeatures.h:
* dom/Position.cpp:
(WebCore::Position::Position):
(WebCore::Position::findParent):
* dom/TreeScope.cpp:
(WebCore::TreeScope::getSelection):
* html/HTMLTagNames.in:
* html/shadow/HTMLContentElement.cpp:
(WebCore::HTMLContentElement::contentTagName):
* page/DOMWindow.idl:

Source/WebKit/chromium:

* src/ContextFeaturesClientImpl.cpp:
(WebKit::ContextFeaturesClientImpl::askIfIsEnabled):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Gardening after r133898.

* platform/efl/TestExpectations:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
While absolute positioning is put before the first flexitem, flexitems will move to a new line.
https://bugs.webkit.org/show_bug.cgi?id=101294

Patch by Wei Fanzhe <whyer1@gmail.com> on 2012-11-08
Reviewed by Ojan Vafai.

Source/WebCore:

This issue has to do with RenderFlexibleBox::computeNextFlexLine. When determing line breaks, the algorithm sees if 1) the total width exceeds lineBreakLength and 2) whether orderedChildren is non-empty.  But then, if the total width exceeds lineBreakLength and there's only absolutely positioned elemments in orderedChildren then the conditions are met and the algorithm mistakenly breaks the line. The solution is to see if orderedChildren collects at least a flex item. If it does, break the line.

* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::computeNextFlexLine):

LayoutTests:

Add a case to test flexible layout while absolute positioning is put before the first flexitem.

* css3/flexbox/flex-algorithm-expected.txt:
* css3/flexbox/flex-algorithm.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [Canvas] UI iterations: image on the top, auto replay
https://bugs.webkit.org/show_bug.cgi?id=101584

Patch by Andrey Adaikin <aandrey@chromium.org> on 2012-11-08
Reviewed by Pavel Feldman.

* inspector/front-end/CanvasProfileView.js:
(WebInspector.CanvasProfileView):
(WebInspector.CanvasProfileView.prototype._showTraceLog):
(WebInspector.CanvasProfileView.prototype._onTraceLogItemClick):
(WebInspector.CanvasProfileView.prototype._replayTraceLog.didReplayTraceLog):
(WebInspector.CanvasProfileView.prototype._replayTraceLog):
* inspector/front-end/canvasProfiler.css:
(.canvas-trace-log):
(#canvas-replay-image-container):
(#canvas-replay-image):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed chromium mac rebaseline for r101497.

* platform/chromium-mac-lion/fast/css/text-overflow-ellipsis-bidi-expected.txt: Added.
* platform/chromium-mac-lion/fast/css/text-overflow-ellipsis-expected.txt: Added.
* platform/chromium-mac-lion/fast/css/text-overflow-ellipsis-strict-expected.txt: Added.
* platform/chromium-mac-lion/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt: Added.
* platform/chromium-mac-lion/fast/forms/input-readonly-autoscroll-expected.png: Added.
* platform/chromium-mac-lion/fast/forms/input-readonly-autoscroll-expected.txt: Added.
* platform/chromium-mac-lion/fast/forms/search-rtl-expected.txt: Added.
* platform/chromium-mac-lion/fast/multicol/span: Added.
* platform/chromium-mac-lion/fast/multicol/span/anonymous-split-block-crash-expected.txt: Added.
* platform/chromium-mac-lion/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.txt: Added.
* platform/chromium-mac-lion/fast/replaced/width100percent-textarea-expected.txt: Added.
* platform/chromium-mac-lion/svg/text/text-overflow-ellipsis-svgfont-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/css/text-overflow-ellipsis-bidi-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/css/text-overflow-ellipsis-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/css/text-overflow-ellipsis-strict-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt:
* platform/chromium-mac-snowleopard/fast/forms/input-readonly-autoscroll-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-readonly-autoscroll-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/forms/search-rtl-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/multicol/span/anonymous-split-block-crash-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/replaced/width100percent-textarea-expected.png:
* platform/chromium-mac-snowleopard/fast/replaced/width100percent-textarea-expected.txt: Added.
* platform/chromium-mac-snowleopard/svg/text/text-overflow-ellipsis-svgfont-expected.txt: Added.
* platform/chromium-mac/fast/css/text-overflow-ellipsis-bidi-expected.png:
* platform/chromium-mac/fast/css/text-overflow-ellipsis-bidi-expected.txt: Added.
* platform/chromium-mac/fast/css/text-overflow-ellipsis-expected.png:
* platform/chromium-mac/fast/css/text-overflow-ellipsis-expected.txt: Added.
* platform/chromium-mac/fast/css/text-overflow-ellipsis-strict-expected.png:
* platform/chromium-mac/fast/css/text-overflow-ellipsis-strict-expected.txt: Added.
* platform/chromium-mac/fast/css/text-overflow-input-expected.png:
* platform/chromium-mac/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.png:
* platform/chromium-mac/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt:
* platform/chromium-mac/fast/forms/basic-textareas-expected.png:
* platform/chromium-mac/fast/forms/basic-textareas-expected.txt:
* platform/chromium-mac/fast/forms/basic-textareas-quirks-expected.png:
* platform/chromium-mac/fast/forms/basic-textareas-quirks-expected.txt:
* platform/chromium-mac/fast/forms/input-disabled-color-expected.png:
* platform/chromium-mac/fast/forms/input-disabled-color-expected.txt:
* platform/chromium-mac/fast/forms/input-readonly-autoscroll-expected.png:
* platform/chromium-mac/fast/forms/input-readonly-autoscroll-expected.txt: Added.
* platform/chromium-mac/fast/forms/input-readonly-dimmed-expected.png:
* platform/chromium-mac/fast/forms/input-text-scroll-left-on-blur-expected.png:
* platform/chromium-mac/fast/forms/search-rtl-expected.png:
* platform/chromium-mac/fast/forms/search-rtl-expected.txt: Added.
* platform/chromium-mac/fast/multicol/span/anonymous-split-block-crash-expected.png:
* platform/chromium-mac/fast/multicol/span/anonymous-split-block-crash-expected.txt:
* platform/chromium-mac/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.png:
* platform/chromium-mac/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.txt:
* platform/chromium-mac/fast/replaced/width100percent-textarea-expected.png:
* platform/chromium-mac/fast/replaced/width100percent-textarea-expected.txt: Added.
* platform/chromium-mac/svg/text/text-overflow-ellipsis-svgfont-expected.txt: Added.
* platform/chromium/TestExpectations:
* platform/chromium/fast/css/text-overflow-input-expected.txt: Removed.
* platform/chromium/fast/forms/input-readonly-dimmed-expected.txt: Removed.
* platform/chromium/fast/forms/input-text-scroll-left-on-blur-expected.txt: Removed.
* platform/gtk/fast/forms/basic-textareas-quirks-expected.txt: Removed.
* platform/mac/fast/css/text-overflow-input-expected.txt: Removed.
* platform/mac/fast/forms/input-readonly-dimmed-expected.txt: Removed.
* platform/mac/fast/forms/input-text-scroll-left-on-blur-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r133892.
http://trac.webkit.org/changeset/133892
https://bugs.webkit.org/show_bug.cgi?id=101617

Compile failures on mac, android, linux (Requested by
jsbell|gardener on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-11-08

* bindings/v8/DOMDataStore.cpp:
(WebCore::DOMDataStore::current):
* bindings/v8/DOMWrapperWorld.h:
(WebCore::DOMWrapperWorld::domDataStore):
(WebCore::DOMWrapperWorld::DOMWrapperWorld):
* bindings/v8/V8DOMWrapper.h:
(WebCore::V8DOMWrapper::getCachedWrapper):

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