Dragging to edge should always snap to min/max.
https://bugs.webkit.org/show_bug.cgi?id=113477

Reviewed by Kent Tamura.

Source/WebCore:

Dragging to the edge of a slider should always snap to the min/max.

Test: fast/forms/range/range-slow-drag-to-edge.html

* html/shadow/SliderThumbElement.cpp:
(WebCore::SliderThumbElement::setPositionFromPoint):

LayoutTests:

* fast/forms/range/range-slow-drag-to-edge-expected.txt: Added.
* fast/forms/range/range-slow-drag-to-edge.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed gardening. Test Expectations update.

* platform/chromium/TestExpectations:

compositing/rtl tests are failing also on Linux Debug.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed gardening. Test Expectations update.

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Timeline. Refresh is slow when user drags the overview window.
https://bugs.webkit.org/show_bug.cgi?id=113371

Reviewed by Pavel Feldman.

The root of problem is the 300ms delay in scheduleRefresh method.
It was introduced for the case when we add a huge number of records per second.
The scheduleRefresh was written such a way that refresh happened immediately
only for the scrolling operations. Actually we would like to see fast
refresh every time when it is forced by an user action.

In this patch additional flag newRecordWasAdded was added to the
_invalidateAndScheduleRefresh. I made it mandatory because the function
is also used as a callback for an event and it is easy to make a mistake and
interpret the event as the flag.

* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._onCategoryCheckboxClicked):
(WebInspector.TimelinePanel.prototype._durationFilterChanged):
(WebInspector.TimelinePanel.prototype._repopulateRecords):
(WebInspector.TimelinePanel.prototype._onTimelineEventRecorded):
(WebInspector.TimelinePanel.prototype._onRecordsCleared):
(WebInspector.TimelinePanel.prototype._invalidateAndScheduleRefresh):
(WebInspector.TimelinePanel.prototype._scheduleRefresh):
(WebInspector.TimelinePanel.prototype._revealRecord):
(WebInspector.TimelinePanel.prototype._refreshRecords):
(WebInspector.TimelinePanel.prototype.performFilter):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed build fix for the EFL and GTK ports.

* runtime/CodeCache.cpp:
(JSC::CodeCacheMap::pruneSlowCase): Pass a 0 casted to the int64_t type instead of 0LL
to the std::max call so the arguments' types match.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed gardening. Test Expectations update.

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CMAKE] Build fix after r147052. Add WebKit2/Shared/Plugins to include path
https://bugs.webkit.org/show_bug.cgi?id=113484

Unreviewed build fix.

Add "WebKit2/Shared/Plugins" to include path for TestWebKitAPI, WebKitTestRunner.

Patch by Jaehun Lim <ljaehun.lim@samsung.com> on 2013-03-28

* TestWebKitAPI/CMakeLists.txt:
* WebKitTestRunner/CMakeLists.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSSRegions] Consolidate use of RenderRegion::isValid
https://bugs.webkit.org/show_bug.cgi?id=113154

Reviewed by David Hyatt.

After https://bugs.webkit.org/show_bug.cgi?id=98752, the list of invalid regions is kept separately than the list of valid regions.
A valid region has always a valid flow thread attached. We can use isValid() throughout the RenderRegion code
instead of testing for both isValid() and m_flowThread.

No new tests since there is no change is functionality, just code refactoring.

* rendering/RenderNamedFlowThread.cpp:
(WebCore::RenderNamedFlowThread::addRegionToNamedFlowThread): Added a new function to keep the code
used in addRegionToThread and checkInvalidRegions.
(WebCore::RenderNamedFlowThread::addRegionToThread):
(WebCore::RenderNamedFlowThread::checkInvalidRegions):
* rendering/RenderNamedFlowThread.h:
* rendering/RenderRegion.cpp:
(WebCore::RenderRegion::overflowRectForFlowThreadPortion):
(WebCore::RenderRegion::isFirstRegion):
(WebCore::RenderRegion::isLastRegion):
(WebCore::RenderRegion::paintObject):
(WebCore::RenderRegion::nodeAtPoint):
(WebCore::RenderRegion::incrementAutoLogicalHeightCount):
(WebCore::RenderRegion::decrementAutoLogicalHeightCount):
(WebCore::RenderRegion::layoutBlock):
(WebCore::RenderRegion::repaintFlowThreadContentRectangle):
(WebCore::RenderRegion::attachRegion):
(WebCore::RenderRegion::renderBoxRegionInfo):
(WebCore::RenderRegion::setRenderBoxRegionInfo):
(WebCore::RenderRegion::logicalTopOfFlowThreadContentRect):
(WebCore::RenderRegion::logicalBottomOfFlowThreadContentRect):
(WebCore::RenderRegion::computePreferredLogicalWidths):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Gardening. Organize expected results, because the generic expected file should be the one that uses JSC.
https://bugs.webkit.org/show_bug.cgi?id=113291.

Reviewed by Csaba Osztrogonác.

* inspector/console/console-eval-syntax-error-expected.txt:
* inspector/debugger/debugger-pause-in-eval-script-expected.txt:
* inspector/extensions/extensions-eval-expected.txt:
* platform/chromium/inspector/debugger/debugger-pause-in-eval-script-expected.txt: Copied from LayoutTests/inspector/debugger/debugger-pause-in-eval-script-expected.txt.
* platform/chromium/inspector/extensions/extensions-eval-expected.txt: Copied from LayoutTests/inspector/extensions/extensions-eval-expected.txt.
* platform/mac/inspector/console/console-eval-syntax-error-expected.txt: Removed.
* platform/mac/inspector/debugger/debugger-pause-in-eval-script-expected.txt: Removed.
* platform/mac/inspector/extensions/extensions-eval-expected.txt: Removed.
* platform/qt/inspector/console/console-eval-syntax-error-expected.txt: Removed.
* platform/qt/inspector/debugger/debugger-pause-in-eval-script-expected.txt: Removed.
* platform/qt/inspector/extensions/extensions-eval-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Regions] Convert layout tests region-style-block-background-color[2] to ref-tests
https://bugs.webkit.org/show_bug.cgi?id=86339

Patch by Mihai Tica <mitica@adobe.com> on 2013-03-28
Reviewed by Tony Chang.

This patch converts the pixel test baseline into ref-tests for the following tests:
fast/regions/region-style-block-background-color.html
fast/regions/region-style-block-background-color2.html

* fast/regions/region-style-block-background-color-expected.html: Added.
* fast/regions/region-style-block-background-color.html:
* fast/regions/region-style-block-background-color2-expected.html: Added.
* fast/regions/region-style-block-background-color2.html:
* platform/chromium-linux/fast/regions/region-style-block-background-color-expected.png: Removed.
* platform/chromium-linux/fast/regions/region-style-block-background-color2-expected.png: Removed.
* platform/chromium-mac-lion/fast/regions/region-style-block-background-color-expected.png: Removed.
* platform/chromium-mac-lion/fast/regions/region-style-block-background-color2-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/regions/region-style-block-background-color-expected.png: Removed.
* platform/chromium-mac-snowleopard/fast/regions/region-style-block-background-color2-expected.png: Removed.
* platform/chromium-mac/fast/regions/region-style-block-background-color-expected.png: Removed.
* platform/chromium-mac/fast/regions/region-style-block-background-color2-expected.png: Removed.
* platform/chromium-win/fast/regions/region-style-block-background-color-expected.png: Removed.
* platform/chromium-win/fast/regions/region-style-block-background-color-expected.txt: Removed.
* platform/chromium-win/fast/regions/region-style-block-background-color2-expected.png: Removed.
* platform/chromium-win/fast/regions/region-style-block-background-color2-expected.txt: Removed.
* platform/chromium/fast/regions/region-style-block-background-color-expected.txt: Removed.
* platform/chromium/fast/regions/region-style-block-background-color2-expected.txt: Removed.
* platform/efl/fast/regions/region-style-block-background-color-expected.png: Removed.
* platform/efl/fast/regions/region-style-block-background-color-expected.txt: Removed.
* platform/efl/fast/regions/region-style-block-background-color2-expected.png: Removed.
* platform/efl/fast/regions/region-style-block-background-color2-expected.txt: Removed.
* platform/gtk/fast/regions/region-style-block-background-color-expected.png: Removed.
* platform/gtk/fast/regions/region-style-block-background-color-expected.txt: Removed.
* platform/gtk/fast/regions/region-style-block-background-color2-expected.png: Removed.
* platform/gtk/fast/regions/region-style-block-background-color2-expected.txt: Removed.
* platform/mac/fast/regions/region-style-block-background-color-expected.png: Removed.
* platform/mac/fast/regions/region-style-block-background-color-expected.txt: Removed.
* platform/mac/fast/regions/region-style-block-background-color2-expected.png: Removed.
* platform/mac/fast/regions/region-style-block-background-color2-expected.txt: Removed.
* platform/qt/fast/regions/region-style-block-background-color-expected.png: Removed.
* platform/qt/fast/regions/region-style-block-background-color-expected.txt: Removed.
* platform/qt/fast/regions/region-style-block-background-color2-expected.png: Removed.
* platform/qt/fast/regions/region-style-block-background-color2-expected.txt: Removed.

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

* Source/autotools/symbols.filter: Export the missing symbols.


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