[EFL] about:blank should display the blank page
https://bugs.webkit.org/show_bug.cgi?id=101566

Patch by Sudarsana Nagineni <sudarsana.nagineni@intel.com> on 2012-11-08
Reviewed by Laszlo Gombos.

Add a check to return early without prepending http:// scheme, if the
URL is 'about:blank'.

* EWebLauncher/url_utils.c:
(url_from_user_input):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: stop using cursorCoords in CodeMirrorTextEditor
https://bugs.webkit.org/show_bug.cgi?id=101607

Patch by Jan Keromnes <janx@linux.com> on 2012-11-08
Reviewed by Vsevolod Vlasov.

API changes completing migration to v3.

* inspector/front-end/CodeMirrorTextEditor.js:
(WebInspector.CodeMirrorTextEditor):
(WebInspector.CodeMirrorTextEditor.prototype.revealLine):
(WebInspector.CodeMirrorTextEditor.prototype.selection):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Always use a textured window for the Web Inspector.

https://bugs.webkit.org/show_bug.cgi?id=101693

Reviewed by Joseph Pecoraro.

Source/WebKit/mac:

* WebCoreSupport/WebInspectorClient.mm:
(-[WebInspectorWindowController window]): Removed the conditional for a textured window.

Source/WebKit2:

* UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::WebInspectorProxy::createInspectorWindow): Removed the conditional for a textured window.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134015 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r134004.
http://trac.webkit.org/changeset/134004
https://bugs.webkit.org/show_bug.cgi?id=101713

multiple crashes (Requested by hayato on #webkit).

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

* rendering/RenderThemeMac.mm:
(WebCore::RenderThemeMac::adjustMediaSliderThumbSize):
(WebCore::RenderThemeMac::paintMediaFullscreenButton):
(WebCore::RenderThemeMac::paintMediaMuteButton):
(WebCore::RenderThemeMac::paintMediaPlayButton):
(WebCore::RenderThemeMac::paintMediaSeekBackButton):
(WebCore::RenderThemeMac::paintMediaSeekForwardButton):
(WebCore::RenderThemeMac::paintMediaSliderTrack):
(WebCore::RenderThemeMac::paintMediaSliderThumb):
(WebCore::RenderThemeMac::paintMediaRewindButton):
(WebCore::RenderThemeMac::paintMediaReturnToRealtimeButton):
(WebCore::RenderThemeMac::paintMediaToggleClosedCaptionsButton):
(WebCore::RenderThemeMac::paintMediaControlsBackground):
(WebCore::RenderThemeMac::paintMediaCurrentTime):
(WebCore::RenderThemeMac::paintMediaTimeRemaining):
(WebCore::RenderThemeMac::paintMediaVolumeSliderContainer):
(WebCore::RenderThemeMac::paintMediaVolumeSliderTrack):
(WebCore::RenderThemeMac::paintMediaVolumeSliderThumb):
(WebCore::RenderThemeMac::paintMediaFullScreenVolumeSliderTrack):
(WebCore::RenderThemeMac::paintMediaFullScreenVolumeSliderThumb):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
table not aligned in center column and seems shrunk because of float:right (table-layout: fixed and width: 100%)
https://bugs.webkit.org/show_bug.cgi?id=18153

Patch by Arpita Bahuguna <arpitabahuguna@gmail.com> on 2012-11-08
Reviewed by Beth Dakin.

Source/WebCore:

Preferred logical width is computed incorrectly for fixed layout tables
with 100% percent width, in standards mode.

According to our fixed table layout algorithm (CSS2 specification - 17.5.2.1)
the ultimate width of the table is the greater of the value of the
'width' property for the table elements and the sum of the column
widths.

For our specific scenario we have a fixed layout table with 100% width
consisting of columns with fixed widths, the sum of which is less than
the specified width of the table (i.e. 100% of the containing block).
Even then the applied width is the cummulative of the width of the
columns.

This happens because of the quirks mode check added in
FixedTableLayout::computePreferredLogicalWidths(), which prohibits the
setting of maxWidth to our fixed layout table with percent width, and
which perhaps is not required anymore.

Test: fast/table/fixed-table-layout/table-with-percent-width.html

* rendering/FixedTableLayout.cpp:
(WebCore::FixedTableLayout::computePreferredLogicalWidths):
Removed the quirks mode check.

LayoutTests:

* fast/table/fixed-table-layout/table-with-percent-width-expected.txt: Added.
* fast/table/fixed-table-layout/table-with-percent-width.html: Added.
Test added to verify the width of the fixed layout tables with 100%
width, in standards mode.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove Chromium test expectations after r133939.

* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, update chromium-mac baselines.

* platform/chromium-mac/platform/chromium/compositing/layout-width-change-expected.png:
* platform/chromium-mac/platform/chromium/compositing/video-frame-size-change-expected.png:
* platform/chromium-mac/platform/chromium/media/video-frame-size-change-expected.png:
* platform/chromium-mac/platform/chromium/virtual/softwarecompositing/text-on-scaled-layer-expected.png: Added.
* platform/chromium-mac/platform/chromium/virtual/softwarecompositing/text-on-scaled-surface-expected.png: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Refactoring] Remove shadowPseudoId() and use pseudo() instead in TextTrackCue
https://bugs.webkit.org/show_bug.cgi?id=101702

Reviewed by Hajime Morita.

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

No new tests, simple refactoring.

* html/track/TextTrackCue.cpp:
(WebCore::TextTrackCueBox::TextTrackCueBox):
* html/track/TextTrackCue.h:
(TextTrackCueBox):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Add a method to the TextCheckerEnchant class to check whether any dictionary is loaded
https://bugs.webkit.org/show_bug.cgi?id=101570

Reviewed by Gustavo Noronha Silva.

Source/WebCore:

Expose a new method to check whether a vector of loaded languages is empty.
WK2-EFL needs it to set the default language (if the client didn't set any) when
spelling setting is being enabled. This change makes it more convenient to check
whether the dictionaries vector is empty.

No new tests, no behavior change.

* platform/text/enchant/TextCheckerEnchant.cpp:
(TextCheckerEnchant::checkSpellingOfString):
(TextCheckerEnchant::getGuessesForWord):
(TextCheckerEnchant::loadedSpellCheckingLanguages):
A newly exposed method is used internally too.

* platform/text/enchant/TextCheckerEnchant.h:
(WebCore::TextCheckerEnchant::hasDictionary):
Add an inline hasDictionary() method.

Source/WebKit2:

To do not get the vector of loaded languages, WebKit2-EFL calls
TextCheckerEnchant::hasDictionary() method to check whether the
dictionaries vector is empty.

* UIProcess/API/efl/ewk_settings.cpp:
(ewk_settings_continuous_spell_checking_enabled_set):
* UIProcess/API/efl/ewk_text_checker.cpp:
(Ewk_Text_Checker::hasDictionary):
(Ewk_Text_Checker):
* UIProcess/API/efl/ewk_text_checker_private.h:
(Ewk_Text_Checker):


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