[BlackBerry] readPixels on FBOs are limited to canvas size on SGX platforms
https://bugs.webkit.org/show_bug.cgi?id=92301

Patch by Joshua Netterfield <jnetterfield@rim.com> on 2012-07-26
Reviewed by Rob Buis.

This fixes fast/canvas/webgl/uninitialized-test.html on BlackBerry, no new tests.

* platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp:
(WebCore::GraphicsContext3D::readPixels):
(WebCore::GraphicsContext3D::readPixelsAndConvertToBGRAIfNecessary):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] platform/qt/tables/mozilla tests needs update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=91242

Reviewed by Alexis Menard.

Some leftovers were removed from qt-5.0-wk1 and wk2. If some of them
fail on qt-5.0-wk2, then they should be skipped again, but creating
proper bug reports for them.

* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/tables/mozilla/bugs/bug3037-1-expected.png: Removed.
* platform/qt-5.0/tables/mozilla/bugs/bug3037-1-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Introduce generic LiveLocation, make Script.Location inherit it.
https://bugs.webkit.org/show_bug.cgi?id=92388

Reviewed by Pavel Feldman.

Introduced abstract LiveLocation implemented by Script.Location.

* inspector/front-end/Script.js:
(WebInspector.Script.Location):
(WebInspector.Script.Location.prototype.uiLocation):
(WebInspector.Script.Location.prototype.dispose):
* inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode):
(WebInspector.LiveLocation):
(WebInspector.LiveLocation.prototype.update):
(WebInspector.LiveLocation.prototype.rawLocation):
(WebInspector.LiveLocation.prototype.uiLocation):
(WebInspector.LiveLocation.prototype.dispose):
* inspector/front-end/inspector.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Reskip fast/forms WK2 added results
https://bugs.webkit.org/show_bug.cgi?id=91504

Patch by Bruno de Oliveira Abinader <bruno.abinader@basyskom.com> on 2012-07-26
Reviewed by Alexis Menard.

This patch reverts the added WK2 layout test results from r123156 "[Qt]
Added/updated missing fast/forms results after rebaseline". As discussed with
Caio, almost all of these additions were due to an erroneous input-text and
text-area default size diff between WK1 and WK2 (handled in bug 91990), and a
few ones that are still failing independent of font changes (handled in bug
91610). These tests were reskipped and reassigned to proper bugs.

* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0-wk2/fast/forms/basic-inputs-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/basic-inputs-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/basic-textareas-quirks-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/basic-textareas-quirks-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/control-restrict-line-height-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/control-restrict-line-height-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/encoding-test-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/fieldset-align-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/fieldset-align-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-appearance-bkcolor-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-appearance-default-bkcolor-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/input-appearance-default-bkcolor-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-appearance-disabled-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/input-appearance-disabled-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-appearance-focus-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/input-appearance-focus-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-appearance-preventDefault-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-appearance-readonly-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/input-appearance-readonly-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-appearance-selection-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/input-appearance-selection-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-appearance-visibility-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-baseline-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/input-baseline-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-double-click-selection-gap-bug-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/input-double-click-selection-gap-bug-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-placeholder-visibility-1-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-placeholder-visibility-3-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-readonly-dimmed-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-readonly-empty-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-spaces-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-text-click-inside-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-text-double-click-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-text-option-delete-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-text-self-emptying-click-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-text-word-wrap-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/input-width-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/placeholder-position-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/placeholder-position-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/search-cancel-button-style-sharing-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/search-display-none-cancel-button-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/search-rtl-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/search-rtl-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/search-vertical-alignment-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/search-vertical-alignment-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/text-style-color-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/text-style-color-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/textarea-placeholder-pseudo-style-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/textarea-placeholder-pseudo-style-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/textarea-placeholder-visibility-1-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/textarea-placeholder-visibility-2-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/textfield-focus-ring-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/textfield-outline-expected.txt: Removed.
* platform/qt-5.0-wk2/fast/forms/textfield-overflow-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening. Fix after r123733.

Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-07-26

* platform/qt/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Cleanup GraphicsContext::(getWindowsContext|releaseWindowsContext)
https://bugs.webkit.org/show_bug.cgi?id=92113

Reviewed by Simon Hausmann.

Cleanup the definition of the two methods across different ports and
replace the calls to them with LocalWindowsContext where possible.

* platform/graphics/GraphicsContext.h:
(GraphicsContext):
* platform/win/ScrollbarThemeWin.cpp:
(WebCore::ScrollbarThemeWin::paintThumb):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed r123761 follow-up, inspector closure compilation fix.

* inspector/front-end/Script.js:
(WebInspector.Script.Location.prototype.uiLocation):
* inspector/front-end/ScriptSnippetModel.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123765 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Compilation warning in EWK2UnitTestServer.cpp
https://bugs.webkit.org/show_bug.cgi?id=92387

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

Fix compilation warning in EWK2UnitTestServer.cpp.

* UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestServer.cpp:
(EWK2UnitTestServer::EWK2UnitTestServer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit should expose @title as label (AXTitle or AXDescription) sometimes instead of AXHelp, according to the ARIA text alt computation
https://bugs.webkit.org/show_bug.cgi?id=91911

Reviewed by Anders Carlsson.

Source/WebCore: 

The ARIA spec states that the title attribute should be used as the last resort for a description of an element. WebKit needs to honor that.

Test: platform/mac/accessibility/title-attribute-used-as-last-resort.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::helpText):
(WebCore::AccessibilityRenderObject::accessibilityDescription):

LayoutTests: 

* platform/mac/accessibility/title-attribute-used-as-last-resort-expected.txt: Added.
* platform/mac/accessibility/title-attribute-used-as-last-resort.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123767 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: SASS source mapping straw man (behind experiment)
https://bugs.webkit.org/show_bug.cgi?id=92265

Reviewed by Vsevolod Vlasov.

This change introduces SASS mapping support (behind the experiment).

* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/compile-front-end.py:
* inspector/front-end/CSSStyleModel.js:
(WebInspector.CSSStyleModel):
(WebInspector.CSSStyleModel.prototype.resourceBinding):
(WebInspector.CSSStyleModel.prototype.setSourceMapping):
(WebInspector.CSSStyleModel.prototype.resetSourceMappings):
(WebInspector.CSSStyleModel.prototype._rawLocationToUILocation):
(WebInspector.CSSLocation):
(WebInspector.CSSRule):
(WebInspector.CSSRule.prototype.get isRegular):
(WebInspector.CSSRule.prototype.uiLocation):
* inspector/front-end/ContentProviders.js:
(WebInspector.StaticContentProvider.prototype.contentType):
* inspector/front-end/SASSSourceMapping.js: Added.
(WebInspector.SASSSourceMapping):
(WebInspector.SASSSourceMapping.prototype._populate):
(WebInspector.SASSSourceMapping.prototype._resourceAdded.didRequestContent):
(WebInspector.SASSSourceMapping.prototype._resourceAdded):
(rawLocationToUILocation):
(uiLocationToRawLocation):
(uiSourceCodes):
(reset):
(WebInspector.SASSSource):
(WebInspector.SASSSource.prototype.isEditable):
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._createSourceFrame):
* inspector/front-end/Settings.js:
(WebInspector.ExperimentsSettings):
* inspector/front-end/StylesPanel.js:
(WebInspector.StylesUISourceCodeProvider):
(WebInspector.StylesUISourceCodeProvider.prototype.rawLocationToUILocation):
(WebInspector.StylesUISourceCodeProvider.prototype.uiLocationToRawLocation):
(WebInspector.StylesUISourceCodeProvider.prototype._resourceAdded):
(WebInspector.StylesUISourceCodeProvider.prototype.reset):
* inspector/front-end/StylesSidebarPane.js:
(WebInspector.StylePropertyTreeElement.prototype):
* inspector/front-end/UISourceCode.js:
(WebInspector.UILocation.prototype.uiLocationToRawLocation):
(WebInspector.UILocation.prototype.url):
* inspector/front-end/Workspace.js:
(WebInspector.Workspace):
* inspector/front-end/inspector.html:

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