[Qt][Mac] GL_ARB_texture_rectangle must be activated when using ANGLE.
https://bugs.webkit.org/show_bug.cgi?id=98387

Check for the availability of GL_ARB_texture_rectangle extension.
In case it is available, we activate the extension for ANGLE.
This is necessary for WebGL on mac, because the GraphicsSurface
on this platform is based on an IOSurface, which requires this extension.

Reviewed by Noam Rosenthal.

* platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3DPrivate::initializeANGLE):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Use ewk_view_paint instead of ewk_view_paint_contents in ewk_view_single.
https://bugs.webkit.org/show_bug.cgi?id=98716

Reviewed by Kenneth Rohde Christiansen.

ewk_view_paint is the wrapper of ScrollView::paint and
ewk_view_paint_contents is the wrapper of FrameView::paintContents.

Because FrameView::paintContents just draw contents,
ewk_view_single should use ewk_view_paint instead of ewk_view_paint_contents
like other ports.

* ewk/ewk_view.cpp:
(ewk_view_paint):
Moved updateLayoutAndStyleIfNeededRecursive to share ewk_view_paint.
* ewk/ewk_view_single.cpp:
(_ewk_view_single_smart_repaints_process):
Modified to call ewk_view_paint.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Add APIs to get/set the DNS prefetching
https://bugs.webkit.org/show_bug.cgi?id=98790

Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-10-10
Reviewed by Laszlo Gombos.

Add setting APIs for DNS prefetching and a unit test.

* UIProcess/API/efl/ewk_settings.cpp:
(ewk_settings_DNS_prefetching_enabled_set):
(ewk_settings_DNS_prefetching_enabled_get):
* UIProcess/API/efl/ewk_settings.h:
* UIProcess/API/efl/tests/test_ewk2_settings.cpp:
(TEST_F):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Semantically incorrect CSS rules result in broken source code data
https://bugs.webkit.org/show_bug.cgi?id=98520

Reviewed by Vsevolod Vlasov.

Source/WebCore:

Pop and throw away rule data from the stack when data have been collected for a semantically invalid CSS rule
(which is not going to be created).

* css/CSSParser.cpp:
(WebCore::CSSParser::createImportRule):
(WebCore::CSSParser::createFontFaceRule):
(WebCore::CSSParser::createPageRule):
(WebCore::CSSParser::createRegionRule):

LayoutTests:

* inspector/styles/parse-stylesheet-errors-expected.txt:
* inspector/styles/parse-stylesheet-errors.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add behavior tests for input[type=date] with multiple fields
https://bugs.webkit.org/show_bug.cgi?id=98480

Reviewed by Kentaro Hara.

* fast/forms/date-multiple-fields/date-multiple-fields-ax-aria-attributes-expected.txt: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-ax-aria-attributes.html: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-ax-value-changed-notification-expected.txt: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-ax-value-changed-notification.html: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-blur-and-focus-events-expected.txt: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-blur-and-focus-events.html: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-keyboard-events-expected.txt:
* fast/forms/date-multiple-fields/date-multiple-fields-keyboard-events.html:
* fast/forms/date-multiple-fields/date-multiple-fields-mouse-events-expected.txt: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-mouse-events.html: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-preserve-value-after-history-back-expected.txt: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-preserve-value-after-history-back.html: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-reset-value-after-reloads-expected.txt: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-reset-value-after-reloads.html: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-spinbutton-change-and-input-events-expected.txt: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-spinbutton-change-and-input-events.html: Copied from LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-change-and-input-events.html.
* fast/forms/date-multiple-fields/date-multiple-fields-wheel-event-expected.txt: Added.
* fast/forms/date-multiple-fields/date-multiple-fields-wheel-event.html: Copied from LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-change-and-input-events.html.
* fast/forms/date/date-reset-value-expected.html: Added.
* fast/forms/date/date-reset-value.html: Added.

* fast/forms/resources/common-spinbutton-change-and-input-events.js:
(testSpinButtonChangeAndInputEvents):
Uses getElementByPseudoId() to obtain spin button position. The date
type and the time type have their spin button at different positions
because of a picker indicator triangle.
* fast/forms/number/number-spinbutton-change-and-input-events.html:
Need to import comon.js because common-spinbutton-change-and-input-events.js depends on it.
* fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-change-and-input-events.html:
Ditto.

* fast/forms/resources/common-wheel-event.js:
(testWheelEvent): Fix a wrong message.
* fast/forms/time-multiple-fields/time-multiple-fields-wheel-event-expected.txt: Ditto.

* fast/forms/resources/multiple-fields-blur-and-focus-events.js:
Added. Move the code from time-multiple-fields-blur-and-focus-events.html.
* fast/forms/time-multiple-fields/time-multiple-fields-blur-and-focus-events.html:
Moved the code to multiple-fields-blur-and-focus-events.js.

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WK2][SOUP] ResourceError.isCancellation() is not carried over IPC
https://bugs.webkit.org/show_bug.cgi?id=98882

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-10
Reviewed by Kenneth Rohde Christiansen.

Source/WebKit2:

Properly serialize / deserialize ResourceError.isCancellation
boolean so that it can be used in UIProcess.

* Shared/soup/WebCoreArgumentCodersSoup.cpp:
(CoreIPC::::encode):
(CoreIPC::::decode):

Tools:

Do not display the error page in MiniBrowser if the loading
error corresponds to a cancellation.

* MiniBrowser/efl/main.c:
(on_error):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130885 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Test /webkit2/WebKitWebView/history-cache asserts in debug bot
https://bugs.webkit.org/show_bug.cgi?id=98731

Reviewed by Martin Robinson.

The problem is in the test itself that is using
SingleResourceLoadTest class to load a multiresource document.

* UIProcess/API/gtk/tests/TestResources.cpp:
(testWebViewResourcesHistoryCache): Load only single resource
documents and check also that the main resource given is the
expected one.
(serverCallback): Add another single resource document.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Port MiniBrowser to Elementary
https://bugs.webkit.org/show_bug.cgi?id=98748

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-10
Reviewed by Kenneth Rohde Christiansen.

.:

Bump EFL librairies dependencies to v1.7
and add Elementary as optional dependency now
that it is needed to build MiniBrowser.

* Source/cmake/FindEet.cmake: Added.
* Source/cmake/FindElementary.cmake: Added.
* Source/cmake/OptionsEfl.cmake:

Tools:

Port MiniBrowser to Elementary to simplify the
code and make future improvements easier. The
URL bar is now an Elementary Entry widget and
supports additional functionality like copy /
paste.

* CMakeLists.txt:
* EWebLauncher/url_bar.c:
(on_urlbar_key_down): Remove WK2-specific code
now that this file is no longer used by MiniBrowser.
* MiniBrowser/efl/CMakeLists.txt:
* MiniBrowser/efl/main.c:
(_Browser_Window):
(window_free):
(window_close):
(view_focus_set):
(on_mouse_down):
(title_set):
(on_title_changed):
(on_url_changed):
(on_close_window):
(on_progress):
(quit):
(on_url_bar_activated):
(on_url_bar_clicked):
(on_window_deletion):
(window_create):
(elm_main):
* efl/jhbuild.modules: Add Elementary to jhbuild and bump
EFL dependencies to 1.7.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION (r129738): Calendar picker is too wide when the input is rtl
https://bugs.webkit.org/show_bug.cgi?id=98881

.:

Reviewed by kent Tamura.

* ManualTests/forms/calendar-picker.html: Added isCalendarRTL parameters.

Source/WebCore:

Reviewed by Kent Tamura.

Calendar picker should use param.isCalendarRTL instead of param.isRTL but some were left.

No new tests. Covered by ManualTests/forms/calendar-picker.html.

* Resources/pagepopups/calendarPicker.js:
(CalendarPicker.prototype.fixWindowSize): Calendar picker should use param.isCalendarRTL instead of param.isRTL.
(DaysTable.prototype._handleKey): Ditto.


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