WebKit-https.git
7 years agoimage not displayed in flexbox
tony@chromium.org [Tue, 9 Oct 2012 01:52:21 +0000 (01:52 +0000)]
image not displayed in flexbox
https://bugs.webkit.org/show_bug.cgi?id=98611

Reviewed by Ojan Vafai.

Source/WebCore:

Flexbox will override the width of a child and when stretching, will override the height of the child.
When this happens, when an image loads, it checks to see if it's width/height has
changed, and if so, does a relayout.  The overridden width/height was preventing this
relayout from happening.

To fix, we clear all the override sizes when we're done laying out the flex children.

Test: css3/flexbox/relayout-image-load.html

* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::layoutBlock): Clear child override sizes.
(WebCore::RenderFlexibleBox::clearChildOverrideSizes):
(WebCore::RenderFlexibleBox::computeMainAxisPreferredSizes): No longer need to clear the override size
here since it should have already been cleared.
* rendering/RenderFlexibleBox.h:

LayoutTests:

Load an image after flexbox layout has happened.

* css3/flexbox/relayout-image-load-expected.txt: Added.
* css3/flexbox/relayout-image-load.html: Added.
* platform/chromium/TestExpectations: Remove css3/flexbox/flexitem-stretch-image.html
since it should no longer be flaky.

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

7 years agoSkip Layout/subtree-detaching.html temporarily as it's very noisy and
rniwa@webkit.org [Tue, 9 Oct 2012 01:48:12 +0000 (01:48 +0000)]
Skip Layout/subtree-detaching.html temporarily as it's very noisy and
takes 112s to run on Chromium Mac. This is tracked by the bug 98708.

* Skipped:

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

7 years agoREGRESSION(r130643): editing/pasteboard/data-transfer-item is failing on chromium.
kling@webkit.org [Tue, 9 Oct 2012 01:44:55 +0000 (01:44 +0000)]
REGRESSION(r130643): editing/pasteboard/data-transfer-item is failing on chromium.
<http://webkit.org/b/98686>

Reviewed by Tony Chang.

Change ChromiumDataObject::createFromPasteboard() to use a ListHashSet instead of a HashSet so that
item order is preserved.

* platform/chromium/ChromiumDataObject.cpp:
(WebCore::ChromiumDataObject::createFromPasteboard):

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

7 years agoPerf. test results page is broken when runs have different sets of tests
rniwa@webkit.org [Tue, 9 Oct 2012 01:43:08 +0000 (01:43 +0000)]
Perf. test results page is broken when runs have different sets of tests
https://bugs.webkit.org/show_bug.cgi?id=98691

Reviewed by Daniel Bates.

Add "missing" columns for tests that are missing some runs.

Also fix regressions from the previous patch:
- Make reference run switch work again
- Load jquery plugins from the remote server when the jquery is loaded from the remote server.

* resources/results-template.html:

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

7 years agoInline logicalHeightForRowSizing to shave another 2-3% off robohornet's resizecol...
eric@webkit.org [Tue, 9 Oct 2012 01:39:20 +0000 (01:39 +0000)]
Inline logicalHeightForRowSizing to shave another 2-3% off robohornet's resizecol.html
https://bugs.webkit.org/show_bug.cgi?id=98703

Reviewed by Emil A Eklund.

This is very small potatoes.  There are much bigger wins for table layout yet, but
this was an easy win.

This function should probably be converted to use int's only, as table cells are pixel-sized
according to our subpixel-experts.

Also, I suspect there should be ways to early return with less-math in the common cases, but
I've saved such for a later patch.

Note that I changed from using paddingBefore/paddingAfter (which include the instrinsic padding)
to calling computedCSSPaddingBefore/computedCSSPaddingAfter directly as well.

This single function is about 11% of total time for robohornet's resizecol.

* rendering/RenderTableCell.cpp:
* rendering/RenderTableCell.h:
(WebCore::RenderTableCell::logicalHeightForRowSizing):

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

7 years agoresults.html and garden-o-matic are ignoring IMAGE failures when expected to FAIL
dpranke@chromium.org [Tue, 9 Oct 2012 01:36:26 +0000 (01:36 +0000)]
results.html and garden-o-matic are ignoring IMAGE failures when expected to FAIL
https://bugs.webkit.org/show_bug.cgi?id=98706

Reviewed by Ojan Vafai.

FAIL is supposed to map onto Failure which is supposed to map
onto the old [ TEXT, IMAGE_PLUS_TEXT, AUDIO ] mapping.
results.html was including IMAGE in this and garden-o-matic was
including CRASH and TIMEOUT as well :(.

Tools:

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/results_unittests.js:

LayoutTests:

* fast/harness/resources/results-test.js:
* fast/harness/results.html:

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

7 years agoIndexedDB: remove autogenerated objectStore/index id code
alecflett@chromium.org [Tue, 9 Oct 2012 01:17:59 +0000 (01:17 +0000)]
IndexedDB: remove autogenerated objectStore/index id code
https://bugs.webkit.org/show_bug.cgi?id=98085

Reviewed by Tony Chang.

Source/WebCore:

Remove support for backend-generated objectstore and index
ids. The frontend objects now manage that state during
versionchange transactions. The IDBDatabaseBackendInterface and
IDBObjectStoreBackendInterface methods will go away when
https://bugs.webkit.org/show_bug.cgi?id=98682 lands.

No new tests as this is part of a refactoring, existing indexeddb
tests cover correctness.

* Modules/indexeddb/IDBBackingStore.h:
(IDBBackingStore):
* Modules/indexeddb/IDBDatabase.cpp:
(WebCore::IDBDatabase::createObjectStore):
* Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
(WebCore::IDBDatabaseBackendImpl::createObjectStore):
(WebCore::IDBDatabaseBackendImpl::createObjectStoreInternal):
(WebCore::IDBDatabaseBackendImpl::loadObjectStores):
* Modules/indexeddb/IDBDatabaseBackendInterface.h:
(IDBDatabaseBackendInterface):
* Modules/indexeddb/IDBLevelDBBackingStore.cpp:
(WebCore::IDBLevelDBBackingStore::createObjectStore):
(WebCore::setMaxIndexId):
(WebCore::IDBLevelDBBackingStore::createIndex):
* Modules/indexeddb/IDBLevelDBBackingStore.h:
(IDBLevelDBBackingStore):
* Modules/indexeddb/IDBObjectStore.cpp:
(WebCore::IDBObjectStore::createIndex):
* Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
(WebCore::IDBObjectStoreBackendImpl::IDBObjectStoreBackendImpl):
(WebCore::IDBObjectStoreBackendImpl::createIndex):
(WebCore::IDBObjectStoreBackendImpl::createIndexInternal):
* Modules/indexeddb/IDBObjectStoreBackendInterface.h:

Source/WebKit/chromium:

Remove support for unused createObjectStore/createIndex. These
methods will go away entirely when
https://bugs.webkit.org/show_bug.cgi?id=98682 is fixed.

* src/IDBDatabaseBackendProxy.cpp:
(WebKit::IDBDatabaseBackendProxy::createObjectStore):
* src/WebIDBDatabaseImpl.cpp:
* src/WebIDBDatabaseImpl.h:
(WebIDBDatabaseImpl):
* src/WebIDBObjectStoreImpl.cpp:
* src/WebIDBObjectStoreImpl.h:
(WebIDBObjectStoreImpl):

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

7 years ago[EFL] Build ControlTheme only when necessary
ryuan.choi@samsung.com [Tue, 9 Oct 2012 00:59:13 +0000 (00:59 +0000)]
[EFL] Build ControlTheme only when necessary
https://bugs.webkit.org/show_bug.cgi?id=98519

Reviewed by Eric Seidel.

* EWebLauncher/ControlTheme/CMakeLists.txt:
Added custom command keyword not to build ControlTheme every time.
In addition, removed `ALL` keyword because targets, which use ControlTheme,
already have dependency.

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

7 years ago[CAIRO] Adjust the source rect size when IMAGE_DECODER_DOWN_SAMPLING is enabled
commit-queue@webkit.org [Tue, 9 Oct 2012 00:55:34 +0000 (00:55 +0000)]
[CAIRO] Adjust the source rect size when IMAGE_DECODER_DOWN_SAMPLING is enabled
https://bugs.webkit.org/show_bug.cgi?id=98630

Patch by Jaehun Lim <ljaehun.lim@samsung.com> on 2012-10-08
Reviewed by Martin Robinson.

IMAGE_DECODER_DOWN_SAMPLING scales down the size of the big image.
CAIRO needs to adjust the source size to the scaled value.

No new tests.

* platform/graphics/cairo/BitmapImageCairo.cpp:
(WebCore::BitmapImage::draw):

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

7 years agoRemove unused features of BlobBuilder
abarth@webkit.org [Tue, 9 Oct 2012 00:08:57 +0000 (00:08 +0000)]
Remove unused features of BlobBuilder
https://bugs.webkit.org/show_bug.cgi?id=98331

Reviewed by Eric Seidel.

Now that we don't expose BlobBuilder as a web platform API, we can
strip down the class to handle only those cases that are needed by the
Blob constructor.

I've also renamed the class from WebKitBlobBuilder to BlobBuilder and
made it stack allocated rather than RefCounted. A future patch will
actually move the files around. (I didn't want to mix moving code
around with modifying the code.)

* bindings/js/JSBlobCustom.cpp:
(WebCore::JSBlobConstructor::constructJSBlob):
* bindings/v8/custom/V8BlobCustom.cpp:
(WebCore::V8Blob::constructorCallback):
* fileapi/WebKitBlobBuilder.cpp:
(WebCore):
(WebCore::BlobBuilder::BlobBuilder):
(WebCore::BlobBuilder::getBuffer):
(WebCore::BlobBuilder::append):
(WebCore::BlobBuilder::appendBytesData):
(WebCore::BlobBuilder::getBlob):
* fileapi/WebKitBlobBuilder.h:
(WebCore):
(BlobBuilder):
* page/FeatureObserver.h:

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

7 years agoTry to fix the debug build after r130699
mrobinson@webkit.org [Tue, 9 Oct 2012 00:02:53 +0000 (00:02 +0000)]
Try to fix the debug build after r130699

Move the assignment of the ResourceHandleInternal local to before
the include statement where it is used.

* platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::createSoupMessageForHandleAndRequest):

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

7 years agoDo not swallow fatal messages in qt/DumpRenderTree
commit-queue@webkit.org [Mon, 8 Oct 2012 23:33:55 +0000 (23:33 +0000)]
Do not swallow fatal messages in qt/DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=98211

Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-10-08
Reviewed by Eric Seidel.

Fix condition in message type filtering.

* DumpRenderTree/qt/DumpRenderTreeMain.cpp:
(messageHandler):

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

7 years agoNot reviewed. Rebaselines for Chromium.
hclam@chromium.org [Mon, 8 Oct 2012 23:31:40 +0000 (23:31 +0000)]
Not reviewed. Rebaselines for Chromium.

Rebaseline after r130412 which affected image scaling pixel tests.

* platform/chromium-linux-x86/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png: Added.
* platform/chromium-linux-x86/fast/backgrounds/size/backgroundSize15-expected.png: Added.
* platform/chromium-linux-x86/fast/backgrounds/size/contain-and-cover-expected.png: Added.
* platform/chromium-linux-x86/fast/backgrounds/size/contain-and-cover-zoomed-expected.png: Added.
* platform/chromium-linux-x86/fast/borders/border-image-scale-transform-expected.png: Added.
* platform/chromium-linux-x86/fast/borders/border-image-scaled-expected.png: Added.
* platform/chromium-linux-x86/fast/borders/border-image-slice-constrained-expected.png: Added.
* platform/chromium-linux-x86/fast/borders/inline-mask-overlay-image-outset-expected.png: Added.
* platform/chromium-linux-x86/fast/borders/inline-mask-overlay-image-outset-vertical-rl-expected.png: Added.
* platform/chromium-linux-x86/fast/borders/scaled-border-image-expected.png: Added.
* platform/chromium-linux-x86/fast/repaint/background-misaligned-expected.png:
* platform/chromium-linux-x86/scrollbars/overflow-scrollbar-combinations-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-I18N/text-anchor-no-markup-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.png: Added.
* platform/chromium-linux-x86/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png: Added.
* platform/chromium-linux-x86/svg/as-border-image/svg-as-border-image-expected.png: Added.
* platform/chromium-linux-x86/svg/custom/clip-mask-negative-scale-expected.png: Added.
* platform/chromium-linux-x86/svg/custom/image-small-width-height-expected.png: Added.
* platform/chromium-linux-x86/svg/custom/pointer-events-image-css-transform-expected.png: Added.
* platform/chromium-linux-x86/svg/custom/pointer-events-image-expected.png: Added.
* platform/chromium-linux-x86/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png: Added.
* platform/chromium-linux-x86/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png: Added.
* platform/chromium-linux-x86/svg/zoom/page/zoom-background-images-expected.png: Added.
* platform/chromium-linux/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png:
* platform/chromium-linux/fast/backgrounds/size/backgroundSize15-expected.png:
* platform/chromium-linux/fast/backgrounds/size/contain-and-cover-expected.png:
* platform/chromium-linux/fast/backgrounds/size/contain-and-cover-zoomed-expected.png:
* platform/chromium-linux/fast/borders/border-image-scale-transform-expected.png:
* platform/chromium-linux/fast/borders/border-image-scaled-expected.png:
* platform/chromium-linux/fast/borders/border-image-slice-constrained-expected.png: Added.
* platform/chromium-linux/fast/borders/inline-mask-overlay-image-outset-expected.png:
* platform/chromium-linux/fast/borders/inline-mask-overlay-image-outset-vertical-rl-expected.png:
* platform/chromium-linux/fast/borders/scaled-border-image-expected.png:
* platform/chromium-linux/fast/repaint/background-misaligned-expected.png:
* platform/chromium-linux/scrollbars/overflow-scrollbar-combinations-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png:
* platform/chromium-linux/svg/W3C-I18N/text-anchor-no-markup-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png:
* platform/chromium-linux/svg/as-border-image/svg-as-border-image-expected.png:
* platform/chromium-linux/svg/custom/clip-mask-negative-scale-expected.png:
* platform/chromium-linux/svg/custom/image-small-width-height-expected.png:
* platform/chromium-linux/svg/custom/pointer-events-image-css-transform-expected.png:
* platform/chromium-linux/svg/custom/pointer-events-image-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png:
* platform/chromium-linux/svg/zoom/page/zoom-background-images-expected.png:
* platform/chromium-mac-snowleopard/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png:
* platform/chromium-mac-snowleopard/fast/backgrounds/size/backgroundSize15-expected.png:
* platform/chromium-mac-snowleopard/fast/backgrounds/size/contain-and-cover-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/backgrounds/size/contain-and-cover-zoomed-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/border-image-scale-transform-expected.png:
* platform/chromium-mac-snowleopard/fast/borders/border-image-scaled-expected.png:
* platform/chromium-mac-snowleopard/fast/borders/border-image-slice-constrained-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/inline-mask-overlay-image-outset-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/inline-mask-overlay-image-outset-vertical-rl-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/borders/scaled-border-image-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/background-misaligned-expected.png:
* platform/chromium-mac-snowleopard/scrollbars/overflow-scrollbar-combinations-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-I18N/text-anchor-no-markup-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.png:
* platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png:
* platform/chromium-mac-snowleopard/svg/as-border-image/svg-as-border-image-expected.png: Added.
* platform/chromium-mac-snowleopard/svg/custom/clip-mask-negative-scale-expected.png:
* platform/chromium-mac-snowleopard/svg/custom/image-small-width-height-expected.png:
* platform/chromium-mac-snowleopard/svg/custom/pointer-events-image-css-transform-expected.png:
* platform/chromium-mac-snowleopard/svg/custom/pointer-events-image-expected.png:
* platform/chromium-mac-snowleopard/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png:
* platform/chromium-mac-snowleopard/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png:
* platform/chromium-mac-snowleopard/svg/zoom/page/zoom-background-images-expected.png: Added.
* platform/chromium-mac/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png:
* platform/chromium-mac/fast/backgrounds/size/backgroundSize15-expected.png:
* platform/chromium-mac/fast/backgrounds/size/contain-and-cover-expected.png:
* platform/chromium-mac/fast/backgrounds/size/contain-and-cover-zoomed-expected.png:
* platform/chromium-mac/fast/borders/border-image-scale-transform-expected.png:
* platform/chromium-mac/fast/borders/border-image-scaled-expected.png:
* platform/chromium-mac/fast/borders/border-image-slice-constrained-expected.png:
* platform/chromium-mac/fast/borders/inline-mask-overlay-image-outset-expected.png:
* platform/chromium-mac/fast/borders/inline-mask-overlay-image-outset-vertical-rl-expected.png:
* platform/chromium-mac/fast/borders/scaled-border-image-expected.png:
* platform/chromium-mac/fast/repaint/background-misaligned-expected.png:
* platform/chromium-mac/scrollbars/overflow-scrollbar-combinations-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png:
* platform/chromium-mac/svg/W3C-I18N/text-anchor-no-markup-expected.png:
* platform/chromium-mac/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.png:
* platform/chromium-mac/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png:
* platform/chromium-mac/svg/as-border-image/svg-as-border-image-expected.png:
* platform/chromium-mac/svg/custom/clip-mask-negative-scale-expected.png:
* platform/chromium-mac/svg/custom/image-small-width-height-expected.png:
* platform/chromium-mac/svg/custom/pointer-events-image-css-transform-expected.png:
* platform/chromium-mac/svg/custom/pointer-events-image-expected.png:
* platform/chromium-mac/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png:
* platform/chromium-mac/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png:
* platform/chromium-mac/svg/zoom/page/zoom-background-images-expected.png:
* platform/chromium-win-xp/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png: Added.
* platform/chromium-win-xp/fast/backgrounds/size/backgroundSize15-expected.png: Added.
* platform/chromium-win-xp/fast/backgrounds/size/contain-and-cover-expected.png: Added.
* platform/chromium-win-xp/fast/backgrounds/size/contain-and-cover-zoomed-expected.png: Added.
* platform/chromium-win-xp/fast/borders/border-image-scale-transform-expected.png: Added.
* platform/chromium-win-xp/fast/borders/border-image-scaled-expected.png: Added.
* platform/chromium-win-xp/fast/borders/border-image-slice-constrained-expected.png: Added.
* platform/chromium-win-xp/fast/borders/inline-mask-overlay-image-outset-expected.png: Added.
* platform/chromium-win-xp/fast/borders/inline-mask-overlay-image-outset-vertical-rl-expected.png: Added.
* platform/chromium-win-xp/fast/borders/scaled-border-image-expected.png: Added.
* platform/chromium-win-xp/fast/repaint/background-misaligned-expected.png:
* platform/chromium-win-xp/scrollbars/overflow-scrollbar-combinations-expected.png: Added.
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png:
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png:
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png:
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png:
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png:
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png:
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png:
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png:
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png:
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png:
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png:
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png:
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png:
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png:
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png:
* platform/chromium-win-xp/svg/W3C-I18N/text-anchor-no-markup-expected.png:
* platform/chromium-win-xp/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.png: Added.
* platform/chromium-win-xp/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png: Added.
* platform/chromium-win-xp/svg/as-border-image/svg-as-border-image-expected.png: Added.
* platform/chromium-win-xp/svg/custom/clip-mask-negative-scale-expected.png: Added.
* platform/chromium-win-xp/svg/custom/image-small-width-height-expected.png: Added.
* platform/chromium-win-xp/svg/custom/pointer-events-image-css-transform-expected.png: Added.
* platform/chromium-win-xp/svg/custom/pointer-events-image-expected.png: Added.
* platform/chromium-win-xp/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png: Added.
* platform/chromium-win-xp/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png: Added.
* platform/chromium-win-xp/svg/zoom/page/zoom-background-images-expected.png: Added.
* platform/chromium-win/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.png:
* platform/chromium-win/fast/backgrounds/size/backgroundSize15-expected.png:
* platform/chromium-win/fast/backgrounds/size/contain-and-cover-expected.png:
* platform/chromium-win/fast/backgrounds/size/contain-and-cover-zoomed-expected.png:
* platform/chromium-win/fast/borders/border-image-scale-transform-expected.png:
* platform/chromium-win/fast/borders/border-image-scaled-expected.png:
* platform/chromium-win/fast/borders/border-image-slice-constrained-expected.png:
* platform/chromium-win/fast/borders/inline-mask-overlay-image-outset-expected.png:
* platform/chromium-win/fast/borders/inline-mask-overlay-image-outset-vertical-rl-expected.png:
* platform/chromium-win/fast/borders/scaled-border-image-expected.png:
* platform/chromium-win/fast/repaint/background-misaligned-expected.png:
* platform/chromium-win/scrollbars/overflow-scrollbar-combinations-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-dirLTR-anchorEnd-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-dirLTR-anchorMiddle-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-dirLTR-anchorStart-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-dirNone-anchorEnd-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-dirNone-anchorMiddle-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-dirNone-anchorStart-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-dirRTL-anchorEnd-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-dirRTL-anchorMiddle-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-dirRTL-anchorStart-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorEnd-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorMiddle-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-inherited-dirLTR-anchorStart-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorEnd-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorMiddle-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-inherited-dirRTL-anchorStart-expected.png:
* platform/chromium-win/svg/W3C-I18N/text-anchor-no-markup-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1-SE/filters-image-05-f-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png:
* platform/chromium-win/svg/as-border-image/svg-as-border-image-expected.png:
* platform/chromium-win/svg/custom/clip-mask-negative-scale-expected.png:
* platform/chromium-win/svg/custom/image-small-width-height-expected.png:
* platform/chromium-win/svg/custom/pointer-events-image-css-transform-expected.png:
* platform/chromium-win/svg/custom/pointer-events-image-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEImageElement-dom-preserveAspectRatio-attr-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEImageElement-svgdom-preserveAspectRatio-prop-expected.png:
* platform/chromium-win/svg/zoom/page/zoom-background-images-expected.png:
* platform/chromium/TestExpectations:

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

7 years agoVersioning.
lforschler@apple.com [Mon, 8 Oct 2012 23:24:03 +0000 (23:24 +0000)]
Versioning.

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

7 years agoPost-r130226 Cleanup: Comment a complicated if statement and make it a helper.
japhet@chromium.org [Mon, 8 Oct 2012 23:20:33 +0000 (23:20 +0000)]
Post-r130226 Cleanup: Comment a complicated if statement and make it a helper.
https://bugs.webkit.org/show_bug.cgi?id=98463

Reviewed by Eric Seidel.

No new tests, refactor only.

* rendering/RenderLayer.cpp:
(WebCore::frameElementAndViewPermitScroll):
(WebCore::RenderLayer::scrollRectToVisible):

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

7 years ago[Soup] Simplify the way that requests are started
mrobinson@webkit.org [Mon, 8 Oct 2012 23:12:33 +0000 (23:12 +0000)]
[Soup] Simplify the way that requests are started
https://bugs.webkit.org/show_bug.cgi?id=98532

Reviewed by Gustavo Noronha Silva.

Simplify the creation of the libsoup request and message when kicking off
requests, by elminating a bit of duplicate code.

No new tests. This should not change any behavior.

* platform/network/ResourceHandle.h:
(ResourceHandle):
* platform/network/soup/ResourceHandleSoup.cpp:
(WebCore):
(WebCore::ResourceHandleInternal::soupSession): Ensure the session
is initialized when passing it to the caller.
(WebCore::createSoupMessageForHandleAndRequest): Added this helper which
takes care of creating the SoupMessage for HTTP/HTTPS requests.
(WebCore::createSoupRequestAndMessageForHandle): Collapsed the HTTP and
non-HTTP request creation into this helper.
(WebCore::ResourceHandle::start): Call the new helper now and then sendPendingRequest.
(WebCore::ResourceHandle::sendPendingRequest): Instead of having special
helpers to create and send the request, duplicating the logic for sending it
across the file, add this method which can be used in both cases.
(WebCore::waitingToSendRequest): Reworked the hasBeenSent method to answer
the question of whether or not the request is ready to be sent, but is unsent.
(WebCore::ResourceHandle::platformSetDefersLoading): Use the new helper.
* platform/network/soup/ResourceRequest.h:
(ResourceRequest): Added a new method for getting the URL string for soup.
* platform/network/soup/ResourceRequestSoup.cpp:
(WebCore::ResourceRequest::urlStringForSoup): Added.

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

7 years agoMake no-column table-layout cases a little faster with inlining
eric@webkit.org [Mon, 8 Oct 2012 22:59:36 +0000 (22:59 +0000)]
Make no-column table-layout cases a little faster with inlining
https://bugs.webkit.org/show_bug.cgi?id=98566

Reviewed by Julien Chaffraix.

This change is almost not worth it at only a couple percent boost on
http://www.robohornet.org/tests/resizecol.html
However, I think the logicalWidthFromTableColumn split it kinda nice
so I've decided to post it anyway.

* rendering/RenderTable.cpp:
(WebCore::RenderTable::slowColElement):
* rendering/RenderTable.h:
(WebCore::RenderTable::colElement):
(RenderTable):
* rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::logicalWidthFromTableColumn):
* rendering/RenderTableCell.h:
(WebCore::RenderTableCell::styleOrColLogicalWidth):
(RenderTableCell):

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

7 years agoUnreviewed Chromium gardening.
jchaffraix@webkit.org [Mon, 8 Oct 2012 22:58:06 +0000 (22:58 +0000)]
Unreviewed Chromium gardening.

* platform/chromium/TestExpectations:
Marked a test as crashing on Lion.

* platform/chromium-linux/transforms/3d/point-mapping/3d-point-mapping-expected.png:
* platform/chromium-mac-snowleopard/transforms/3d/point-mapping/3d-point-mapping-expected.png:
* platform/chromium-mac-snowleopard/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png:
* platform/chromium-mac/transforms/3d/point-mapping/3d-point-mapping-expected.png:
* platform/chromium-mac/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png:
* platform/chromium-win/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png:
Rebaselined these tests after a change in Chromium compositor (Chromium r160671).

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

7 years agoUnreviewed. Moving myself from Committer to Reviewer list.
caio.oliveira@openbossa.org [Mon, 8 Oct 2012 22:41:55 +0000 (22:41 +0000)]
Unreviewed. Moving myself from Committer to Reviewer list.
http://lists.webkit.org/pipermail/webkit-dev/2012-October/022460.html

* Scripts/webkitpy/common/config/committers.py:

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

7 years agoGeneralize moving URLComponent's begin position
benjamin@webkit.org [Mon, 8 Oct 2012 22:31:45 +0000 (22:31 +0000)]
Generalize moving URLComponent's begin position
https://bugs.webkit.org/show_bug.cgi?id=98626

Reviewed by Adam Barth.

The patch r130609 introduced moving URLComponents's position.
It turns out this concept is really useful in the parser so
this patch generalize the idea.

* wtf/url/api/ParsedURL.cpp:
(WTF::ParsedURL::removePort):
* wtf/url/src/URLCanonEtc.cpp:
* wtf/url/src/URLComponent.h:
(WTF::URLComponent::moveBy):
Rename URLComponent::move() to URLComponent::moveBy() for consistency
with some of WebCore types.

* wtf/url/src/URLParse.cpp:
* wtf/url/src/URLParseFile.cpp:

* wtf/url/src/URLSegments.cpp:
(WTF::URLSegments::moveFromComponentBy):
Change the semantic to everything from a certain component. This is
useful to move everything, including the scheme.

* wtf/url/src/URLSegments.h:
(URLSegments):

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

7 years agoRename RenderObject::firstLineStyleSlowCase() to a more appropriate cachedFirstLineSt...
commit-queue@webkit.org [Mon, 8 Oct 2012 22:30:22 +0000 (22:30 +0000)]
Rename RenderObject::firstLineStyleSlowCase() to a more appropriate cachedFirstLineStyle()
https://bugs.webkit.org/show_bug.cgi?id=98631

Patch by Arpita Bahuguna <arpitabahuguna@gmail.com> on 2012-10-08
Reviewed by Eric Seidel.

Renaming firstLineStyleSlowCase() to cachedFirstLineStyle().

The current name is confusing since the function actually gets the
the cached first-line styles.
It also makes the name more descriptive of its functionality
and in accordance with RenderObject::uncachedFirstLineStyle().

No new tests required for this change since no change in behavior is expected.

* rendering/RenderObject.cpp:
(WebCore::RenderObject::cachedFirstLineStyle):
* rendering/RenderObject.h:
(WebCore::RenderObject::firstLineStyle):
(RenderObject):
Renamed RenderObject::firstLineStyleSlowCase() to cachedFirstLineStyle()
and made the associated changes.

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

7 years agoTry to fix Windows build by exporting Frame::layerTreeAsText().
simon.fraser@apple.com [Mon, 8 Oct 2012 22:22:43 +0000 (22:22 +0000)]
Try to fix Windows build by exporting Frame::layerTreeAsText().

* win/WebKit2.def:

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

7 years agoSome non-scrollable elements are added to non-fast-scrollable region
commit-queue@webkit.org [Mon, 8 Oct 2012 22:15:44 +0000 (22:15 +0000)]
Some non-scrollable elements are added to non-fast-scrollable region
https://bugs.webkit.org/show_bug.cgi?id=97927

Patch by Sami Kyostila <skyostil@chromium.org> on 2012-10-08
Reviewed by James Robinson.

Source/WebCore:

Only RenderLayers that can actually be scrolled should be added to the
ScrollingCoordinator's non-fast scrollable region. Otherwise we may
needlessly fall back to main thread scrolling.

Test: ScrollingCoordinatorChromiumTest.clippedBodyTest

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::updateScrollbarsAfterLayout):
(WebCore::RenderLayer::updateScrollbarsAfterStyleChange):

Source/WebKit/chromium:

Test that a non-scrollable RenderLayer isn't added to the non-fast scrollable
region.

The test in this patch consists of a web page where both the html and
body elements clip horizontal overflow. This results in a hierarchy
where the body element gets a scrollable RenderLayer. However, that
layer isn't (interactively) scrollable because while the scroll geometry
is calculated based on the amount of overflow, the scroll bars are
hidden because of the "overflow-x: hidden" style.

Previously this layer would have made the entire page part of the
non-fast scrollable region. With this patch,
RenderLayer::allowScrolling() is used as a pre-requisite for expanding
the region, thus avoiding the problem.

* tests/ScrollingCoordinatorChromiumTest.cpp:
(WebKit::TEST_F):
(WebKit):
* tests/data/clipped-body.html: Added.

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

7 years agoMac Chromium: Ignore system numpad modifier
commit-queue@webkit.org [Mon, 8 Oct 2012 22:07:19 +0000 (22:07 +0000)]
Mac Chromium: Ignore system numpad modifier
https://bugs.webkit.org/show_bug.cgi?id=97161

Patch by Sailesh Agrawal <sail@chromium.org> on 2012-10-08
Reviewed by Tony Chang.

On Mac, arrow key events have numpad modifier set. This is inconsistent with other platforms.

My fix is to only rely on keycode to decide when to set the numpad modifier.

This code is not exersided by layout tests so I added a new unit test for this.

* WebKit.gypi:
* WebKitUnitTests.gyp:
* src/mac/WebInputEventFactory.mm:
(WebKit::isKeypadEvent): Removed check for numpad modifier.
* tests/WebInputEventFactoryTestMac.mm: Added.
(TEST): Added new test for WebInputEventFactory::keyboardEvent().

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

7 years agonrwt: [chromium] run http tests in parallel on bigger machines
dpranke@chromium.org [Mon, 8 Oct 2012 22:06:07 +0000 (22:06 +0000)]
nrwt: [chromium] run http tests in parallel on bigger machines
https://bugs.webkit.org/show_bug.cgi?id=98562

Reviewed by Eric Seidel.

The "locked tests" shard (which includes the http tests and the
perf tests) is the long pole on machines where we have 4 or more
workers, so we should start making sure that
we can run http tests in parallel, following the normal sharding
rules (all tests in the same directory are in the same shard by
default). We should still probably limit the number of workers
hitting the web server in parallel where we can; a heuristic of
no more than 25% of them seems okay for a start. This will
likely only affect developer workstations and a couple of bots
at first, so should be low risk and a good reward.

* Scripts/webkitpy/layout_tests/port/base.py:
(Port.default_max_locked_shards):
* Scripts/webkitpy/layout_tests/port/chromium.py:
(ChromiumPort.default_max_locked_shards):
* Scripts/webkitpy/layout_tests/port/chromium_port_testcase.py:
(ChromiumPortTestCase.test_default_max_locked_shards):
* Scripts/webkitpy/layout_tests/port/port_testcase.py:
(PortTestCase.test_default_max_locked_shards):
* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(_set_up_derived_options):
(parse_args):
* Scripts/webkitpy/layout_tests/run_webkit_tests_integrationtest.py:
(MainTest.test_max_locked_shards):

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

7 years agoMove layerTreeAsText to window.internals
simon.fraser@apple.com [Mon, 8 Oct 2012 21:55:10 +0000 (21:55 +0000)]
Move layerTreeAsText to window.internals
https://bugs.webkit.org/show_bug.cgi?id=98690

Reviewed by James Robinson.

Add window.internals.layerTreeAsText(document), and change the tests to use it.
I'll remove testRunner.layerTreeAsText() in a later patch.

Source/WebCore:

* testing/Internals.cpp:
(WebCore::Internals::layerTreeAsText):
* testing/Internals.h:
(Internals):
* testing/Internals.idl:

LayoutTests:

* compositing/animation/animation-compositing.html:
* compositing/backing/no-backing-for-clip-overlap.html:
* compositing/backing/no-backing-for-clip.html:
* compositing/backing/no-backing-for-perspective.html:
* compositing/bounds-in-flipped-writing-mode.html:
* compositing/clip-child-by-non-stacking-ancestor.html:
* compositing/columns/composited-in-paginated.html:
* compositing/geometry/ancestor-overflow-change.html:
* compositing/geometry/bounds-clipped-composited-child.html:
* compositing/geometry/bounds-ignores-hidden-composited-descendant.html:
* compositing/geometry/bounds-ignores-hidden-dynamic-negzindex.html:
* compositing/geometry/bounds-ignores-hidden-dynamic.html:
* compositing/geometry/bounds-ignores-hidden.html:
* compositing/geometry/clip.html:
* compositing/geometry/composited-in-columns.html:
* compositing/geometry/fixed-position-composited-switch.html:
* compositing/geometry/flipped-writing-mode.html:
* compositing/geometry/foreground-layer.html:
* compositing/geometry/layer-due-to-layer-children-deep-switch.html:
* compositing/geometry/layer-due-to-layer-children-switch.html:
* compositing/geometry/limit-layer-bounds-clipping-ancestor.html:
* compositing/geometry/limit-layer-bounds-fixed-positioned.html:
* compositing/geometry/limit-layer-bounds-opacity-transition.html:
* compositing/geometry/limit-layer-bounds-overflow-root.html:
* compositing/geometry/limit-layer-bounds-positioned-transition.html:
* compositing/geometry/limit-layer-bounds-positioned.html:
* compositing/geometry/limit-layer-bounds-transformed-overflow.html:
* compositing/geometry/limit-layer-bounds-transformed.html:
* compositing/geometry/preserve-3d-switching.html:
* compositing/iframes/become-composited-nested-iframes.html:
* compositing/iframes/become-overlapped-iframe.html:
* compositing/iframes/composited-parent-iframe.html:
* compositing/iframes/connect-compositing-iframe-delayed.html:
* compositing/iframes/connect-compositing-iframe.html:
* compositing/iframes/connect-compositing-iframe2.html:
* compositing/iframes/connect-compositing-iframe3.html:
* compositing/iframes/enter-compositing-iframe.html:
* compositing/iframes/iframe-resize.html:
* compositing/iframes/iframe-size-from-zero.html:
* compositing/iframes/iframe-size-to-zero.html:
* compositing/iframes/iframe-src-change.html:
* compositing/iframes/invisible-nested-iframe-hide.html:
* compositing/iframes/invisible-nested-iframe-show.html:
* compositing/iframes/leave-compositing-iframe.html:
* compositing/iframes/overlapped-iframe-iframe.html:
* compositing/iframes/overlapped-iframe.html:
* compositing/iframes/overlapped-nested-iframes.html:
* compositing/iframes/page-cache-layer-tree.html:
* compositing/iframes/resizer.html:
* compositing/iframes/scrolling-iframe.html:
* compositing/images/clip-on-directly-composited-image.html:
* compositing/layer-creation/animation-overlap-with-children.html:
* compositing/layer-creation/fixed-position-and-transform.html:
* compositing/layer-creation/fixed-position-out-of-view.html:
* compositing/layer-creation/fixed-position-under-transform.html:
* compositing/layer-creation/no-compositing-for-preserve-3d.html:
* compositing/layer-creation/overflow-scroll-overlap.html:
* compositing/layer-creation/overlap-animation.html:
* compositing/layer-creation/overlap-child-layer.html:
* compositing/layer-creation/overlap-clipping.html:
* compositing/layer-creation/overlap-transformed-and-clipped.html:
* compositing/layer-creation/overlap-transformed-layer.html:
* compositing/layer-creation/overlap-transforms.html:
* compositing/layer-creation/rotate3d-overlap.html:
* compositing/layer-creation/scroll-partial-update.html:
* compositing/layer-creation/spanOverlapsCanvas.html:
* compositing/layer-creation/stacking-context-overlap-nested.html:
* compositing/layer-creation/stacking-context-overlap.html:
* compositing/layer-creation/translatez-overlap.html:
* compositing/overflow-trumps-transform-style.html:
* compositing/overflow/clip-descendents.html:
* compositing/overflow/content-gains-scrollbars.html:
* compositing/overflow/content-loses-scrollbars.html:
* compositing/overflow/overflow-auto-with-touch-no-overflow.html:
* compositing/overflow/overflow-auto-with-touch-toggle.html:
* compositing/overflow/overflow-auto-with-touch.html:
* compositing/overflow/overflow-hidden-with-touch.html:
* compositing/overflow/overflow-overlay-with-touch-no-overflow.html:
* compositing/overflow/overflow-overlay-with-touch.html:
* compositing/overflow/overflow-scroll-with-touch-no-overflow.html:
* compositing/overflow/overflow-scrollbar-layers.html:
* compositing/overflow/overflow-visible-with-touch.html:
* compositing/overflow/resize-painting.html:
* compositing/overflow/scrolling-content-clip-to-viewport.html:
* compositing/overflow/textarea-scroll-touch.html:
* compositing/plugins/1x1-composited-plugin.html:
* compositing/plugins/large-to-small-composited-plugin.html:
* compositing/plugins/no-backing-store.html:
* compositing/plugins/small-to-large-composited-plugin.html:
* compositing/rtl/rtl-absolute-overflow-scrolled.html:
* compositing/rtl/rtl-absolute-overflow.html:
* compositing/rtl/rtl-absolute.html:
* compositing/rtl/rtl-fixed-overflow-scrolled.html:
* compositing/rtl/rtl-fixed-overflow.html:
* compositing/rtl/rtl-fixed.html:
* compositing/rtl/rtl-iframe-absolute-overflow-scrolled.html:
* compositing/rtl/rtl-iframe-absolute-overflow.html:
* compositing/rtl/rtl-iframe-absolute.html:
* compositing/rtl/rtl-iframe-fixed-overflow-scrolled.html:
* compositing/rtl/rtl-iframe-fixed-overflow.html:
* compositing/rtl/rtl-iframe-fixed.html:
* compositing/rtl/rtl-iframe-relative.html:
* compositing/rtl/rtl-relative.html:
* compositing/tiled-layers-hidpi.html:
* compositing/tiling/crash-reparent-tiled-layer.html:
* compositing/tiling/huge-layer-add-remove-child.html-disabled:
* compositing/tiling/huge-layer-img.html-disabled:
* compositing/tiling/huge-layer-resize.html-disabled:
* compositing/tiling/huge-layer-with-layer-children-resize.html-disabled:
* compositing/tiling/huge-layer-with-layer-children.html-disabled:
* compositing/tiling/huge-layer.html-disabled:
* compositing/video/video-poster.html:
* compositing/visibility/layer-visible-content.html:
* compositing/visibility/visibility-image-layers-dynamic.html:
* css3/compositing/should-have-compositing-layer.html:
* css3/filters/composited-during-animation-layertree.html:
* css3/filters/composited-during-transition-layertree.html:
* css3/filters/filtered-compositing-descendant.html:
* css3/filters/should-not-have-compositing-layer.html:
* platform/chromium-android/compositing/layer-creation/overflow-scrolling-touch.html:
* platform/chromium/compositing/force-compositing-mode/force-composite-empty.html:
* platform/chromium/compositing/force-compositing-mode/no-overflow-iframe-layer.html:
* platform/chromium/compositing/force-compositing-mode/overflow-hidden-iframe-layer.html:
* platform/chromium/compositing/force-compositing-mode/overflow-iframe-enter-compositing.html:
* platform/chromium/compositing/force-compositing-mode/overflow-iframe-layer.html:
* platform/chromium/compositing/force-compositing-mode/overflow-iframe-leave-compositing.html:
* platform/mac/compositing/canvas/accelerated-canvas-compositing.html:

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

7 years agoAdd render object that paints plugin snapshots
jonlee@apple.com [Mon, 8 Oct 2012 21:27:29 +0000 (21:27 +0000)]
Add render object that paints plugin snapshots
https://bugs.webkit.org/show_bug.cgi?id=98322
<rdar://problem/12426546>

Reviewed by Simon Fraser.

First, teach plugins to maintain a set of states when plugin snapshotting is enabled.

Second, a new RenderSnapshottedPlugIn class is a RenderEmbeddedObject that knows how to paint
snapshots when the plugin is not visibly playing. It maintains a RenderImageResource to
the generated poster image.

* html/HTMLPlugInElement.cpp:
(WebCore::HTMLPlugInElement::HTMLPlugInElement): By default all plugins play on load.
* html/HTMLPlugInElement.h: Move the inheritance of ImageLoaderClientBase down to
HTMLPlugInImageElement, since that is the class that actually deals with image-based plugins.
(WebCore::HTMLPlugInElement::displayState): Add bit for display state.
(WebCore::HTMLPlugInElement::setDisplayState):
(WebCore::HTMLPlugInElement::updateSnapshot):

* html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement): If plugin snapshotting is
enabled, plugin state is set to wait for a poster image.
(WebCore::HTMLPlugInImageElement::createRenderer): Create RenderSnapshottedPlugIn if
plugin snapshotting is enabled.
(WebCore::HTMLPlugInImageElement::updateSnapshot): Once a snapshot is available, update the
renderer and set its state to wait for user input to start the plugin.
* html/HTMLPlugInImageElement.h:
(HTMLPlugInImageElement):

* rendering/RenderObject.h:
(WebCore::RenderObject::isSnapshottedPlugIn): Add new function to identify
RenderSnapshottedPlugIn instances. Since RenderSnapshottedPlugIn inherits from
RenderEmbeddedObject, isEmbeddedObject() still returns true.
* rendering/RenderEmbeddedObject.h:
(RenderEmbeddedObject): Elevate a few virtual methods to protected for
RenderSnapshottedPlugIn to override.

* rendering/RenderSnapshottedPlugIn.cpp: Added.
(WebCore::RenderSnapshottedPlugIn::RenderSnapshottedPlugIn): Initialize snapshot
resource.
(WebCore::RenderSnapshottedPlugIn::~RenderSnapshottedPlugIn): Shut down snapshot
image resource to remove the renderer as a client, and remove image from memory cache.
(WebCore::RenderSnapshottedPlugIn::plugInImageElement): Convenience function to get the
HTML element.
(WebCore::RenderSnapshottedPlugIn::updateSnapshot): Cache the snapshot, and repaint.
(WebCore::RenderSnapshottedPlugIn::paint): If the plugin is not playing, paint like a
RenderImage does.
(WebCore::RenderSnapshottedPlugIn::paintReplaced): Paint the snapshot and overlay if the
plugin is not playing.
(WebCore::RenderSnapshottedPlugIn::paintReplacedSnapshot): Inspired by
RenderImage::paintReplaced() and RenderImage::paintIntoRect().
* rendering/RenderSnapshottedPlugIn.h: Added.
(WebCore::RenderSnapshottedPlugIn::isSnapshottedPlugin): Returns true.

* rendering/RenderTheme.h: Add a function that paints the overlay on top of the snapshot.
* rendering/RenderThemeMac.h:
* rendering/RenderThemeMac.mm:
(WebCore::RenderThemeMac::paintPlugInSnapshotOverlay):

* WebCore.xcodeproj/project.pbxproj: Add new RenderSnapshottedPlugIn class.
* CMakeLists.txt: Ditto.
* GNUmakefile.list.am: Ditto.
* Target.pri: Ditto.
* WebCore.gypi: Ditto.
* WebCore.vcproj/WebCore.vcproj: Ditto.
* rendering/RenderingAllInOne.cpp: Ditto.

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

7 years ago[CSS Exclusions] Add support for polygonal shapes
commit-queue@webkit.org [Mon, 8 Oct 2012 21:20:15 +0000 (21:20 +0000)]
[CSS Exclusions] Add support for polygonal shapes
https://bugs.webkit.org/show_bug.cgi?id=96811

Patch by Hans Muller <hmuller@adobe.com> on 2012-10-08
Reviewed by Dirk Schulze.

Source/WebCore:

Initial version of the layout support for polygonal exclusion shapes: the ExclusionPolygon class.
Supports the public ExclusionShape operations using the algorithm described here:
http://hansmuller-webkit.blogspot.com/2012/06/horizontal-box-polygon-intersection-for.html.
Although both the "included" and "excluded" operations are supported, only the former is
used, since only shape-inside is supported at the moment.

The ExclusionPolygon class stores the polygon's edges in an interval tree.

Polygon edges are represented by the ExclusionPolygonEdge struct, which records the indices of
the pair of vertices joined by the edge.  Edge vertex index1 is usually less than index2, except
the last edge where index2 is 0.  We plan to improve the algorithm that creates the edges
by spanning vertices contained in sequences of more than two colinear vertices. For example,
a triangular polygon might be specified with 5 vertices like this: 3,0 5,0, 5,5, 4,4 2,2, 0,0.
By spanning the extra colinear points: 0,0 5,0, 5,5, which implies index1-index2 edges: 5-1 1-2 2-5.

Although the implementation supports complex polygons, the layout code is limited to
essentially rectangular shapes until a patch for https://bugs.webkit.org/show_bug.cgi?id=96813
lands.

Tests: fast/exclusions/shape-inside/shape-inside-polygon-rectangle.html
       fast/exclusions/shape-inside/shape-inside-simple-polygon-001.html
       fast/exclusions/shape-inside/shape-inside-simple-polygon-002.html
       fast/exclusions/shape-inside/shape-inside-simple-polygon-003.html
       fast/exclusions/shape-inside/shape-inside-simple-polygon-004.html

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* rendering/ExclusionPolygon.cpp: Added.
(WebCore):
(EdgeIntersection): Internal description of the intersection of a polygon edge and a horizontal line.
(WebCore::ExclusionPolygon::ExclusionPolygon): See the introductory text above for a description of this type.
(WebCore::computeXIntersection): Find and classify the X intercept of a polygon edge with horizontal line, if any.
(WebCore::ExclusionPolygon::rightVertexY): This method is used to decide if a horizontal line "crosses" a vertex.
(WebCore::appendIntervalX): Append an x coordinate to a vector of ExclusionIntervals.
(WebCore::ExclusionPolygon::computeXIntersections): Return a vector of the intersections of a horizontal line with the polygon's edges.
(WebCore::ExclusionPolygon::computeEdgeIntersections): Return a vector of the X projections of the edges that overlap a horizonal rectangle.
(WebCore::ExclusionPolygon::getExcludedIntervals): Return a SegmentList of the X intervals within a horizontal rectangle that overlap the polygon.
(WebCore::ExclusionPolygon::getIncludedIntervals): Return the X intervals within a horizontal rectangle that fit inside the polygon.
* rendering/ExclusionPolygon.h: Added.
(WebCore):
(ExclusionPolygon):
(WebCore::ExclusionPolygon::getXAt): X coordinate of a polygon vertex
(WebCore::ExclusionPolygon::getYAt): Y coordinate of a polygon vertex
(WebCore::ExclusionPolygon::numberOfVertices):
(WebCore::ExclusionPolygon::fillRule): A WindRule value that defines "inside" for self-intersecting polygons.
(ExclusionPolygonEdge):
(WebCore::ExclusionPolygonEdge::ExclusionPolygonEdge):
(WebCore::ExclusionPolygonEdge::vertex1):
(WebCore::ExclusionPolygonEdge::vertex2):
(WebCore::ExclusionPolygonEdge::minX):
(WebCore::ExclusionPolygonEdge::minY):
(WebCore::ExclusionPolygonEdge::maxX):
(WebCore::ExclusionPolygonEdge::maxY):
* rendering/ExclusionShape.cpp:
(WebCore::createExclusionPolygon): Return a new ExclusionPolygon.
(WebCore):
(WebCore::ExclusionShape::createExclusionShape): Added support for BasicShape::BASIC_SHAPE_POLYGON.
* rendering/ExclusionShapeInsideInfo.cpp:
(WebCore::ExclusionShapeInsideInfo::isExclusionShapeInsideInfoEnabledForRenderBlock): Enable BASIC_SHAPE_POLYGON shapes for RenderBlocks.

LayoutTests:

Verify that a rectangular shape-inside specified as a polygon works as expected for all
writing-modes.

Added exclusions tests for non-complex concave shape-inside polygons as well.
The shapes in this set of tests are "rectangular" in the sense that
horizontal lines that overlap the polygon only cross the polygon twice.
The expected part of each test uses float "sandbags" to simulate the
shape-inside area in the test expectations. The  tests use SVG to
display the polygon itself, to simplify visual inspection.
(See http://www.alistapart.com/articles/sandbags/).

* fast/exclusions/shape-inside/shape-inside-polygon-rectangle-expected.html: Added.
* fast/exclusions/shape-inside/shape-inside-polygon-rectangle.html: Added.
* fast/exclusions/resources/simple-polygon.js: Added.
(createPolygon):
(polygonXIntercepts):
(generatePolygonContentString):
(simulatePolygonShape):
(generateSimulatedPolygonShapeInsideElement):
(positionInformativeText):
(createPolygonShapeInsideTestCase):
(createPolygonShapeInsideTestCaseExpected):
* fast/exclusions/shape-inside/shape-inside-simple-polygon-001-expected.html: Added.
* fast/exclusions/shape-inside/shape-inside-simple-polygon-001.html: Added.
* fast/exclusions/shape-inside/shape-inside-simple-polygon-002-expected.html: Added.
* fast/exclusions/shape-inside/shape-inside-simple-polygon-002.html: Added.
* fast/exclusions/shape-inside/shape-inside-simple-polygon-003-expected.html: Added.
* fast/exclusions/shape-inside/shape-inside-simple-polygon-003.html: Added.
* fast/exclusions/shape-inside/shape-inside-simple-polygon-004-expected.html: Added.
* fast/exclusions/shape-inside/shape-inside-simple-polygon-004.html: Added.

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

7 years agoReplace 2 uses of updateLogicalHeight with computeLogicalHeight
tony@chromium.org [Mon, 8 Oct 2012 21:16:27 +0000 (21:16 +0000)]
Replace 2 uses of updateLogicalHeight with computeLogicalHeight
https://bugs.webkit.org/show_bug.cgi?id=98677

Reviewed by Ojan Vafai.

This is part of bug 96804.  Convert RenderTextControl and RenderSVGForeignObject to
override the const computeLogicalHeight method rather than the updateLogicalHeight
setter method.

No new tests, there should be no behavior change as this is just a refactor.

* rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::computeLogicalHeight): Pass logicalHeight through rather than setting height.
This is a slight correctness fix, although we don't support vertical inputs yet.
* rendering/RenderTextControl.h:
(RenderTextControl):
* rendering/svg/RenderSVGForeignObject.cpp:
(WebCore::RenderSVGForeignObject::computeLogicalHeight):
* rendering/svg/RenderSVGForeignObject.h:
(RenderSVGForeignObject):

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

7 years ago[Qt] Unreviewed gardening. Add PNGs after r130653,
ossy@webkit.org [Mon, 8 Oct 2012 21:16:06 +0000 (21:16 +0000)]
[Qt] Unreviewed gardening. Add PNGs after r130653,
and skip tests on Qt-WK2, because they fail on it.

* platform/qt-5.0-wk2/TestExpectations:
* platform/qt/fast/ruby/rubyDOM-insert-rt-expected.png: Added.
* platform/qt/fast/ruby/rubyDOM-insert-text1-expected.png: Added.
* platform/qt/fast/ruby/rubyDOM-insert-text2-expected.png: Added.
* platform/qt/fast/ruby/rubyDOM-insert-text3-expected.png: Added.
* platform/qt/fast/ruby/rubyDOM-remove-rt1-expected.png: Added.
* platform/qt/fast/ruby/rubyDOM-remove-rt2-expected.png: Added.
* platform/qt/fast/ruby/rubyDOM-remove-text1-expected.png: Added.
* platform/qt/fast/ruby/rubyDOM-remove-text2-expected.png: Added.

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

7 years agoUnreviewed Chromium gardening.
jchaffraix@webkit.org [Mon, 8 Oct 2012 21:10:56 +0000 (21:10 +0000)]
Unreviewed Chromium gardening.

Rebaselined those 2 tables/ tests that were forgotten in the rebaselining after r103875.
https://bugs.webkit.org/show_bug.cgi?id=74888 was opened to track those rebaselining but
it looks like some platform fell through the cracks.

* platform/chromium/TestExpectations:
Removed the 2 entries.

* platform/chromium-mac-snowleopard/tables/mozilla_expected_failures/core/captions1-expected.png: Added.
* platform/chromium-mac-snowleopard/tables/mozilla_expected_failures/core/captions2-expected.png: Added.
* platform/chromium-mac/tables/mozilla_expected_failures/core/captions1-expected.png: Added.
* platform/chromium-mac/tables/mozilla_expected_failures/core/captions1-expected.txt: Added.
* platform/chromium-mac/tables/mozilla_expected_failures/core/captions2-expected.png: Added.
* platform/chromium-mac/tables/mozilla_expected_failures/core/captions2-expected.txt: Added.
Progression: the table captions are larger, which matches other browsers and other platforms' baselines.

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

7 years agoUpstream some tweaks for overlay play button on Android
commit-queue@webkit.org [Mon, 8 Oct 2012 20:58:38 +0000 (20:58 +0000)]
Upstream some tweaks for overlay play button on Android
https://bugs.webkit.org/show_bug.cgi?id=98671

Patch by Min Qin <qinmin@chromium.org> on 2012-10-08
Reviewed by Adam Barth.

This change stops displaying the overlay play button if video height is too small
No test for this. Will rebase layout test expectations for android later.

* css/mediaControlsChromiumAndroid.css:
(video::-webkit-media-controls-overlay-enclosure):

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

7 years agoGTK port should warn if bug modifier is missing in TestExpectations
zandobersek@gmail.com [Mon, 8 Oct 2012 20:54:48 +0000 (20:54 +0000)]
GTK port should warn if bug modifier is missing in TestExpectations
https://bugs.webkit.org/show_bug.cgi?id=98678

Reviewed by Dirk Pranke.

Tools:

Reimplement the warn_if_bug_missing_in_test_expectations method in
GtkPort, returning True for producing a warning in such cases.

* Scripts/webkitpy/layout_tests/port/gtk.py:
(GtkPort.warn_if_bug_missing_in_test_expectations):

LayoutTests:

Add generic Bug(GTK) modifiers for two test expectations.

* platform/gtk/TestExpectations:

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

7 years agoSuppress editing/pasteboard/data-transfer-items.html failure.
dpranke@chromium.org [Mon, 8 Oct 2012 20:48:09 +0000 (20:48 +0000)]
Suppress editing/pasteboard/data-transfer-items.html failure.
https://bugs.webkit.org/show_bug.cgi?id=98686

Unreviewed, expectations change.

* platform/chromium/TestExpectations:

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

7 years agoAdd missing compile flag for compositing
commit-queue@webkit.org [Mon, 8 Oct 2012 20:47:44 +0000 (20:47 +0000)]
Add missing compile flag for compositing
https://bugs.webkit.org/show_bug.cgi?id=98681

Patch by Rik Cabanier <cabanier@adobe.com> on 2012-10-08
Reviewed by Dirk Schulze.

This flag is needed in case there is a difference in API
when compositing is enabled

* Configurations/FeatureDefines.xcconfig:

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

7 years agoUnreviewed rebaselining after r130598 and r130600.
jchaffraix@webkit.org [Mon, 8 Oct 2012 20:26:18 +0000 (20:26 +0000)]
Unreviewed rebaselining after r130598 and r130600.

* platform/chromium-linux-x86/svg/filters/filterRes-expected.txt:
This baseline was forgotten.

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

7 years ago[EFL][WK2] EWK2UnitTestBase.ewk_cookie_manager_accept_policy unit test is failing
commit-queue@webkit.org [Mon, 8 Oct 2012 20:22:42 +0000 (20:22 +0000)]
[EFL][WK2] EWK2UnitTestBase.ewk_cookie_manager_accept_policy unit test is failing
https://bugs.webkit.org/show_bug.cgi?id=98663

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-08
Reviewed by Laszlo Gombos.

EWK2UnitTestBase.ewk_cookie_manager_accept_policy unit test was
failing because the elements of a list were checked in a given
order but the list was not sorted beforehand.

* UIProcess/API/efl/tests/test_ewk2_cookie_manager.cpp:
(sortHostNames):
(TEST_F):

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

7 years agoSome GraphicsLayer cleanup to separate the concepts of using a tile cache, and being...
simon.fraser@apple.com [Mon, 8 Oct 2012 20:10:22 +0000 (20:10 +0000)]
Some GraphicsLayer cleanup to separate the concepts of using a tile cache, and being the main tile cache layer
https://bugs.webkit.org/show_bug.cgi?id=98574

Reviewed by Dean Jackson.

GraphicsLayerCA assumed that using a TileCache equated to being the main page tile
cache layer, which has some special considerations. Make these two concepts separate
to get closer to being able to use TileCaches in place of CATiledLayer.

Source/WebCore:

* platform/graphics/GraphicsLayer.h:
(GraphicsLayer): Remove m_usingTileCache member, which was not appropriate
for this class to have.
* platform/graphics/GraphicsLayer.cpp:
(WebCore::GraphicsLayer::GraphicsLayer): Remove init of m_usingTileCache.
(WebCore::GraphicsLayer::debugBorderInfo): Can no longer use m_usingTileCache to
get the blue color, so moved code into a virtual debugBorderInfo() method.
(WebCore::GraphicsLayer::updateDebugIndicators): Call the virtual debugBorderInfo().
* platform/graphics/GraphicsLayerClient.h: Remove the usingTileCache() callback;
we now just cache this information in the GraphicsLayerCA on creation.
* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::GraphicsLayerCA): Init m_isPageTileCacheLayer to false,
then set to m_isPageTileCacheLayer if the client says we should create a tile cache.
(WebCore::GraphicsLayerCA::platformCALayerShowRepaintCounter): Overidden to avoid duplicate repaint
counters in the top-left tile.
(WebCore::GraphicsLayerCA::updateLayerBackgroundColor): If this layer is the page tile cache layer,
we allow setting of its background color.
(WebCore::GraphicsLayerCA::debugBorderInfo): Overidden to use a blue color for tiles.
(WebCore::GraphicsLayerCA::requiresTiledLayer): Don't make CATiledLayers for the page tile cache.
* platform/graphics/ca/GraphicsLayerCA.h:
(GraphicsLayerCA):
* platform/graphics/ca/PlatformCALayerClient.h:
(PlatformCALayerClient): Need to pass the platform layer into platformCALayerShowRepaintCounter()
so we can distinguish between calls for tiles, and calls for the tile cache layer itself.
* platform/graphics/ca/mac/TileCache.mm:
(WebCore::TileCache::shouldShowRepaintCounters): Pass 0 to platformCALayerShowRepaintCounter() to
indicate that we're asking about a tile.
* platform/graphics/mac/WebLayer.mm:
(drawLayerContents): Now we can just rely on platformCALayerShowRepaintCounter() to tell us whether
to draw the repaint counter.
(-[WebLayer setNeedsDisplayInRect:]):
* platform/graphics/mac/WebTiledLayer.mm:
(-[WebTiledLayer setNeedsDisplayInRect:]):
* rendering/RenderLayerBacking.h:
(WebCore::RenderLayerBacking::usingTileCache):
(RenderLayerBacking):
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::documentBackgroundColorDidChange): We can ask the RenderLayerBacking
whether it's for the tile cache, rather than going to the GraphicsLayer.
* platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
(WebCore::MediaPlayerPrivateQuickTimeVisualContext::LayerClient::platformCALayerShowRepaintCounter):

Source/WebKit/win:

* FullscreenVideoController.cpp:
(FullscreenVideoController::LayerClient::platformCALayerShowRepaintCounter):

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

7 years ago[Qt] new test introduced in r120354 fails on Qt
commit-queue@webkit.org [Mon, 8 Oct 2012 19:46:06 +0000 (19:46 +0000)]
[Qt] new test introduced in r120354 fails on Qt
https://bugs.webkit.org/show_bug.cgi?id=91968

Patch by Tullio Lucena <tullio.lucena@openbossa.org> on 2012-10-08
Reviewed by Kenneth Rohde Christiansen.

Unskipping test.

* platform/qt/TestExpectations:

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

7 years agoUnreviewed. Rolled DEPS.
abarth@webkit.org [Mon, 8 Oct 2012 19:33:39 +0000 (19:33 +0000)]
Unreviewed.  Rolled DEPS.

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

* DEPS:

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

7 years ago[EFL][DRT] Switch default backing store to single
ryuan.choi@samsung.com [Mon, 8 Oct 2012 19:18:27 +0000 (19:18 +0000)]
[EFL][DRT] Switch default backing store to single
https://bugs.webkit.org/show_bug.cgi?id=98591

Reviewed by Eric Seidel.

There are two backing stores for WebKit/Efl, Single Backing Store(SBS) and
Tiled Backing Store(TBS), and DRT/Efl has used TBS.
But, TBS is not suitable to run pixel tests because it does not have a good way
to render mock scrollbars well.

So, this patch changes the default backing store to SBS.
In addition, this changes the environment variable from DRT_USE_SINGLE_BACKING_STORE
to DRT_USE_TILED_BACKING_STORE.

* DumpRenderTree/efl/DumpRenderTreeView.cpp:
(shouldUseTiledBackingStore):
(chooseAndInitializeAppropriateSmartClass):

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

7 years ago[Qt] Make ImageBufferQt use premultiplied converting functions in Color.h instead...
commit-queue@webkit.org [Mon, 8 Oct 2012 19:14:53 +0000 (19:14 +0000)]
[Qt] Make ImageBufferQt use premultiplied converting functions in Color.h instead of its own mechanism.
https://bugs.webkit.org/show_bug.cgi?id=98582

Patch by Huang Dongsung <luxtella@company100.net> on 2012-10-08
Reviewed by Eric Seidel.

Source/WebCore:

Only Qt port failed canvas/philip/tests/2d.imageData.put.unchanged.html because
ImageBufferQt converts from or to a premultiplied color using its own code. When
we convert twice from an unmultiplied color to a premultiplied color and then to
an unmultiplied color using this code, the calculated result are pretty
different against the input color. It is why Gtk passes this test although Qt
fails. Gtk port uses them in Color.h.

In addition, Qt should use the functions in Color.h to reduce duplicated codes.

Tests: canvas/philip/tests/2d.imageData.put.unchanged.html: Fixed a test case

* platform/graphics/qt/ImageBufferQt.cpp:
(WebCore::getImageData):
(WebCore::convertBGRAToRGBA):
(WebCore::ImageBuffer::putByteArray):

LayoutTests:

Unskipping canvas/philip/tests/2d.imageData.put.unchanged.html that is passing.

* platform/qt/TestExpectations:

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

7 years ago[EFL][WK2] Avoid useless converting to WKPage
commit-queue@webkit.org [Mon, 8 Oct 2012 19:10:58 +0000 (19:10 +0000)]
[EFL][WK2] Avoid useless converting to WKPage
https://bugs.webkit.org/show_bug.cgi?id=98516

Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-10-08
Reviewed by Eric Seidel.

Use priv->pageProxy->findString() and priv->pageProxy->hideFindUI()
to avoid useless converting to WK.

* UIProcess/API/efl/ewk_view.cpp:
(ewk_view_text_find):
(ewk_view_text_find_highlight_clear):

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

7 years agoFix video-test.js relativeURL() bug
commit-queue@webkit.org [Mon, 8 Oct 2012 19:07:33 +0000 (19:07 +0000)]
Fix video-test.js relativeURL() bug
https://bugs.webkit.org/show_bug.cgi?id=98546

Patch by Shadi Khalek <shadi@chromium.org> on 2012-10-08
Reviewed by Eric Seidel.

Some layout tests failed due to this bug (crbug.com/154157)

* media/video-test.js:
(testArraysEqual):
(relativeURL):

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

7 years agoPerf test pesults page takes forever to load on a machine with a slow Internet connection
rniwa@webkit.org [Mon, 8 Oct 2012 19:02:06 +0000 (19:02 +0000)]
Perf test pesults page takes forever to load on a machine with a slow Internet connection
https://bugs.webkit.org/show_bug.cgi?id=98561

Reviewed by Ojan Vafai.

Try loading jquery both locally and remotely, and use the same method to load the remaining
jquery plugins when either one succeeds.

* resources/results-template.html:

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

7 years agoRemove "orphaned units" quirk
commit-queue@webkit.org [Mon, 8 Oct 2012 19:00:38 +0000 (19:00 +0000)]
Remove "orphaned units" quirk
https://bugs.webkit.org/show_bug.cgi?id=98553

Patch by Tab Atkins <jackalmage@gmail.com> on 2012-10-08
Reviewed by Eric Seidel.

This patch removes our "orphaned units" quirk.
We have an "orphaned units" quirk to match IE, which allows things like "width: 20 px;".
But FF and Opera don't have it and aren't aware of bugs for it,
and it's not in Simon Pieters' Quirks Mode spec <http://dvcs.w3.org/hg/quirks-mode/raw-file/tip/Overview.html>

No new tests, because I'm killing a quirk.

* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
* css/CSSParser.h:
(CSSParser):

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

7 years agoAdditional fast/repaint Chromium rebaseline.
jchaffraix@webkit.org [Mon, 8 Oct 2012 18:57:05 +0000 (18:57 +0000)]
Additional fast/repaint Chromium rebaseline.

Rebaselined more tests on Chromium Mac. Same as r130654 but there
is some anti-aliasing differences on transformed lines.

* platform/chromium/TestExpectations:
Removed the rebaselined tests.

* fast/repaint/table-section-repaint-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/repaint/overflow-outline-repaint-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/table-collapsed-border-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/text-append-dirty-lines-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/text-selection-rect-in-overflow-2-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/text-selection-rect-in-overflow-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/transform-relative-position-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/transform-repaint-descendants-expected.png: Added.
* platform/chromium-mac/fast/repaint/overflow-outline-repaint-expected.png: Added.
* platform/chromium-mac/fast/repaint/table-col-background-expected.png: Added.
* platform/chromium-mac/fast/repaint/table-collapsed-border-expected.png: Added.
* platform/chromium-mac/fast/repaint/table-outer-border-expected.png: Added.
* platform/chromium-mac/fast/repaint/table-row-expected.png: Added.
* platform/chromium-mac/fast/repaint/table-section-overflow-expected.png: Added.
* platform/chromium-mac/fast/repaint/table-section-repaint-expected.png: Added.
* platform/chromium-mac/fast/repaint/table-two-pass-layout-overpaint-expected.png: Added.
* platform/chromium-mac/fast/repaint/text-append-dirty-lines-expected.png: Added.
* platform/chromium-mac/fast/repaint/text-selection-rect-in-overflow-2-expected.png: Added.
* platform/chromium-mac/fast/repaint/text-selection-rect-in-overflow-expected.png: Added.
* platform/chromium-mac/fast/repaint/transform-absolute-child-expected.png: Added.
* platform/chromium-mac/fast/repaint/transform-disable-layoutstate-expected.png: Added.
* platform/chromium-mac/fast/repaint/transform-relative-position-expected.png: Added.
* platform/chromium-mac/fast/repaint/transform-repaint-descendants-expected.png: Added.
* platform/chromium-win/fast/repaint/table-section-repaint-expected.txt: Removed.
* platform/chromium/fast/repaint/table-section-repaint-expected.txt: Added.
* platform/efl/fast/repaint/table-section-repaint-expected.txt: Removed.
* platform/gtk/fast/repaint/table-section-repaint-expected.txt: Removed.
* platform/qt/fast/repaint/table-section-repaint-expected.txt: Removed.

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

7 years agoUnreviewed GTK gardening.
zandobersek@gmail.com [Mon, 8 Oct 2012 18:50:23 +0000 (18:50 +0000)]
Unreviewed GTK gardening.

Rebaselining SVG tests after changes in r130599.

* platform/gtk/TestExpectations:
* platform/gtk/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1/coords-units-01-b-expected.png:
* platform/gtk/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.png:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-04-b-expected.png:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-04-b-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-05-b-expected.png:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-05-b-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.png:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.png:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-11-b-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.png:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.png:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-14-b-expected.png:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-14-b-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-15-b-expected.png:
* platform/gtk/svg/W3C-SVG-1.1/pservers-grad-15-b-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1/struct-use-05-b-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1/styling-inherit-01-b-expected.png:
* platform/gtk/svg/W3C-SVG-1.1/styling-inherit-01-b-expected.txt:
* platform/gtk/svg/batik/paints/gradientLimit-expected.png:
* platform/gtk/svg/batik/paints/gradientLimit-expected.txt:
* platform/gtk/svg/batik/paints/patternRegions-expected.png:
* platform/gtk/svg/batik/paints/patternRegions-expected.txt:
* platform/gtk/svg/batik/paints/patternRegions-positioned-objects-expected.png:
* platform/gtk/svg/batik/paints/patternRegions-positioned-objects-expected.txt:
* platform/gtk/svg/batik/text/textEffect-expected.png:
* platform/gtk/svg/batik/text/textEffect-expected.txt: Added.
* platform/gtk/svg/batik/text/textEffect3-expected.png:
* platform/gtk/svg/batik/text/textEffect3-expected.txt: Added.
* platform/gtk/svg/custom/gradient-deep-referencing-expected.png:
* platform/gtk/svg/custom/gradient-deep-referencing-expected.txt:
* platform/gtk/svg/custom/gradient-with-1d-boundingbox-expected.png: Added.
* platform/gtk/svg/custom/gradient-with-1d-boundingbox-expected.txt:
* platform/gtk/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.png:
* platform/gtk/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.txt: Added.
* platform/gtk/svg/custom/radialGradient-focal-radius-expected.png: Added.
* platform/gtk/svg/custom/radialGradient-focal-radius-expected.txt: Added.
* platform/gtk/svg/custom/recursive-gradient-expected.png:
* platform/gtk/svg/custom/recursive-gradient-expected.txt:
* platform/gtk/svg/custom/relative-sized-content-with-resources-expected.png:
* platform/gtk/svg/custom/relative-sized-content-with-resources-expected.txt:
* platform/gtk/svg/custom/stroked-pattern-expected.png:
* platform/gtk/svg/custom/stroked-pattern-expected.txt:
* platform/gtk/svg/hixie/perf/006-expected.png:
* platform/gtk/svg/hixie/perf/006-expected.txt:

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

7 years agoaudiobuffer.html need to include audio-testing.js file.
commit-queue@webkit.org [Mon, 8 Oct 2012 18:46:21 +0000 (18:46 +0000)]
audiobuffer.html need to include audio-testing.js file.
https://bugs.webkit.org/show_bug.cgi?id=98641

Patch by Dongwoo Joshua Im <dw.im@samsung.com> on 2012-10-08
Reviewed by Eric Seidel.

As we discussed at the bug https://bugs.webkit.org/show_bug.cgi?id=88624,
WebAudio tests need to include audio-testing.js file to set WebKitWebAudioEnabled.

* webaudio/audiobuffer.html: Include audio-testing.js file.

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

7 years agoAfter r130344, OpaqueJSString() creates an empty string which should be a null string
msaboff@apple.com [Mon, 8 Oct 2012 18:46:20 +0000 (18:46 +0000)]
After r130344, OpaqueJSString() creates an empty string which should be a null string
https://bugs.webkit.org/show_bug.cgi?id=98417

Reviewed by Sam Weinig.

Changed create() of a null string to return 0. This is the same behavior as before r130344.

* API/OpaqueJSString.cpp:
(OpaqueJSString::create):

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

7 years agoBorder, margin and padding of an inline's inline ancestors counted twice
robert@webkit.org [Mon, 8 Oct 2012 18:44:03 +0000 (18:44 +0000)]
Border, margin and padding of an inline's inline ancestors counted twice
https://bugs.webkit.org/show_bug.cgi?id=63074

Reviewed by David Hyatt.

Source/WebCore:

In a line such as '<span><span><img>Text' the border, padding and margin belonging
to the two spans was counted twice by RenderBlockLineLayout::nextLineBreak(): once
when adding the width of the <img> object to the line, and a second time when adding
the 'Text'. The result was that nextLineBreak() now had a length for the line that
exceeded the line's maximum length and inserted a bogus line break.

This all happened because the helper function that is used to add in the border etc.
from inline ancestors was crawling up the tree each time. It doesn't need to do that, it
should stop crawling up the tree when the current object is not the first or last sibling below a parent.

Test: fast/inline/bpm-inline-ancestors.html

* rendering/RenderBlockLineLayout.cpp:
(WebCore::shouldAddBorderPaddingMargin): Broke this check out into a helper function so that it
can help inlineLogicalWidth() return early and also treat empty RenderTexts the same as no previous/next
sibling on the line. This ensures that collapsed leading space does not interfere with the decision to
crawl up the ancestors accumulating border, padding, and margin.
(WebCore):
(WebCore::inlineLogicalWidth): Return early once the current child is no longer on the edge of its line -
this ensures the border, padding and margin of ancestors is not counted twice.

LayoutTests:

* fast/inline/bpm-inline-ancestors-expected.html: Added.
* fast/inline/bpm-inline-ancestors.html: Added.

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

7 years ago[WK2][WTR] WebKitTestRunner needs testRunner.dispatchPendingLoadRequests
commit-queue@webkit.org [Mon, 8 Oct 2012 18:40:58 +0000 (18:40 +0000)]
[WK2][WTR] WebKitTestRunner needs testRunner.dispatchPendingLoadRequests
https://bugs.webkit.org/show_bug.cgi?id=98638

Patch by Sudarsana Nagineni <sudarsana.nagineni@intel.com> on 2012-10-08
Reviewed by Eric Seidel.

Source/WebKit2:

Add implementation for testRunner.dispatchPendingLoadRequests in
WebKitTestRunner.

* WebProcess/InjectedBundle/API/c/WKBundle.cpp:
(WKBundleDispatchPendingLoadRequests):
* WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::dispatchPendingLoadRequests):
(WebKit):
* WebProcess/InjectedBundle/InjectedBundle.h:
(InjectedBundle):

Tools:

Add implementation for testRunner.dispatchPendingLoadRequests in
WebKitTestRunner.

* WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
* WebKitTestRunner/InjectedBundle/TestRunner.cpp:
(WTR::TestRunner::dispatchPendingLoadRequests):
(WTR):
* WebKitTestRunner/InjectedBundle/TestRunner.h:
(TestRunner):

LayoutTests:

Unskip http/tests/loading/deleted-host-in-resource-load-delegate-callback.html

* platform/wk2/TestExpectations:

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

7 years ago[EFL] Skip http/tests/multipart/multipart-html.php while we wait for kov's patch.
rakuco@webkit.org [Mon, 8 Oct 2012 18:37:57 +0000 (18:37 +0000)]
[EFL] Skip http/tests/multipart/multipart-html.php while we wait for kov's patch.

* platform/efl/TestExpectations:

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

7 years ago[EFL][WK2] Add support for window.close in Minibrowser
commit-queue@webkit.org [Mon, 8 Oct 2012 18:37:40 +0000 (18:37 +0000)]
[EFL][WK2] Add support for window.close in Minibrowser
https://bugs.webkit.org/show_bug.cgi?id=98667

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-08
Reviewed by Laszlo Gombos.

When calling window.close() from JavaScript, MiniBrowser
now closes the given window.

* MiniBrowser/efl/main.c:
(window_close):
(on_ecore_evas_delete):
(on_close_window):
(window_create):

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

7 years agoProperly strip new tests from the test results json if they are pass/nodata/skip.
ojan@chromium.org [Mon, 8 Oct 2012 18:35:35 +0000 (18:35 +0000)]
Properly strip new tests from the test results json if they are pass/nodata/skip.
https://bugs.webkit.org/show_bug.cgi?id=98669

Reviewed by Eric Seidel.

In _merge_json, we had a codepath that didn't call _normalize_results_json
for tests that aren't already in the aggregated results.
Instead, now do all the merging first and then normalize the aggregated results.

* TestResultServer/model/jsonresults.py:
(JsonResults._merge_json):
(JsonResults._merge_tests):
(JsonResults._normalize_results):
(JsonResults):
(JsonResults._should_delete_leaf):
* TestResultServer/model/jsonresults_unittest.py:
Removed test_merge_build_directory_hierarchy_old_version since there is
no longer any version 3 json to support.
(JsonResultsTest.test_merge_remove_new_test):
(JsonResultsTest.test_merge_prune_extra_results_with_new_result_of_same_type):

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

7 years ago[EFL][WK2] Simplify frame flattening support in MiniBrowser
commit-queue@webkit.org [Mon, 8 Oct 2012 18:23:05 +0000 (18:23 +0000)]
[EFL][WK2] Simplify frame flattening support in MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=98657

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

Simplify frame flattening support code in MiniBrowser to
avoid passing the setting around to window_create()
function().

* MiniBrowser/efl/main.c:
(on_key_down):
(on_new_window):
(window_create):
(main):

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

7 years agoNull-check for DOMWindow before feeding it to FeatureObserver.
mkwst@chromium.org [Mon, 8 Oct 2012 18:15:01 +0000 (18:15 +0000)]
Null-check for DOMWindow before feeding it to FeatureObserver.
https://bugs.webkit.org/show_bug.cgi?id=98624

Reviewed by Adam Barth.

Source/WebCore:

We shouldn't call out to FeatureObserver in
ContentSecurityPolicy::didReceiveHeader if the policy's document doesn't
have a DOMWindow.

Test: http/tests/security/contentSecurityPolicy/xmlhttprequest-protected-resource-does-not-crash.html

* page/ContentSecurityPolicy.cpp:
(WebCore::ContentSecurityPolicy::didReceiveHeader):
    Null check 'document->domWindow' before passing it on.
* page/FeatureObserver.cpp:
(WebCore::FeatureObserver::observe):
    ASSERT 'domWindow'.

LayoutTests:

* http/tests/security/contentSecurityPolicy/xmlhttprequest-protected-resource-does-not-crash-expected.txt: Added.
* http/tests/security/contentSecurityPolicy/xmlhttprequest-protected-resource-does-not-crash.html: Added.
    This test shouldn't crash.

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

7 years ago[EFL] Add minimum version information for tool dependencies
commit-queue@webkit.org [Mon, 8 Oct 2012 18:10:17 +0000 (18:10 +0000)]
[EFL] Add minimum version information for tool dependencies
https://bugs.webkit.org/show_bug.cgi?id=97592

Patch by Laszlo Gombos <l.gombos@samsung.com> on 2012-10-08
Reviewed by Kenneth Rohde Christiansen.

Capture the minimum version information for the tools that are required
to build the EFL port (or more generally WebKit).

* CMakeLists.txt:

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

7 years agoUnreviewed, new baseline for fast/table/colspanMinWidth-vertical.html.
tony@chromium.org [Mon, 8 Oct 2012 18:05:09 +0000 (18:05 +0000)]
Unreviewed, new baseline for fast/table/colspanMinWidth-vertical.html.

The baseline changed in http://trac.webkit.org/changeset/130569 because
controls should all be horizontal.

* platform/chromium-mac-snowleopard/fast/table/colspanMinWidth-vertical-expected.png:
* platform/chromium-mac/fast/table/colspanMinWidth-vertical-expected.png:
* platform/chromium-mac/fast/table/colspanMinWidth-vertical-expected.txt: Removed.
* platform/chromium-win/fast/table/colspanMinWidth-vertical-expected.png:
* platform/chromium/TestExpectations:
* platform/efl/fast/table/colspanMinWidth-vertical-expected.png: Removed.
* platform/gtk/TestExpectations:
* platform/gtk/fast/table/colspanMinWidth-vertical-expected.png: Removed.
* platform/gtk/fast/table/colspanMinWidth-vertical-expected.txt:
* platform/mac/TestExpectations:
* platform/mac/fast/table/colspanMinWidth-vertical-expected.png: Removed.
* platform/mac/fast/table/colspanMinWidth-vertical-expected.txt:
* platform/qt/TestExpectations:
* platform/qt/fast/table/colspanMinWidth-vertical-expected.png: Removed.
* platform/qt/fast/table/colspanMinWidth-vertical-expected.txt:
* platform/win/TestExpectations:
* platform/wincairo/TestExpectations:

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

7 years agoUnreviewed fast/repaint Chromium rebaselining.
jchaffraix@webkit.org [Mon, 8 Oct 2012 17:54:03 +0000 (17:54 +0000)]
Unreviewed fast/repaint Chromium rebaselining.

Rebaselined those tests on Chromium Mac. The differences fall in 3 buckets:
- the background has an alpha off-by-one (crbug.com/23473)
- the repaint rectangles are united (the Mac baselines don't do the union).
- On Lion, the font used is different.

* platform/chromium/TestExpectations:
Removed the rebaselined tests' entries.

* platform/chromium-mac-snowleopard/fast/repaint/bugzilla-5699-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/control-clip-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/create-layer-repaint-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/layout-state-only-positioned-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/line-in-scrolled-clipped-block-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/line-overflow-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/list-marker-2-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/make-children-non-inline-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/outline-child-repaint-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/outline-repaint-glitch-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/overflow-scroll-delete-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/reflection-redraw-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/rel-positioned-inline-with-overflow-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/selection-after-delete-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/selection-gap-overflow-scroll-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/stacked-diacritics-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/static-to-positioned-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/table-cell-move-expected.png: Added.
* platform/chromium-mac/fast/repaint/background-generated-expected.png: Added.
* platform/chromium-mac/fast/repaint/bugzilla-5699-expected.png: Added.
* platform/chromium-mac/fast/repaint/content-into-overflow-expected.png: Added.
* platform/chromium-mac/fast/repaint/control-clip-expected.png: Added.
* platform/chromium-mac/fast/repaint/control-clip-expected.txt:
* platform/chromium-mac/fast/repaint/create-layer-repaint-expected.png: Added.
* platform/chromium-mac/fast/repaint/intermediate-layout-position-clip-expected.png: Added.
* platform/chromium-mac/fast/repaint/intermediate-layout-position-expected.png: Added.
* platform/chromium-mac/fast/repaint/layout-state-only-positioned-expected.png: Added.
* platform/chromium-mac/fast/repaint/line-in-scrolled-clipped-block-expected.png: Added.
* platform/chromium-mac/fast/repaint/line-overflow-expected.png: Added.
* platform/chromium-mac/fast/repaint/list-marker-2-expected.png: Added.
* platform/chromium-mac/fast/repaint/make-children-non-inline-expected.png: Added.
* platform/chromium-mac/fast/repaint/outline-child-repaint-expected.png: Added.
* platform/chromium-mac/fast/repaint/outline-inset-expected.png: Added.
* platform/chromium-mac/fast/repaint/outline-repaint-glitch-expected.png: Added.
* platform/chromium-mac/fast/repaint/overflow-into-content-expected.png: Added.
* platform/chromium-mac/fast/repaint/overflow-scroll-delete-expected.png: Added.
* platform/chromium-mac/fast/repaint/reflection-redraw-expected.png: Added.
* platform/chromium-mac/fast/repaint/rel-positioned-inline-with-overflow-expected.png: Added.
* platform/chromium-mac/fast/repaint/selection-after-delete-expected.png: Added.
* platform/chromium-mac/fast/repaint/selection-gap-overflow-scroll-expected.png: Added.
* platform/chromium-mac/fast/repaint/stacked-diacritics-expected.png: Added.
* platform/chromium-mac/fast/repaint/static-to-positioned-expected.png: Added.
* platform/chromium-mac/fast/repaint/table-cell-move-expected.png: Added.
* platform/chromium-win/fast/repaint/box-shadow-inset-repaint-expected.png: Added.
* platform/mac-lion/fast/repaint: Removed.
* platform/mac-lion/fast/repaint/control-clip-expected.txt: Removed.

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

7 years ago[Qt] Add baselines to passing ruby DOM tests.
allan.jensen@digia.com [Mon, 8 Oct 2012 17:21:34 +0000 (17:21 +0000)]
[Qt] Add baselines to passing ruby DOM tests.

Unreviewed gardening.

* platform/qt/TestExpectations:
* platform/qt/fast/ruby/rubyDOM-insert-rt-expected.txt: Added.
* platform/qt/fast/ruby/rubyDOM-insert-text1-expected.txt: Added.
* platform/qt/fast/ruby/rubyDOM-insert-text2-expected.txt: Added.
* platform/qt/fast/ruby/rubyDOM-insert-text3-expected.txt: Added.
* platform/qt/fast/ruby/rubyDOM-remove-rt1-expected.txt: Added.
* platform/qt/fast/ruby/rubyDOM-remove-rt2-expected.txt: Added.
* platform/qt/fast/ruby/rubyDOM-remove-text1-expected.txt: Added.
* platform/qt/fast/ruby/rubyDOM-remove-text2-expected.txt: Added.

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

7 years ago[EFL] Use Ctrl+n shortcut to create a new window in MiniBrowser / EWebLauncher
commit-queue@webkit.org [Mon, 8 Oct 2012 17:13:48 +0000 (17:13 +0000)]
[EFL] Use Ctrl+n shortcut to create a new window in MiniBrowser / EWebLauncher
https://bugs.webkit.org/show_bug.cgi?id=98655

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

Use "Ctrl+n" shortcut instead of "F9" to open a new window in
MiniBrowser and EWebLauncher. This is the shortcut that is
commonly used for this action.

* EWebLauncher/main.c:
(on_key_down):
* MiniBrowser/efl/main.c:
(on_key_down):

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

7 years agoSource/WebCore: Loader cleanup : Simplify FrameLoader/DocumentLoader setupForReplace()
japhet@chromium.org [Mon, 8 Oct 2012 17:08:38 +0000 (17:08 +0000)]
Source/WebCore: Loader cleanup : Simplify FrameLoader/DocumentLoader setupForReplace()
https://bugs.webkit.org/show_bug.cgi?id=49072

Reviewed by Eric Seidel.

This patch contains one small known behavior change: multipart/x-mixed-replace main resources with text/html parts
will no longer load the text/html progressively. In practice, loading the html progressively causes the document
to get cleared as soon as the next part's data starts arriving, which leads to a blank page most of the time. This case
seems to be pathological, as IE, FF, Opera and WebKit all do something different currently. This patch will cause
us to behave like Firefox, which is the most sane of the current behaviors.

Test: http/tests/multipart/multipart-html.php

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::commitData): Use isMultipartReplacingLoad() helper.
(WebCore::DocumentLoader::receivedData):
(WebCore::DocumentLoader::setupForReplace): Renamed from setupForReplaceByMIMEType(). Call maybeFinishLoadingMultipartContent()
    instead of doing identical work inline. After we call frameLoader()->setReplacing(), we will never load progressively, so remove
    the if (doesProgressiveLoad(newMIMEType)) {} block.
(WebCore::DocumentLoader::isMultipartReplacingLoad):
(WebCore::DocumentLoader::maybeFinishLoadingMultipartContent): Inline the old DocumentLoader::setupForeReplace(), check
    frameLoader()->isReplacing() instead of the delete doesProgressiveLoad().
* loader/DocumentLoader.h:
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::setupForReplace): Move all calls to revertToProvisionalState here.
* loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::didReceiveResponse): Call setupForReplace(), renamed from setupForReplaceByMIMEType().

LayoutTests: Add a test for multipart/x-mixed-replace documents with text/html
parts.
https://bugs.webkit.org/show_bug.cgi?id=49072

Reviewed by Eric Seidel.

* http/tests/multipart/multipart-html-expected.txt: Added.
* http/tests/multipart/multipart-html.php: Added.

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

7 years ago[EFL] Skip svg/text/caret-in-svg-text.xhtml in WK1.
rakuco@webkit.org [Mon, 8 Oct 2012 17:06:38 +0000 (17:06 +0000)]
[EFL] Skip svg/text/caret-in-svg-text.xhtml in WK1.

* platform/efl-wk1/TestExpectations:

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

7 years agoUnreviewed gardening after r130587.
jchaffraix@webkit.org [Mon, 8 Oct 2012 16:53:03 +0000 (16:53 +0000)]
Unreviewed gardening after r130587.

Per discussion with Adam, this change lands the failing baselines to
get some coverage until V8 matches JSC. Fixing the baselines is
covered by https://bugs.webkit.org/show_bug.cgi?id=98658

* platform/chromium/TestExpectations:
Marked one of test as SLOW as it is timing out in Debug.

* platform/chromium/fast/dom/gc-12-expected.txt: Added.
* platform/chromium/fast/dom/gc-3-expected.txt: Added.
* platform/chromium/fast/dom/gc-5-expected.txt: Added.
* platform/chromium/fast/dom/gc-dom-tree-lifetime-expected.txt: Added.

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

7 years agoUnreviewed Qt gardening.
allan.jensen@digia.com [Mon, 8 Oct 2012 16:50:57 +0000 (16:50 +0000)]
Unreviewed Qt gardening.

Rebaseline Qt expectations for these passing tests.

* platform/qt/TestExpectations:
* platform/qt/fast/text/basic/013-expected.txt:
* platform/qt/fast/text/basic/015-expected.txt:
* platform/qt/fast/text/line-breaks-expected.txt:

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

7 years ago[EFL] Mark fast/dynamic/window-scrollbars-test.html as flaky.
rakuco@webkit.org [Mon, 8 Oct 2012 16:45:10 +0000 (16:45 +0000)]
[EFL] Mark fast/dynamic/window-scrollbars-test.html as flaky.

* platform/efl/TestExpectations:

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

7 years ago[EFL][WK2] Add support for window.create in Minibrowser
commit-queue@webkit.org [Mon, 8 Oct 2012 16:33:32 +0000 (16:33 +0000)]
[EFL][WK2] Add support for window.create in Minibrowser
https://bugs.webkit.org/show_bug.cgi?id=98649

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

Calling window.create() from JavaScript now creates a
new window in Minibrowser, as directed.

* MiniBrowser/efl/main.c:
(on_new_window):
(window_create):

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

7 years ago[EFL] Unskip svg/text.
rakuco@webkit.org [Mon, 8 Oct 2012 16:14:24 +0000 (16:14 +0000)]
[EFL] Unskip svg/text.

Most of the text cases are passing, the ones which don't have been
properly skipped.

* platform/efl/TestExpectations:
* platform/efl/svg/text/append-text-node-to-tspan-expected.png: Added.
* platform/efl/svg/text/append-text-node-to-tspan-expected.txt: Added.
* platform/efl/svg/text/bidi-embedded-direction-expected.png: Added.
* platform/efl/svg/text/bidi-embedded-direction-expected.txt: Added.
* platform/efl/svg/text/bidi-reorder-value-lists-expected.png: Added.
* platform/efl/svg/text/bidi-reorder-value-lists-expected.txt: Added.
* platform/efl/svg/text/bidi-text-anchor-direction-expected.png: Added.
* platform/efl/svg/text/bidi-text-anchor-direction-expected.txt: Added.
* platform/efl/svg/text/bidi-text-query-expected.png: Added.
* platform/efl/svg/text/bidi-text-query-expected.txt: Added.
* platform/efl/svg/text/bidi-tspans-expected.png: Added.
* platform/efl/svg/text/bidi-tspans-expected.txt: Added.
* platform/efl/svg/text/ems-display-none-expected.png: Added.
* platform/efl/svg/text/ems-display-none-expected.txt: Added.
* platform/efl/svg/text/exs-display-none-expected.png: Added.
* platform/efl/svg/text/exs-display-none-expected.txt: Added.
* platform/efl/svg/text/font-size-below-point-five-2-expected.png: Added.
* platform/efl/svg/text/font-size-below-point-five-2-expected.txt: Added.
* platform/efl/svg/text/font-size-below-point-five-expected.png: Added.
* platform/efl/svg/text/font-size-below-point-five-expected.txt: Added.
* platform/efl/svg/text/foreignObject-repaint-expected.png: Added.
* platform/efl/svg/text/foreignObject-repaint-expected.txt: Added.
* platform/efl/svg/text/foreignObject-text-clipping-bug-expected.png: Added.
* platform/efl/svg/text/foreignObject-text-clipping-bug-expected.txt: Added.
* platform/efl/svg/text/kerning-expected.png: Added.
* platform/efl/svg/text/kerning-expected.txt: Added.
* platform/efl/svg/text/modify-text-node-in-tspan-expected.png: Added.
* platform/efl/svg/text/modify-text-node-in-tspan-expected.txt: Added.
* platform/efl/svg/text/multichar-glyph-expected.png: Added.
* platform/efl/svg/text/multichar-glyph-expected.txt: Added.
* platform/efl/svg/text/remove-text-node-from-tspan-expected.png: Added.
* platform/efl/svg/text/remove-text-node-from-tspan-expected.txt: Added.
* platform/efl/svg/text/remove-tspan-from-text-expected.png: Added.
* platform/efl/svg/text/remove-tspan-from-text-expected.txt: Added.
* platform/efl/svg/text/scaled-font-expected.png: Added.
* platform/efl/svg/text/scaled-font-expected.txt: Added.
* platform/efl/svg/text/scaling-font-with-geometric-precision-expected.png: Added.
* platform/efl/svg/text/scaling-font-with-geometric-precision-expected.txt: Added.
* platform/efl/svg/text/selection-background-color-expected.png: Added.
* platform/efl/svg/text/selection-background-color-expected.txt: Added.
* platform/efl/svg/text/selection-styles-expected.png: Added.
* platform/efl/svg/text/selection-styles-expected.txt: Added.
* platform/efl/svg/text/small-fonts-2-expected.png: Added.
* platform/efl/svg/text/small-fonts-2-expected.txt: Added.
* platform/efl/svg/text/small-fonts-3-expected.png: Added.
* platform/efl/svg/text/small-fonts-3-expected.txt: Added.
* platform/efl/svg/text/small-fonts-expected.png: Added.
* platform/efl/svg/text/small-fonts-in-html5-expected.png: Added.
* platform/efl/svg/text/small-fonts-in-html5-expected.txt: Added.
* platform/efl/svg/text/text-align-01-b-expected.png: Added.
* platform/efl/svg/text/text-align-01-b-expected.txt: Added.
* platform/efl/svg/text/text-align-02-b-expected.png: Added.
* platform/efl/svg/text/text-align-02-b-expected.txt: Added.
* platform/efl/svg/text/text-align-03-b-expected.png: Added.
* platform/efl/svg/text/text-align-03-b-expected.txt: Added.
* platform/efl/svg/text/text-align-04-b-expected.png: Added.
* platform/efl/svg/text/text-align-04-b-expected.txt: Added.
* platform/efl/svg/text/text-align-05-b-expected.png: Added.
* platform/efl/svg/text/text-align-05-b-expected.txt: Added.
* platform/efl/svg/text/text-align-06-b-expected.png: Added.
* platform/efl/svg/text/text-align-06-b-expected.txt: Added.
* platform/efl/svg/text/text-altglyph-01-b-expected.png: Added.
* platform/efl/svg/text/text-altglyph-01-b-expected.txt: Added.
* platform/efl/svg/text/text-deco-01-b-expected.png: Added.
* platform/efl/svg/text/text-deco-01-b-expected.txt: Added.
* platform/efl/svg/text/text-fill-opacity-expected.png: Added.
* platform/efl/svg/text/text-fill-opacity-expected.txt: Added.
* platform/efl/svg/text/text-fonts-01-t-expected.png: Added.
* platform/efl/svg/text/text-fonts-01-t-expected.txt: Added.
* platform/efl/svg/text/text-fonts-02-t-expected.png: Added.
* platform/efl/svg/text/text-fonts-02-t-expected.txt: Added.
* platform/efl/svg/text/text-gradient-positioning-expected.png: Added.
* platform/efl/svg/text/text-gradient-positioning-expected.txt: Added.
* platform/efl/svg/text/text-hkern-expected.png: Added.
* platform/efl/svg/text/text-hkern-expected.txt: Added.
* platform/efl/svg/text/text-hkern-on-vertical-text-expected.png: Added.
* platform/efl/svg/text/text-hkern-on-vertical-text-expected.txt: Added.
* platform/efl/svg/text/text-intro-05-t-expected.png: Added.
* platform/efl/svg/text/text-intro-05-t-expected.txt: Added.
* platform/efl/svg/text/text-midpoint-split-bug-expected.png: Added.
* platform/efl/svg/text/text-midpoint-split-bug-expected.txt: Added.
* platform/efl/svg/text/text-overflow-ellipsis-svgfont-expected.png: Added.
* platform/efl/svg/text/text-overflow-ellipsis-svgfont-expected.txt: Added.
* platform/efl/svg/text/text-path-01-b-expected.png: Added.
* platform/efl/svg/text/text-path-01-b-expected.txt: Added.
* platform/efl/svg/text/text-path-middle-align-expected.png: Added.
* platform/efl/svg/text/text-path-middle-align-expected.txt: Added.
* platform/efl/svg/text/text-repaint-rects-expected.png: Added.
* platform/efl/svg/text/text-repaint-rects-expected.txt: Added.
* platform/efl/svg/text/text-rescale-expected.png: Added.
* platform/efl/svg/text/text-rescale-expected.txt: Added.
* platform/efl/svg/text/text-spacing-01-b-expected.png: Added.
* platform/efl/svg/text/text-spacing-01-b-expected.txt: Added.
* platform/efl/svg/text/text-text-01-b-expected.png: Added.
* platform/efl/svg/text/text-text-01-b-expected.txt: Added.
* platform/efl/svg/text/text-text-03-b-expected.png: Added.
* platform/efl/svg/text/text-text-03-b-expected.txt: Added.
* platform/efl/svg/text/text-text-04-t-expected.png: Added.
* platform/efl/svg/text/text-text-04-t-expected.txt: Added.
* platform/efl/svg/text/text-text-05-t-expected.png: Added.
* platform/efl/svg/text/text-text-05-t-expected.txt: Added.
* platform/efl/svg/text/text-text-06-t-expected.png: Added.
* platform/efl/svg/text/text-text-06-t-expected.txt: Added.
* platform/efl/svg/text/text-text-07-t-expected.png: Added.
* platform/efl/svg/text/text-text-07-t-expected.txt: Added.
* platform/efl/svg/text/text-text-08-b-expected.png: Added.
* platform/efl/svg/text/text-text-08-b-expected.txt: Added.
* platform/efl/svg/text/text-tref-01-b-expected.png: Added.
* platform/efl/svg/text/text-tref-01-b-expected.txt: Added.
* platform/efl/svg/text/text-tselect-01-b-expected.png: Added.
* platform/efl/svg/text/text-tselect-01-b-expected.txt: Added.
* platform/efl/svg/text/text-tselect-02-f-expected.png: Added.
* platform/efl/svg/text/text-tselect-02-f-expected.txt: Added.
* platform/efl/svg/text/text-tspan-01-b-expected.png: Added.
* platform/efl/svg/text/text-tspan-01-b-expected.txt: Added.
* platform/efl/svg/text/text-viewbox-rescale-expected.png: Added.
* platform/efl/svg/text/text-vkern-expected.png: Added.
* platform/efl/svg/text/text-vkern-expected.txt: Added.
* platform/efl/svg/text/text-vkern-on-horizontal-text-expected.png: Added.
* platform/efl/svg/text/text-vkern-on-horizontal-text-expected.txt: Added.
* platform/efl/svg/text/text-ws-01-t-expected.png: Added.
* platform/efl/svg/text/text-ws-01-t-expected.txt: Added.
* platform/efl/svg/text/text-ws-02-t-expected.png: Added.
* platform/efl/svg/text/text-ws-02-t-expected.txt: Added.
* platform/efl/svg/text/textPathBoundsBug-expected.png: Added.
* platform/efl/svg/text/textPathBoundsBug-expected.txt: Added.
* platform/efl/svg/text/tspan-dynamic-positioning-expected.png: Added.
* platform/efl/svg/text/tspan-dynamic-positioning-expected.txt: Added.

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

7 years ago[EFL] Unskip svg/dom/altGlyph-dom.xhtml
rakuco@webkit.org [Mon, 8 Oct 2012 15:16:40 +0000 (15:16 +0000)]
[EFL] Unskip svg/dom/altGlyph-dom.xhtml

Seems to be passing these days.

* platform/efl/TestExpectations:

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

7 years agoLower minimum table size of WTF::HashTable to reduce memory usage.
kling@webkit.org [Mon, 8 Oct 2012 15:11:21 +0000 (15:11 +0000)]
Lower minimum table size of WTF::HashTable to reduce memory usage.
<http://webkit.org/b/98406>
<rdar://problem/12432140>

Reviewed by Anders Carlsson.

Lower the default minimumTableSize for WTF hash tables from 64 to 8 entries.
This reduces WebProcess memory consumption by ~16MB on Membuster3 (a 6% progression!)

No significant movement on PLT or JSC benchmarks on my machine. If there's a perf regression somewhere
from this, we can tweak individual tables to have a larger minimumTableSize.

* wtf/HashTraits.h:

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

7 years ago[GTK] Add a setting to enable/disable smooth scrolling to WebKit2 GTK+ API
carlosgc@webkit.org [Mon, 8 Oct 2012 15:05:53 +0000 (15:05 +0000)]
[GTK] Add a setting to enable/disable smooth scrolling to WebKit2 GTK+ API
https://bugs.webkit.org/show_bug.cgi?id=98646

Reviewed by Xan Lopez.

* UIProcess/API/gtk/WebKitSettings.cpp:
(webKitSettingsSetProperty): Implement setter for new property.
(webKitSettingsGetProperty): Implement getter for new property.
(webkit_settings_class_init): Add new property
enable-smooth-scrolling.
(webkit_settings_get_enable_smooth_scrolling):
(webkit_settings_set_enable_smooth_scrolling):
* UIProcess/API/gtk/WebKitSettings.h:
* UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new symbols.
* UIProcess/API/gtk/tests/TestWebKitSettings.cpp:
(testWebKitSettings): Test smooth scrolling setting API.

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

7 years agoUnreviewed GTK gardening.
zandobersek@gmail.com [Mon, 8 Oct 2012 15:04:13 +0000 (15:04 +0000)]
Unreviewed GTK gardening.

Removing crash expectations for tests that were fixed in r130611.

Removing failure expectations for fast/xsl/xslt-missing-namespace-in-xslt.xml,
the test is working fine after r130543.

* platform/gtk-wk2/TestExpectations:
* platform/gtk/TestExpectations:

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

7 years agoUnreviewed Qt gardening.
allan.jensen@digia.com [Mon, 8 Oct 2012 14:50:27 +0000 (14:50 +0000)]
Unreviewed Qt gardening.

Adding expectations for tests under css2.1.

* platform/qt/TestExpectations:

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

7 years agoUsing float/double as WTF hash table key is unreliable.
kling@webkit.org [Mon, 8 Oct 2012 14:44:53 +0000 (14:44 +0000)]
Using float/double as WTF hash table key is unreliable.
<http://webkit.org/b/98627>

Reviewed by Geoffrey Garen.

Source/WTF:

Change FloatHash::equal() to do a bitwise compare instead of a logical compare.
This fixes a problem where the keys with different binary representation but the
same logical value (e.g 0 and -0) could block each other from being found if they
ended up in the same hash bucket.

* wtf/HashFunctions.h:
(FloatHash):
(WTF::FloatHash::hash):
(WTF::FloatHash::equal):

Tools:

Add a test case checking that using double as the hash table key type won't
have problems distinguishing between keys that are considered equal by operator==
but have different binary representations.

* TestWebKitAPI/Tests/WTF/HashMap.cpp:
(TestDoubleHashTraits):

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

7 years ago[EFL] Unskip svg/W3C-SVG-1.1.
rakuco@webkit.org [Mon, 8 Oct 2012 14:05:10 +0000 (14:05 +0000)]
[EFL] Unskip svg/W3C-SVG-1.1.

All but one test case worked fine (compared to the expectations in
mac/).

* platform/efl/TestExpectations:
* platform/efl/svg/W3C-SVG-1.1/animate-elem-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-03-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-03-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-04-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-04-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-05-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-05-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-06-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-07-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-07-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-09-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-09-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-10-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-10-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-11-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-11-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-12-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-12-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-13-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-13-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-14-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-15-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-16-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-17-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-18-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-19-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-20-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-20-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-21-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-21-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-22-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-23-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-23-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-24-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-25-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-25-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-26-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-26-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-27-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-27-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-28-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-28-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-29-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-29-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-30-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-30-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-31-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-32-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-32-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-33-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-34-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-34-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-36-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-37-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-39-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-39-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-40-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-40-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-41-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-44-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-46-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-46-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-52-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-52-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-60-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-60-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-61-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-61-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-62-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-62-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-63-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-63-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-64-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-64-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-65-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-65-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-66-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-66-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-67-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-67-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-68-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-68-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-69-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-69-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-70-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-70-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-77-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-77-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-78-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-78-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-80-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-81-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-82-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-83-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-84-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-84-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-85-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/animate-elem-85-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/color-prof-01-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/color-prof-01-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/color-prop-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/color-prop-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/color-prop-02-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/color-prop-02-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/color-prop-03-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/color-prop-03-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-coord-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-coord-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-coord-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-coord-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-trans-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-trans-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-trans-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-trans-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-trans-03-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-trans-03-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-trans-04-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-trans-04-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-trans-05-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-trans-05-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-trans-06-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-trans-06-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-units-02-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-units-03-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-units-03-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/coords-viewattr-03-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-blend-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-blend-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-color-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-color-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-composite-02-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-conv-01-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-conv-01-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-displace-01-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-displace-01-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-example-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-example-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-felem-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-felem-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-image-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-image-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-light-01-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-light-01-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-light-04-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-light-04-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-morph-01-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-offset-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-offset-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-specular-01-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-specular-01-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-tile-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-tile-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-desc-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-elem-05-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-elem-06-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/fonts-kern-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/interact-dom-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/interact-events-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/interact-events-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/interact-order-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/interact-order-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/interact-order-02-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/interact-order-02-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/interact-order-03-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/interact-order-03-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-a-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-a-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-a-02-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-a-02-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-a-03-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-a-03-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-a-04-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-a-04-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-a-05-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-a-07-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-a-07-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-uri-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-uri-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-uri-02-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-uri-03-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-intro-01-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-mask-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-path-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-path-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-path-02-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-path-02-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-path-03-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-path-03-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-path-04-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-path-04-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-path-05-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/masking-path-05-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/metadata-example-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-fill-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-fill-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-fill-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-fill-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-fill-03-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-fill-03-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-fill-04-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-fill-04-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-fill-05-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-fill-05-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-marker-01-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-marker-01-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-marker-02-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-marker-02-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-marker-03-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-render-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-stroke-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-stroke-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-stroke-03-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-stroke-03-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-stroke-07-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/painting-stroke-07-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-03-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-03-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-04-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-04-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-05-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-05-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-06-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-06-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-07-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-07-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-08-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-08-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-09-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-10-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-10-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-12-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-12-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-13-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-13-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-14-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-14-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-15-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/paths-data-15-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-07-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-07-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-16-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-16-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-17-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-17-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-18-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-18-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-19-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-grad-19-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/render-elems-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/render-elems-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/render-elems-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/render-elems-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/render-elems-03-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/render-elems-03-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/render-elems-06-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/render-elems-07-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/render-elems-08-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/render-groups-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/render-groups-03-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/script-handle-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/script-handle-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/script-handle-02-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/script-handle-03-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/script-handle-04-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-circle-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-circle-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-circle-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-circle-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-ellipse-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-ellipse-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-ellipse-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-ellipse-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-intro-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-intro-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-line-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-line-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-polygon-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-polygon-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-polyline-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-polyline-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-rect-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-rect-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-rect-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/shapes-rect-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-cond-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-cond-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-cond-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-cond-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-cond-03-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-cond-03-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-defs-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-defs-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-dom-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-dom-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-dom-02-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-dom-02-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-dom-03-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-dom-04-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-dom-05-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-dom-06-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-dom-06-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-frag-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-frag-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-frag-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-frag-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-frag-03-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-frag-03-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-frag-04-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-frag-04-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-frag-05-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-frag-05-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-frag-06-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-frag-06-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-group-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-group-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-group-02-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-group-02-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-group-03-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-group-03-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-02-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-02-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-03-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-03-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-04-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-04-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-05-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-05-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-06-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-06-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-07-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-07-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-08-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-08-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-09-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-09-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-10-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-image-10-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-symbol-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-symbol-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-use-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-use-03-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/struct-use-03-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/styling-css-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/styling-css-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/styling-css-02-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/styling-css-03-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/styling-css-04-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/styling-css-04-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/styling-css-05-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/styling-css-05-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/styling-css-06-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/styling-css-06-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/styling-pres-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/styling-pres-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-align-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-align-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-align-02-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-align-02-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-align-03-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-align-03-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-align-04-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-align-04-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-align-05-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-align-05-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-align-06-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-align-06-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-align-08-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-align-08-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-deco-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-deco-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-fonts-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-fonts-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-fonts-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-fonts-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-fonts-03-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-fonts-03-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-intro-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-intro-02-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-intro-02-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-intro-03-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-intro-03-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-intro-04-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-intro-05-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-intro-05-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-path-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-path-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-spacing-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-text-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-text-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-text-03-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-text-03-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-text-04-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-text-04-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-text-05-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-text-05-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-text-06-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-text-06-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-text-07-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-text-07-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-text-08-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-text-08-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-tref-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-tref-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-tselect-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-tselect-02-f-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-tselect-02-f-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-tspan-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-ws-01-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-ws-01-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/text-ws-02-t-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/text-ws-02-t-expected.txt: Added.
* platform/efl/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.png: Added.
* platform/efl/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt: Added.

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

7 years ago[EFL][WK2] Use URL instead of URI in the API
commit-queue@webkit.org [Mon, 8 Oct 2012 14:03:56 +0000 (14:03 +0000)]
[EFL][WK2] Use URL instead of URI in the API
https://bugs.webkit.org/show_bug.cgi?id=98643

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

Source/WebKit2:

Use URL instead of URI in WebKit2 EFL API. This change
was discussed on the mailing list and aims at making
the API more consistent.

* UIProcess/API/efl/ewk_back_forward_list_item.cpp:
(_Ewk_Back_Forward_List_Item):
(ewk_back_forward_list_item_url_get):
(ewk_back_forward_list_item_original_url_get):
* UIProcess/API/efl/ewk_back_forward_list_item.h:
* UIProcess/API/efl/ewk_context.cpp:
(ewk_context_url_scheme_register):
* UIProcess/API/efl/ewk_context.h:
* UIProcess/API/efl/ewk_context_download_client.cpp:
(decideDestinationWithSuggestedFilename):
* UIProcess/API/efl/ewk_download_job.h:
* UIProcess/API/efl/ewk_resource_private.h:
* UIProcess/API/efl/ewk_view.cpp:
(_Ewk_View_Private_Data):
(ewk_view_url_update):
(ewk_view_url_set):
(ewk_view_url_get):
(ewk_view_reload):
(ewk_view_reload_bypass_cache):
(ewk_view_load_finished):
(ewk_view_load_provisional_redirect):
(ewk_view_load_provisional_started):
(ewk_view_html_string_load):
* UIProcess/API/efl/ewk_view.h:
* UIProcess/API/efl/ewk_view_loader_client.cpp:
(didSameDocumentNavigationForFrame):
* UIProcess/API/efl/ewk_view_private.h:
* UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.cpp:
(EWK2UnitTest::EWK2UnitTestBase::loadUrlSync):
(EWK2UnitTest::onURLChanged):
(EWK2UnitTest::timeOutWhileWaitingUntilURLChangedTo):
(EWK2UnitTest::EWK2UnitTestBase::waitUntilURLChangedTo):
* UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.h:
(EWK2UnitTestBase):
* UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestServer.cpp:
(EWK2UnitTestServer::EWK2UnitTestServer):
(EWK2UnitTestServer::~EWK2UnitTestServer):
(EWK2UnitTestServer::getURLForPath):
* UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestServer.h:
(EWK2UnitTestServer):
* UIProcess/API/efl/tests/resources/redirect_url_to_default.html: Renamed from Source/WebKit2/UIProcess/API/efl/tests/resources/redirect_uri_to_default.html.
* UIProcess/API/efl/tests/test_ewk2_back_forward_list.cpp:
(checkItem):
(urlFromTitle):
* UIProcess/API/efl/tests/test_ewk2_context.cpp:
(TEST_F):
* UIProcess/API/efl/tests/test_ewk2_cookie_manager.cpp:
(TEST_F):
* UIProcess/API/efl/tests/test_ewk2_download_job.cpp:
(TEST_F):
* UIProcess/API/efl/tests/test_ewk2_settings.cpp:
(TEST_F):
* UIProcess/API/efl/tests/test_ewk2_view.cpp:
(TEST_F):

Tools:

Update Minibrowser to reflect API changes. We now
use URL instead of URI in WK2 EFL API.

* EWebLauncher/url_bar.c:
(on_urlbar_key_down):
* MiniBrowser/efl/CMakeLists.txt:
* MiniBrowser/efl/main.c:
(on_url_changed):
(window_create):

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

7 years ago[Qt] r122720 causes performance regression with DirectFB on ARMv7
zoltan@webkit.org [Mon, 8 Oct 2012 13:44:14 +0000 (13:44 +0000)]
[Qt] r122720 causes performance regression with DirectFB on ARMv7
https://bugs.webkit.org/show_bug.cgi?id=97548

Reviewed by Jocelyn Turcotte.

Revert the rest of r122720. This change modifies the NativeImagePtr from QImage* to QPixmap*.

Covered by existing tests.

Source/WebCore:

* bridge/qt/qt_pixmapruntime.cpp:
(JSC::Bindings::assignToHTMLImageElement):
(JSC::Bindings::QtPixmapRuntime::toQt):
* platform/DragImage.h:
(WebCore):
* platform/graphics/GraphicsContext.h:
(GraphicsContext):
* platform/graphics/Image.h:
(Image):
* platform/graphics/NativeImagePtr.h:
(WebCore):
* platform/graphics/gstreamer/ImageGStreamer.h:
* platform/graphics/gstreamer/ImageGStreamerQt.cpp:
(ImageGStreamer::ImageGStreamer):
* platform/graphics/qt/GraphicsContext3DQt.cpp:
(WebCore::GraphicsContext3D::getImageData):
* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::pushTransparencyLayerInternal):
(WebCore::GraphicsContext::beginPlatformTransparencyLayer):
(WebCore::GraphicsContext::endPlatformTransparencyLayer):
* platform/graphics/qt/ImageBufferDataQt.h:
(ImageBufferData):
* platform/graphics/qt/ImageBufferQt.cpp:
(WebCore::ImageBufferData::ImageBufferData):
(WebCore):
(WebCore::ImageBufferData::toQImage):
(WebCore::ImageBuffer::copyImage):
(WebCore::ImageBuffer::clip):
(WebCore::ImageBuffer::platformTransformColorSpace):
(WebCore::getImageData):
(WebCore::ImageBuffer::putByteArray):
(WebCore::encodeImage):
(WebCore::ImageBuffer::toDataURL):
* platform/graphics/qt/ImageDecoderQt.cpp:
(WebCore::ImageFrame::asNewNativeImage):
* platform/graphics/qt/ImageQt.cpp:
(graphics):
(loadResourcePixmap):
(WebCore::Image::loadPlatformResource):
(WebCore::Image::setPlatformResource):
(WebCore::Image::drawPattern):
(WebCore::BitmapImage::BitmapImage):
(WebCore::BitmapImage::draw):
(WebCore::BitmapImage::checkForSolidColor):
(WebCore::BitmapImage::create):
* platform/graphics/qt/PatternQt.cpp:
(WebCore::Pattern::createPlatformPattern):
* platform/graphics/qt/StillImageQt.cpp:
(WebCore::StillImage::StillImage):
(WebCore::StillImage::~StillImage):
(WebCore::StillImage::currentFrameHasAlpha):
(WebCore::StillImage::size):
(WebCore::StillImage::nativeImageForCurrentFrame):
(WebCore::StillImage::draw):
* platform/graphics/qt/StillImageQt.h:
(WebCore::StillImage::create):
(WebCore::StillImage::createForRendering):
(StillImage):
* platform/graphics/qt/TransparencyLayer.h:
(WebCore::TransparencyLayer::TransparencyLayer):
(TransparencyLayer):
* platform/graphics/surfaces/qt/GraphicsSurfaceQt.cpp:
(WebCore::GraphicsSurface::createReadOnlyImage):
* platform/graphics/texmap/TextureMapperGL.cpp:
(WebCore::BitmapTextureGL::updateContents):
* platform/qt/ClipboardQt.cpp:
(WebCore::ClipboardQt::createDragImage):
(WebCore::ClipboardQt::declareAndWriteDragImage):
* platform/qt/CursorQt.cpp:
(WebCore::createCustomCursor):
* platform/qt/DragImageQt.cpp:
(WebCore::createDragImageFromImage):
* platform/qt/PasteboardQt.cpp:
(WebCore::Pasteboard::writeImage):

Source/WebKit/qt:

* Api/qwebframe.cpp:
(QWebHitTestResultPrivate::QWebHitTestResultPrivate):
* Api/qwebhistory.cpp:
(QWebHistoryItem::icon):
* Api/qwebsettings.cpp:
(QWebSettings::iconForUrl):
(QWebSettings::setWebGraphic):
(QWebSettings::webGraphic):
* WebCoreSupport/DragClientQt.cpp:
(WebCore::DragClientQt::startDrag):
* WebCoreSupport/InitWebCoreQt.cpp:
(WebCore::initializeWebCoreQt):

Source/WebKit2:

* Shared/qt/ShareableBitmapQt.cpp:
(WebKit::ShareableBitmap::createImage):
* UIProcess/qt/QtWebIconDatabaseClient.cpp:
(WebKit::QtWebIconDatabaseClient::iconImageForPageURL):
* WebProcess/WebCoreSupport/qt/WebDragClientQt.cpp:
(WebKit::convertQPixmapToShareableBitmap):
(WebKit::WebDragClient::startDrag):
* WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
(WebKit::LayerTreeCoordinator::adoptImageBackingStore):

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

7 years ago[Qt][WK2] REGRESSION(r130629): It made touchadjustment/focusout-on-touch.html fail
ossy@webkit.org [Mon, 8 Oct 2012 12:51:34 +0000 (12:51 +0000)]
[Qt][WK2] REGRESSION(r130629): It made touchadjustment/focusout-on-touch.html fail
https://bugs.webkit.org/show_bug.cgi?id=98642

Unreviewed gardening, skip the new failing test to paint the bot green.

* platform/qt-5.0-wk2/TestExpectations:

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

7 years agoUnreviewed. Fix make distcheck.
carlosgc@webkit.org [Mon, 8 Oct 2012 11:29:35 +0000 (11:29 +0000)]
Unreviewed. Fix make distcheck.

* GNUmakefile.list.am: Add missing header file to compilation.

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

7 years agoUnreviewed build fix after r130630
jocelyn.turcotte@digia.com [Mon, 8 Oct 2012 11:04:10 +0000 (11:04 +0000)]
Unreviewed build fix after r130630

Explicit convertion is required from QSizeF to FloatSize.

* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewLegacyPrivate::updateViewportSize):

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

7 years ago[Qt] plugins/refcount-leaks.html fails
ossy@webkit.org [Mon, 8 Oct 2012 11:02:25 +0000 (11:02 +0000)]
[Qt] plugins/refcount-leaks.html fails
https://bugs.webkit.org/show_bug.cgi?id=98640

Unreviewed gardening, skip the failing test.

* platform/qt/TestExpectations:

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

7 years ago[Qt] Fix the mouse hover events transformation when devicePixelRatio != 1
jocelyn.turcotte@digia.com [Mon, 8 Oct 2012 10:48:14 +0000 (10:48 +0000)]
[Qt] Fix the mouse hover events transformation when devicePixelRatio != 1
https://bugs.webkit.org/show_bug.cgi?id=98429

Reviewed by Kenneth Rohde Christiansen.

This prevents the events from being transformed two or three times.
This is only noticeable in desktop mode.

* UIProcess/qt/QtWebPageEventHandler.cpp:
(WebKit::QtWebPageEventHandler::handleHoverLeaveEvent):
(WebKit::QtWebPageEventHandler::handleHoverMoveEvent):

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

7 years ago[Qt] Apply QQuickWebViewExperimental::devicePixelRatio to the desktop mode as well
jocelyn.turcotte@digia.com [Mon, 8 Oct 2012 10:45:19 +0000 (10:45 +0000)]
[Qt] Apply QQuickWebViewExperimental::devicePixelRatio to the desktop mode as well
https://bugs.webkit.org/show_bug.cgi?id=98428

Reviewed by Kenneth Rohde Christiansen.

This is handled by the PageViewportController when in flickable mode.

* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewLegacyPrivate::updateViewportSize):

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

7 years ago[Qt] Prevent the PageViewportController from affecting the viewport in desktop mode
jocelyn.turcotte@digia.com [Mon, 8 Oct 2012 10:41:27 +0000 (10:41 +0000)]
[Qt] Prevent the PageViewportController from affecting the viewport in desktop mode
https://bugs.webkit.org/show_bug.cgi?id=98427

Reviewed by Kenneth Rohde Christiansen.

QQuickFlickable isn't tightly bound to it anymore, we can avoid creating it
completely in this case.

* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewFlickablePrivate::onComponentComplete):
* UIProcess/API/qt/qquickwebview_p_p.h:
(QQuickWebViewPrivate::onComponentComplete):
(QQuickWebViewPrivate::viewportController):
(QQuickWebViewPrivate):
(QQuickWebViewFlickablePrivate::viewportController):
(QQuickWebViewFlickablePrivate):
* UIProcess/qt/QtPageClient.cpp:
(WebKit::QtPageClient::didRenderFrame):
(WebKit::QtPageClient::didChangeContentsSize):
(WebKit::QtPageClient::pageTransitionViewportReady):
* UIProcess/qt/QtWebPageLoadClient.cpp:
(WebKit::QtWebPageLoadClient::didCommitLoad):

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

7 years agoUnreviewed gardening, skip and update some failing test.
kkristof@inf.u-szeged.hu [Mon, 8 Oct 2012 10:29:17 +0000 (10:29 +0000)]
Unreviewed gardening, skip and update some failing test.

Patch by Nandor Huszka <hnandor@inf.u-szeged.hu> on 2012-10-08

* platform/qt/TestExpectations:
* platform/qt/http/tests/misc/acid3-expected.png:
* platform/qt/http/tests/misc/acid3-expected.txt:

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

7 years ago[Qt] Fix a QSocketNotifier warning at startup
jocelyn.turcotte@digia.com [Mon, 8 Oct 2012 09:57:50 +0000 (09:57 +0000)]
[Qt] Fix a QSocketNotifier warning at startup
https://bugs.webkit.org/show_bug.cgi?id=98411

Reviewed by Simon Hausmann.

The actual warning:
QSocketNotifier: socket notifiers cannot be enabled from another thread

The problem was that QSocketNotifier::setEnabled was called on the main thread
after moveToThread was called. This hasn't had any effect since Connection
would dispatch a readyReadHandler call right after which would then call
setEnabled again from the correct thread from ~SocketNotifierResourceGuard.

Replace the call with a queued invoke to shut the warning.

* Platform/qt/WorkQueueQt.cpp:
(WorkQueue::registerSocketEventHandler):

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

7 years ago[EFL] Fix build break when WEB_AUDIO is enabled.
commit-queue@webkit.org [Mon, 8 Oct 2012 09:47:55 +0000 (09:47 +0000)]
[EFL] Fix build break when WEB_AUDIO is enabled.
https://bugs.webkit.org/show_bug.cgi?id=98635

Unreviewed build fix.

Build error is occurred because of the new flag, ENABLE_LEGACY_WEB_AUDIO,
which was introduced by https://bugs.webkit.org/show_bug.cgi?id=97050.

Patch by Dongwoo Joshua Im <dw.im@samsung.com> on 2012-10-08

* Source/cmakeconfig.h.cmake: Add ENABLE_LEGACY_WEB_AUDIO.

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

7 years ago[GTK] Test /webkit2/WebKitWebView/populate-menu asserts in debug bots
carlosgc@webkit.org [Mon, 8 Oct 2012 09:28:33 +0000 (09:28 +0000)]
[GTK] Test /webkit2/WebKitWebView/populate-menu asserts in debug bots
https://bugs.webkit.org/show_bug.cgi?id=98507

Reviewed by Martin Robinson.

Make sure we retain the page URL before asking for the icon.

* UIProcess/API/gtk/WebKitFaviconDatabase.cpp:
(getIconSurfaceSynchronously): Retain the page URL before asking
for the icon, and release it if we fail to get an icon.
(processPendingIconsForPageURL): Renamed to make it clear it
receives a Sring and not a char* and moved
getIconSurfaceSynchronously() call out of the loop to call it only
once even if there are multiple requests pending.
(iconDataReadyForPageURLCallback): Do not retain the page URL
here.

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

7 years ago[EFL] Add support for -webkit-sticky
joone.hur@intel.com [Mon, 8 Oct 2012 09:23:31 +0000 (09:23 +0000)]
[EFL] Add support for -webkit-sticky
https://bugs.webkit.org/show_bug.cgi?id=95182

Reviewed by Kenneth Rohde Christiansen.

Turn on CSS sticky position by default for WebKitEfl,
but most of the CSS sticky position test cases still do not pass on WK1.

.:

* Source/cmake/OptionsEfl.cmake:

LayoutTests:

* platform/efl-wk1/TestExpectations:
* platform/efl/TestExpectations:

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

7 years ago[Qt] Reenable plugin tests
kbalazs@webkit.org [Mon, 8 Oct 2012 08:49:04 +0000 (08:49 +0000)]
[Qt] Reenable plugin tests
https://bugs.webkit.org/show_bug.cgi?id=98528

Reviewed by Csaba Osztrogon√°c.

Tools:

Uncomment this function so we can pick up the test plugin.
It was commented out because of https://bugs.webkit.org/show_bug.cgi?id=86620
and that bug seems to be fixed now.

* WebKitTestRunner/qt/TestControllerQt.cpp:
(WTR::TestController::initializeTestPluginDirectory):

LayoutTests:

Reenable plugin tests. Skip new failures.

* platform/qt-5.0-wk1/TestExpectations:
* platform/qt-5.0-wk2/TestExpectations:
* platform/qt-5.0/TestExpectations:
* platform/qt/TestExpectations:

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

7 years agoUnreviewed, rolling out r130619.
commit-queue@webkit.org [Mon, 8 Oct 2012 08:06:50 +0000 (08:06 +0000)]
Unreviewed, rolling out r130619.
http://trac.webkit.org/changeset/130619
https://bugs.webkit.org/show_bug.cgi?id=98634

Causes many crashes on the EFL bots. (Requested by rakuco on
#webkit).

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

Source/WebCore:

* platform/RunLoop.h:
(RunLoop):
* platform/efl/RunLoopEfl.cpp:
(WebCore::RunLoop::RunLoop):
(WebCore::RunLoop::wakeUpEvent):
(WebCore::RunLoop::wakeUp):

Source/WTF:

* wtf/efl/MainThreadEfl.cpp:
(WTF::pipeObject):
(WTF):
(WTF::monitorDispatchFunctions):
(WTF::initializeMainThreadPlatform):
(WTF::scheduleDispatchFunctionsOnMainThread):

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

7 years ago[GTK] Don't use the C API internally in WebKitWebContext
carlosgc@webkit.org [Mon, 8 Oct 2012 08:05:26 +0000 (08:05 +0000)]
[GTK] Don't use the C API internally in WebKitWebContext
https://bugs.webkit.org/show_bug.cgi?id=96768

Reviewed by Martin Robinson.

Using the C++ classes directly instead of the C API wrappers we
avoid a lot of toImpl/toAPI casts, string conversions and
allocations. The code is also a lot simpler and easier to read.

* UIProcess/API/gtk/WebKitDownloadClient.cpp:
(didStart):
(didReceiveResponse):
(didReceiveData):
(decideDestinationWithSuggestedFilename):
(didCreateDestination):
(didFail):
(didCancel):
(didFinish):
(attachDownloadClientToContext):
* UIProcess/API/gtk/WebKitRequestManagerClient.cpp:
(attachRequestManagerClientToContext):
* UIProcess/API/gtk/WebKitSecurityManager.cpp:
(registerSecurityPolicyForURIScheme):
* UIProcess/API/gtk/WebKitWebContext.cpp:
(_WebKitWebContextPrivate):
(createDefaultWebContext):
(webkit_web_context_set_cache_model):
(webkit_web_context_get_cache_model):
(webkit_web_context_clear_cache):
(webkit_web_context_download_uri):
(webkit_web_context_get_cookie_manager):
(webkit_web_context_get_favicon_database_directory):
(webkit_web_context_get_favicon_database):
(webkit_web_context_set_additional_plugins_directory):
(webkitWebContextGetPluginThread):
(webkit_web_context_register_uri_scheme):
(webkitWebContextGetOrCreateDownload):
(webkitWebContextRemoveDownload):
(webkitWebContextGetContext):
(webkitWebContextGetRequestManager):
* UIProcess/API/gtk/WebKitWebContextPrivate.h:
* UIProcess/API/gtk/WebKitWebView.cpp:
(webkitWebViewConstructed):

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

7 years ago[EFL][WK2] Support multiple window creation for MiniBrowser
commit-queue@webkit.org [Mon, 8 Oct 2012 07:40:58 +0000 (07:40 +0000)]
[EFL][WK2] Support multiple window creation for MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=97884

Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-10-08
Reviewed by Kenneth Rohde Christiansen.

Implement the multiple window creation for MiniBrowser and bind the 'F9' key for opening a new window.
Also, refactored MiniBrowser codes according to EFL coding style.

* MiniBrowser/efl/main.c:
(_Browser_Window):
(window_free):
(main_signal_exit):
(on_ecore_evas_delete):
(on_ecore_evas_resize):
(on_key_down):
(on_title_changed):
(on_url_changed):
(on_progress):
(window_create):
(main):

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

7 years ago[EFL] Use ecore_main_loop_thread_safe_call_async() to wakeup main loop.
commit-queue@webkit.org [Mon, 8 Oct 2012 07:20:17 +0000 (07:20 +0000)]
[EFL] Use ecore_main_loop_thread_safe_call_async() to wakeup main loop.
https://bugs.webkit.org/show_bug.cgi?id=98505

Patch by Byungwoo Lee <bw80.lee@samsung.com> on 2012-10-08
Reviewed by Kenneth Rohde Christiansen.

Instead of ecore_pipe_write(),
use ecore_main_loop_thread_safe_call_async() to wakeup ecore main loop.

According to the EFL API document, this function is designed to dispatch
a function on ecore main loop by avoiding dead lock or race condition.
With this function, webkit doesn't need to maintain ecore pipe also.

Source/WebCore:

No new tests. The function to wakeup main loop is changed.

* platform/RunLoop.h:
(RunLoop):
* platform/efl/RunLoopEfl.cpp:
(WebCore::RunLoop::RunLoop):
(WebCore::RunLoop::wakeUpEvent):
(WebCore::RunLoop::wakeUp):

Source/WTF:

* wtf/efl/MainThreadEfl.cpp:
(WTF::monitorDispatchFunctions):
(WTF::initializeMainThreadPlatform):
(WTF::scheduleDispatchFunctionsOnMainThread):

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

7 years agoAdd partial load test for JPEG image
noel.gordon@gmail.com [Mon, 8 Oct 2012 06:59:41 +0000 (06:59 +0000)]
Add partial load test for JPEG image
https://bugs.webkit.org/show_bug.cgi?id=98487

Reviewed by Adam Barth.

Partial load test: receive a partial number of image bytes and stall forever.  The partial
image should be decoded and drawn and the green <img> background should be visible.

* fast/images/resources/lenna.jpg: Added.
* http/tests/images/jpeg-partial-load-expected.png: Added.
* http/tests/images/jpeg-partial-load-expected.txt: Added.
* http/tests/images/jpeg-partial-load.html: Added.
* platform/chromium/http/tests/images/jpeg-partial-load-expected.png: Added.
* platform/mac/http/tests/images/jpeg-partial-load-expected.png: Added.

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

7 years ago[EFL] Add Web Inspector to EWebLauncher
commit-queue@webkit.org [Mon, 8 Oct 2012 06:28:07 +0000 (06:28 +0000)]
[EFL] Add Web Inspector to EWebLauncher
https://bugs.webkit.org/show_bug.cgi?id=91718

Patch by Seokju Kwon <seokju.kwon@samsung.com> on 2012-10-07
Reviewed by Gyuyoung Kim.

Implementation of Web Inspector in EWebLauncher.
The Web Inspector can be opened or closed by pressing ctrl+i on web page.

* EWebLauncher/main.c:
(on_browser_ecore_evas_resize):
(on_web_inspector_ecore_evas_resize):
(on_key_down):
(on_web_inspector_view_create):
(on_web_inspector_view_close):
(on_web_inspector_view_destroyed):
(browserCreate):
(webInspectorCreate):
(windowCreate):
(closeWindow):
(main_signal_exit):
(parseUserArguments):

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

7 years ago:first-line pseudo selector ignoring words created from :before
commit-queue@webkit.org [Mon, 8 Oct 2012 04:42:26 +0000 (04:42 +0000)]
:first-line pseudo selector ignoring words created from :before
https://bugs.webkit.org/show_bug.cgi?id=80794

Patch by Arpita Bahuguna <arpitabahuguna@gmail.com> on 2012-10-07
Reviewed by Daniel Bates.

Source/WebCore:

The :first-line pseudo-element style is not applied for content
which is generated from the :before/:after pseudo-elements.

Test: fast/css/first-line-style-for-before-after-content.html

* rendering/RenderObject.cpp:
(WebCore::firstLineStyleForCachedUncachedType):
Added a new static helper function incorporating the common
functionality of both uncachedFirstLineStyle() and firstLineStyleSlowCase()
functions. It also modifies the functionality to handle the
scenario when :first-line style needs to be applied on content
generated from :before/:after.

While getting the :first-line style we should also consider the case
when the content is generated from a :before/:after pseudo-element in
which case the RenderInline's parent should be considered for
obtaining the first-line style.

(WebCore):
(WebCore::RenderObject::uncachedFirstLineStyle):
(WebCore::RenderObject::firstLineStyleSlowCase):
Moved the duplicate code between the two functions to the common
helper function firstLineStyleForCachedUncachedType().

LayoutTests:

* fast/css/first-line-style-for-before-after-content-expected.html: Added.
* fast/css/first-line-style-for-before-after-content.html: Added.
Added ref test for verification of the scenario when :first-line style
is applied to content generated from :before/:after pseudo-elements.

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

7 years agoWeb Inspector: The front-end should provide the position in original source file...
commit-queue@webkit.org [Mon, 8 Oct 2012 04:37:59 +0000 (04:37 +0000)]
Web Inspector: The front-end should provide the position in original source file when set a breakpoint
https://bugs.webkit.org/show_bug.cgi?id=93473

Patch by Peter Wang <peter.wang@torchmobile.com.cn> on 2012-10-07
Reviewed by Yury Semikhatsky.

Since frontend truncates the indent, the first statement in a line must match the breakpoint (line, 0).
With this patch JSC debugger can support both normal and "Pretty Print" mode.

No new test case. This patch can be verified with cases in "LayoutTests/inspector/debugger/".

* bindings/js/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::ScriptDebugServer):
(WebCore::ScriptDebugServer::hasBreakpoint):
(WebCore::ScriptDebugServer::createCallFrameAndPauseIfNeeded):
(WebCore::ScriptDebugServer::pauseIfNeeded):
* bindings/js/ScriptDebugServer.h:
(ScriptDebugServer):

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

7 years ago[EFL][WK2] Fix unused parameter compile warning.
commit-queue@webkit.org [Mon, 8 Oct 2012 03:29:37 +0000 (03:29 +0000)]
[EFL][WK2] Fix unused parameter compile warning.
https://bugs.webkit.org/show_bug.cgi?id=98610

Patch by Kangil Han <kangil.han@samsung.com> on 2012-10-07
Reviewed by Laszlo Gombos.

Fixed unused parameter compile warning by removing initiatingPageRef parameter name.

* UIProcess/API/efl/ewk_context_request_manager_client.cpp:
(didReceiveURIRequest):

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