[cmake] Do not use GLOB to add WTR IDL files to buildsystem.
https://bugs.webkit.org/show_bug.cgi?id=101785

Reviewed by Caio Marcelo de Oliveira Filho.

Using *.idl makes impossible to add IDL files depending on compiler flags,
like a possible GamepadController.idl file found on Chromium.

* WebKitTestRunner/CMakeLists.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
FindGLIB.cmake fails do find glib gmodule module.
https://bugs.webkit.org/show_bug.cgi?id=101784

Reviewed by Caio Marcelo de Oliveira Filho.

* Source/cmake/FindGLIB.cmake:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed: Adding watchlist definition for CoordinatedGraphics.

* Scripts/webkitpy/common/config/watchlist:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134412 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WK2] TiledBackingStore: WebChromeClient::pageRect() should consider viewport size
https://bugs.webkit.org/show_bug.cgi?id=101946

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-11-13
Reviewed by Noam Rosenthal.

WebChromeClient::pageRect() should consider viewport size when TILED_BACKING_STORE enabled.

Based on patch by Kenneth Rohde Christiansen.

* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::pageRect):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Rebaseline after bug 98666 (input[type=range] thumb rendering)
https://bugs.webkit.org/show_bug.cgi?id=102059

Unreviewed rebaseline. There were a few actual bugs (see bug 102068 and
bug 102067).These changes seem correct and the image changes are tiny.
The non-platform results were still wrong because they are not used
by most platforms, even if the results actually match the platform results.

Patch by Jussi Kukkonen <jussi.kukkonen@intel.com> on 2012-11-13

* fast/dom/HTMLInputElement/input-slider-update-styled-expected.txt:
* fast/forms/range/slider-thumb-stylability-expected.txt:
* fast/forms/range/range-thumb-height-percentage-expected.txt:
* fast/repaint/slider-thumb-float-expected.txt:
* platform/efl/TestExpectations:
* platform/efl/fast/dom/HTMLInputElement/input-slider-update-expected.png:
* platform/efl/fast/dom/HTMLInputElement/input-slider-update-expected.txt:
* platform/efl/fast/forms/box-shadow-override-expected.txt:
* platform/efl/fast/forms/input-appearance-height-expected.txt:
* platform/efl/fast/forms/range/input-appearance-range-expected.png:
* platform/efl/fast/forms/range/input-appearance-range-expected.txt:
* platform/efl/fast/forms/range/slider-padding-expected.txt:
* platform/efl/fast/forms/range/slider-thumb-shared-style-expected.txt:
* platform/efl/fast/layers/video-layer-expected.txt:
* platform/efl/fast/multicol/client-rects-expected.txt:
* platform/efl/fast/repaint/slider-thumb-drag-release-expected.png:
* platform/efl/fast/repaint/slider-thumb-drag-release-expected.txt:
* platform/efl/media/audio-controls-rendering-expected.txt:
* platform/efl/media/audio-repaint-expected.txt:
* platform/efl/media/controls-after-reload-expected.txt:
* platform/efl/media/controls-strict-expected.txt:
* platform/efl/media/controls-styling-expected.txt:
* platform/efl/media/controls-styling-strict-expected.txt:
* platform/efl/media/controls-without-preload-expected.txt:
* platform/efl/media/media-controls-clone-expected.txt:
* platform/efl/media/media-document-audio-repaint-expected.txt:
* platform/efl/media/track/track-cue-rendering-horizontal-expected.txt:
* platform/efl/media/track/track-cue-rendering-vertical-expected.txt:
* platform/efl/media/video-display-toggle-expected.txt:
* platform/efl/media/video-empty-source-expected.txt:
* platform/efl/media/video-no-audio-expected.txt:
* platform/efl/media/video-zoom-controls-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134416 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reverting expectations update because it breaks lint
https://bugs.webkit.org/show_bug.cgi?id=101982

Unreviewed expectations fix.

With the new-ish wekbit_skia.gyp file we do not need to change expections like this.

* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134417 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Changing pseudoClass (:indeterminate) should cause distribution
https://bugs.webkit.org/show_bug.cgi?id=101903

Reviewed by Dimitri Glazkov.

Source/WebCore:

<progress> and <input type="checkbox"> have 'indeterminate' state. When their state is changed, we have to
invalidate distribution if necessary. To check it, we collect a feature that :invalidate is used in select attributes.

For <input>, we also have to see 'type' is changed. According to the spec, :indeterminate should match only
progress element or <input type="checkbox">. So changing 'type' might also change :indeterminate state.

Tests: fast/dom/shadow/pseudoclass-update-indeterminate-input.html
       fast/dom/shadow/pseudoclass-update-indeterminate-progress.html

* dom/ElementShadow.cpp:
(WebCore::invalidateParentDistributionIfNecessary): Since we will add a lot of pseudoClass check later, we would like to
have this kind of helper method. We will add various pseudoClass check (see Bug 101697), we reuse CSSSelector::PseudoType
here.
(WebCore):
* dom/ElementShadow.h:
(WebCore):
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::updateType): Invalidate parent distribution anyway, since it changes various internal states.
(WebCore::HTMLInputElement::setIndeterminate): Invalidate parent distribution if necessary.
* html/HTMLProgressElement.cpp:
(WebCore::HTMLProgressElement::didElementStateChange):
* html/shadow/SelectRuleFeatureSet.cpp:
(WebCore::SelectRuleFeatureSet::SelectRuleFeatureSet): Adds m_usesIndeterminate feature.
(WebCore::SelectRuleFeatureSet::add):
(WebCore::SelectRuleFeatureSet::clear):
(WebCore::SelectRuleFeatureSet::collectFeaturesFromSelector):
* html/shadow/SelectRuleFeatureSet.h:
(WebCore::SelectRuleFeatureSet::hasSelectorForIndeterminate):
(SelectRuleFeatureSet):

LayoutTests:

* fast/dom/shadow/pseudoclass-update-indeterminate-input-expected.html: Added.
* fast/dom/shadow/pseudoclass-update-indeterminate-input.html: Added.
* fast/dom/shadow/pseudoclass-update-indeterminate-progress-expected.html: Added.
* fast/dom/shadow/pseudoclass-update-indeterminate-progress.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134418 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Expectations update for fast/regions/webkit-flow-inlines-dynamic.html
https://bugs.webkit.org/show_bug.cgi?id=102086

Unreviewed expectations update.

* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134419 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Refactoring] Remove shadowPseudoId() and use setPseudo() in <meter> ElementShadow.
https://bugs.webkit.org/show_bug.cgi?id=101906

Reviewed by Dimitri Glazkov.

Source/WebCore:

We're migrating shadowPseudoId() to pseudo(). We remove shadowPseudoId() from HTMLKeygenElement and use
setPseudo()/pseudo() instead.

No new tests, covered by existing tests.

* html/HTMLMeterElement.cpp:
(WebCore::HTMLMeterElement::didElementStateChange): Since shadowPseudoId() was returning pseudo id without setting
it anywhere, we have to set it into pseudo attribute here.
(WebCore::HTMLMeterElement::createShadowSubtree): ditto.
* html/shadow/MeterShadowElement.cpp:
(WebCore::MeterInnerElement::MeterInnerElement):
(WebCore::MeterValueElement::valuePseudoId):
* html/shadow/MeterShadowElement.h:
(MeterInnerElement):
(WebCore::MeterBarElement::MeterBarElement):
(MeterBarElement):
(WebCore::MeterValueElement::MeterValueElement):
(WebCore::MeterValueElement::updatePseudo):
(MeterValueElement):

LayoutTests:

* fast/dom/HTMLMeterElement/meter-element-markup-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Enable input type month/week
https://bugs.webkit.org/show_bug.cgi?id=102042

Reviewed by Kent Tamura.

Enable input type month/week for Chromium.

No new tests. Tests will be added later in Bug 102045 and Bug 102046.

* bindings/generic/RuntimeEnabledFeatures.cpp:
(WebCore):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134421 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove the non-const overload of ElementAttributeData::inlineStyle().

Rubber-stamped by Anders Koivisto.

No call sites actually needed a mutable StylePropertySet* from inlineStyle() anyway.

* dom/ElementAttributeData.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] WK1 gardening.

Mark media/video-colorspace-yuv420.html and
media/video-colorspace-yuv422.html as producing bad image results.

* platform/efl-wk1/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134423 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CMake] Incorrect dependency calculation when generating forwarding headers
https://bugs.webkit.org/show_bug.cgi?id=102076

Reviewed by Kenneth Rohde Christiansen.

Explicitly call generate-forwarding-headers.pl on ${WEBKIT2_DIR} as
well, since some dependencies pulled in via the WebKit2/WebKit2_C.h
include in config.h are only generated from there.

This is a bit redundant since this is also done in WebKit2's
PlatformEfl.cmake, however the WTF and WebCore API tests do not depend
on WebKit2 so the script may not have been called when these tests are
being built.

* TestWebKitAPI/PlatformEfl.cmake:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134424 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r134205.
http://trac.webkit.org/changeset/134205
https://bugs.webkit.org/show_bug.cgi?id=102093

Broke webkit-flow-inlines-dynamic.html on several ports
(Requested by mihnea on #webkit).

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

Source/WebCore:

* css/StyleResolver.cpp:
(WebCore::StyleResolver::isValidRegionStyleProperty):
* rendering/InlineBox.cpp:
* rendering/InlineBox.h:
(WebCore):
(InlineBox):
* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::addToLine):
(WebCore::InlineFlowBox::addTextBoxVisualOverflow):
* rendering/RenderRegion.cpp:
(WebCore::RenderRegion::setRegionObjectsRegionStyle):
(WebCore::RenderRegion::restoreRegionObjectsOriginalStyle):
(WebCore::RenderRegion::computeStyleInRegion):
(WebCore::RenderRegion::computeChildrenStyleInRegion):
(WebCore::RenderRegion::setObjectStyleInRegion):
(WebCore::RenderRegion::clearObjectStyleInRegion):
* rendering/RenderRegion.h:
(RenderRegion):
(ObjectRegionStyleInfo):

LayoutTests:

* fast/regions/region-style-text-shadow-expected.html: Removed.
* fast/regions/region-style-text-shadow.html: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134425 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, update expectations after r134345.

* platform/efl/fast/dynamic/insertAdjacentElement-expected.txt:
* platform/gtk/fast/dynamic/insertAdjacentElement-expected.txt:
* platform/mac/fast/dynamic/insertAdjacentElement-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134426 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r134391.
http://trac.webkit.org/changeset/134391
https://bugs.webkit.org/show_bug.cgi?id=99660

Speculative rollout, trying to fix browser_tests failure.

Source/Platform:

* chromium/public/WebLayerTreeView.h:
(WebLayerTreeView):

Source/WebCore:

* English.lproj/localizedStrings.js:
* inspector/Inspector.json:
* inspector/InspectorClient.h:
* inspector/InspectorPageAgent.cpp:
(PageAgentState):
(WebCore::InspectorPageAgent::enable):
(WebCore::InspectorPageAgent::disable):
* inspector/InspectorPageAgent.h:
* inspector/front-end/Settings.js:
* inspector/front-end/SettingsScreen.js:
(WebInspector.GenericSettingsTab):
* inspector/front-end/inspector.js:
(WebInspector.doLoadedDone):

Source/WebKit/chromium:

* public/WebView.h:
(WebView):
* src/InspectorClientImpl.cpp:
* src/InspectorClientImpl.h:
(InspectorClientImpl):
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):
(WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
(WebKit):
* src/WebViewImpl.h:
(WebViewImpl):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134427 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] More video-colorspace-yuv* gardening.

These tests are also failing on WK2, so skip them in both ports.

* platform/efl-wk1/TestExpectations:
* platform/efl-wk1/media/video-colorspace-yuv420-expected.png: Removed.
* platform/efl-wk1/media/video-colorspace-yuv422-expected.png: Removed.
* platform/efl/TestExpectations:
* platform/efl/media/video-colorspace-yuv420-expected.txt: Removed.
* platform/efl/media/video-colorspace-yuv422-expected.txt: Removed.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134428 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Update pixel expectation for fast/repaint/table-hover-on-link.html

* platform/efl/fast/repaint/table-hover-on-link-expected.png:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134429 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Uninitialized fields in class JSLock
https://bugs.webkit.org/show_bug.cgi?id=101695

Patch by Cosmin Truta <ctruta@rim.com> on 2012-11-13
Reviewed by Mark Hahnenberg.

Initialize JSLock::m_ownerThread and JSLock::m_lockDropDepth.

* runtime/JSLock.cpp:
(JSC::JSLock::JSLock):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Properly skip all HiDPI tests which are currently failing.

Skip an additional test and add a bug to each entry.

* platform/efl/TestExpectations:
* platform/efl/svg/as-image/animated-svg-repaints-completely-in-hidpi-expected.png: Removed.
* platform/efl/svg/as-image/animated-svg-repaints-completely-in-hidpi-expected.txt: Removed.



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