abecsi@webkit.org [Wed, 6 Oct 2010 22:43:14 +0000 (22:43 +0000)]
2010-10-06 Balazs Kelemen <kbalazs@webkit.org>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Add WebKitTestRunner's build files
https://bugs.webkit.org/show_bug.cgi?id=44155
Add the new subdirs.
* DerivedSources.pro:
* WebKit.pro:
2010-10-06 Balazs Kelemen <kbalazs@webkit.org>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Add WebKitTestRunner's build files
https://bugs.webkit.org/show_bug.cgi?id=44155
Parts was taken by Zoltan Horvath's patch.
* Scripts/generate-forwarding-headers.pl: Moved from WebKit2.
* Scripts/webkitdirs.pm: Make the generated files needed by WTR.
* WebKitTestRunner/PlatformWebView.h: Addeed typedefs for
PlatformWKView and PlatformWindow (void* for now).
Buildfix the case when __APPLE__ is not defined.
* WebKitTestRunner/qt/DerivedSources.pro: Added.
* WebKitTestRunner/qt/PlatformWebViewQt.cpp: Added.
Empty stub implementation.
(WTR::registerWindowClass):
(WTR::PlatformWebView::PlatformWebView):
(WTR::PlatformWebView::~PlatformWebView):
(WTR::PlatformWebView::resizeTo):
(WTR::PlatformWebView::page):
(WTR::PlatformWebView::focus):
* WebKitTestRunner/qt/TestControllerQt.cpp: Added.
Empty stub implementation.
(WTR::registerWindowClass):
(WTR::TestController::runUntil):
(WTR::TestController::platformInitialize):
(WTR::TestController::initializeInjectedBundlePath):
(WTR::TestController::initializeTestPluginDirectory):
(WTR::TestController::platformInitializeContext):
* WebKitTestRunner/qt/WebKitTestRunner.pro: Added.
* WebKitTestRunner/qt/main.cpp: Added.
(main):
2010-10-06 Balazs Kelemen <kbalazs@webkit.org>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Add WebKitTestRunner's build files
https://bugs.webkit.org/show_bug.cgi?id=44155
* DerivedSources.pro: Changes according the new location
of generate-forwarding-headers.pl.
* UIProcess/API/C/WebKit2.h: Do not check the value of the
__APPLE__ define if it is not defined.
* WebKit2.pro: Changes according the new location
of generate-forwarding-headers.pl. Added missing files
to the build that provides API that is used by WTR.
* generate-forwarding-headers.pl: Moved to WebKitTools/Scripts
since from now this is not only used by WebKit2.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69244
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
victorw@chromium.org [Wed, 6 Oct 2010 22:33:41 +0000 (22:33 +0000)]
2010-10-06 Victor Wang <victorw@chromium.org>
Reviewed by Darin Fisher.
[Chromium] Add webkit unit tests to chromium multi-dll build.
In chromium multi-dll build mode, compile the webkit unit tests
code in webkit.dll and export an api that runs the tests.
https://bugs.webkit.org/show_bug.cgi?id=46907
* WebKit.gyp:
* WebKit.gypi:
* tests/RunAllTests.cpp:
(main):
* tests/WebUnitTests.cpp: Added.
(WebKit::RunAllUnitTests):
* tests/WebUnitTests.h: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69243
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
cfleizach@apple.com [Wed, 6 Oct 2010 22:30:59 +0000 (22:30 +0000)]
Unreviewed. Make test work on QT as well as other platforms.
REGRESSION (r53857): AREA tag with tabindex="-1" displays focus ring after multiple mouse clicks.
https://bugs.webkit.org/show_bug.cgi?id=45832
* fast/events/mouse-focus-imagemap-expected.txt:
* fast/events/mouse-focus-imagemap.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69242
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ajwong@chromium.org [Wed, 6 Oct 2010 22:28:44 +0000 (22:28 +0000)]
[chromium] Unreviewed. Rebaseline more tests.
Linux having similar SVG failures to windows. Revision r69226 added
http/tests/appcache/main-resource-redirect.html which does not work
on chromium yet.
* platform/chromium-linux/fast/blockflow/fieldsets-expected.checksum: Added.
* platform/chromium-linux/fast/blockflow/fieldsets-expected.png: Added.
* platform/chromium-linux/svg/filters/feDisplacementMap-expected.checksum: Copied from LayoutTests/platform/chromium-win/svg/filters/feDisplacementMap-expected.checksum.
* platform/chromium-linux/svg/filters/feDisplacementMap-expected.png: Copied from LayoutTests/platform/chromium-win/svg/filters/feDisplacementMap-expected.png.
* platform/chromium-win/fast/blockflow/fieldsets-expected.checksum: Added.
* platform/chromium-win/fast/blockflow/fieldsets-expected.png: Added.
* platform/chromium-win/fast/blockflow/fieldsets-expected.txt: Added.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69241
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andersca@apple.com [Wed, 6 Oct 2010 22:15:38 +0000 (22:15 +0000)]
More Arguments.h cleanup.
Reviewed by Sam Weinig.
* Platform/CoreIPC/Arguments.h:
* Platform/CoreIPC/HandleMessage.h:
Remove unnecessary typedefs, simplify.
* Scripts/webkit2/messages.py:
* UIProcess/WebContext.h:
Fix clang++ build.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69240
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt@apple.com [Wed, 6 Oct 2010 22:13:31 +0000 (22:13 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=47306
Reviewed by Dan Bernstein.
Convert determineStart/EndPosition and matchedEndLine to be writing-mode-aware.
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::determineStartPosition):
(WebCore::RenderBlock::determineEndPosition):
(WebCore::RenderBlock::matchedEndLine):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69239
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fsamuel@chromium.org [Wed, 6 Oct 2010 22:12:23 +0000 (22:12 +0000)]
Mac baseline for simple_paint.html. Updated test_expectations.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69238
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
cfleizach@apple.com [Wed, 6 Oct 2010 22:09:04 +0000 (22:09 +0000)]
REGRESSION (r53857): AREA tag with tabindex="-1" displays focus ring after multiple mouse clicks.
https://bugs.webkit.org/show_bug.cgi?id=45832
Reviewed by Beth Dakin.
WebCore:
Test: fast/events/mouse-focus-imagemap.html
* html/HTMLAreaElement.cpp:
(WebCore::HTMLAreaElement::isKeyboardFocusable):
(WebCore::HTMLAreaElement::isMouseFocusable):
(WebCore::HTMLAreaElement::isFocusable):
(WebCore::HTMLAreaElement::updateFocusAppearance):
* html/HTMLAreaElement.h:
LayoutTests:
* fast/events/mouse-focus-imagemap-expected.txt: Added.
* fast/events/mouse-focus-imagemap.html: Added.
* fast/events/resources/tabindex-focus-blur-all.js:
(testProgrammaticFocus):
* fast/events/tabindex-focus-blur-all-expected.txt:
Update test to reflect that AREA with tabindex=-1 should not be focusable.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69237
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andersca@apple.com [Wed, 6 Oct 2010 21:48:50 +0000 (21:48 +0000)]
Start cleaning up Arguments.h
https://bugs.webkit.org/show_bug.cgi?id=47304
Reviewed by Sam Weinig.
JavaScriptCore:
* wtf/TypeTraits.h:
* wtf/TypeTraits.cpp:
Add RemoveReference type trait.
WebKit2:
This is a first step towards simplifying all the handleMessage overloads we have.
* Platform/CoreIPC/Arguments.h:
(CoreIPC::Arguments1):
Make Arguments1 a struct and get rid of the FirstArgumentType typedef. Instead, add a
ValueType typedef which is defined to an Arguments1 type whose type parameter is not
a reference type.
* Platform/CoreIPC/HandleMessage.h:
(CoreIPC::handleMessage):
Update for the Arguments1 change. Rename "arguments" to "argumentDecoder" and "reply" to
"replyEncoder".
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69236
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt@apple.com [Wed, 6 Oct 2010 21:44:02 +0000 (21:44 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=47303
Reviewed by Dan Bernstein.
Convert layoutInlineChildren to be block-flow-aware. None of the functions it calls are patched yet.
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::layoutBlock):
* rendering/RenderBlock.h:
(WebCore::RenderBlock::forceLayoutInlineChildren):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutInlineChildren):
(WebCore::RenderBlock::beforeSideVisibleOverflowForLine):
(WebCore::RenderBlock::afterSideVisibleOverflowForLine):
(WebCore::RenderBlock::beforeSideLayoutOverflowForLine):
(WebCore::RenderBlock::afterSideLayoutOverflowForLine):
* rendering/RenderBox.h:
(WebCore::RenderBox::logicalLeftLayoutOverflow):
(WebCore::RenderBox::logicalRightLayoutOverflow):
(WebCore::RenderBox::logicalLeftVisualOverflow):
(WebCore::RenderBox::logicalRightVisualOverflow):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69235
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abecsi@webkit.org [Wed, 6 Oct 2010 21:08:20 +0000 (21:08 +0000)]
2010-10-06 Andras Becsi <abecsi@webkit.org>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Fix the build after API changes introduced in r69214.
* UIProcess/API/cpp/qt/WKStringQt.cpp:
(WKStringCreateWithQString):
* UIProcess/API/cpp/qt/WKURLQt.cpp:
(WKURLCreateWithQUrl):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69232
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ajwong@chromium.org [Wed, 6 Oct 2010 21:02:22 +0000 (21:02 +0000)]
[chromium] Unreviewed. Rebaseline layout tests.
Rebaselining for changes caused by r69181, r69220, and a few others
in that range.
Bugs filed for the 2 tests that look like real failures.
* platform/chromium-linux/fast/block/basic/fieldset-stretch-to-legend-expected.checksum:
* platform/chromium-linux/fast/block/basic/fieldset-stretch-to-legend-expected.png:
* platform/chromium-linux/fast/css/getComputedStyle/computed-style-expected.txt: Removed.
* platform/chromium-linux/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Removed.
* platform/chromium-linux/fast/forms/006-expected.checksum:
* platform/chromium-linux/fast/forms/006-expected.png:
* platform/chromium-linux/fast/forms/007-expected.checksum:
* platform/chromium-linux/fast/forms/007-expected.png:
* platform/chromium-linux/fast/forms/fieldset-align-expected.checksum:
* platform/chromium-linux/fast/forms/fieldset-align-expected.png:
* platform/chromium-linux/fast/forms/float-before-fieldset-expected.checksum:
* platform/chromium-linux/fast/forms/float-before-fieldset-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-blend-01-b-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-blend-01-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-composite-02-b-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-example-01-b-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
* platform/chromium-linux/svg/batik/filters/feTile-expected.checksum:
* platform/chromium-linux/svg/batik/filters/feTile-expected.png:
* platform/chromium-linux/svg/batik/filters/filterRegions-expected.checksum:
* platform/chromium-linux/svg/batik/filters/filterRegions-expected.png:
* platform/chromium-linux/svg/batik/text/textEffect-expected.checksum:
* platform/chromium-linux/svg/batik/text/textEffect-expected.png:
* platform/chromium-linux/svg/batik/text/textEffect3-expected.checksum:
* platform/chromium-linux/svg/batik/text/textEffect3-expected.png:
* platform/chromium-linux/svg/batik/text/textFeatures-expected.checksum:
* platform/chromium-linux/svg/batik/text/textFeatures-expected.png:
* platform/chromium-linux/svg/css/getComputedStyle-basic-expected.txt: Removed.
* platform/chromium-linux/svg/custom/empty-merge-expected.checksum: Removed.
* platform/chromium-linux/svg/custom/empty-merge-expected.png: Removed.
* platform/chromium-linux/svg/custom/feComponentTransfer-Discrete-expected.checksum:
* platform/chromium-linux/svg/custom/feComponentTransfer-Discrete-expected.png:
* platform/chromium-linux/svg/custom/feComponentTransfer-Gamma-expected.checksum:
* platform/chromium-linux/svg/custom/feComponentTransfer-Gamma-expected.png:
* platform/chromium-linux/svg/custom/feComponentTransfer-Linear-expected.checksum:
* platform/chromium-linux/svg/custom/feComponentTransfer-Linear-expected.png:
* platform/chromium-linux/svg/custom/feComponentTransfer-Table-expected.checksum:
* platform/chromium-linux/svg/custom/feComponentTransfer-Table-expected.png:
* platform/chromium-linux/svg/custom/image-with-transform-clip-filter-expected.checksum:
* platform/chromium-linux/svg/custom/image-with-transform-clip-filter-expected.png:
* platform/chromium-linux/svg/custom/inline-svg-in-xhtml-expected.checksum:
* platform/chromium-linux/svg/custom/inline-svg-in-xhtml-expected.png:
* platform/chromium-linux/svg/custom/non-opaque-filters-expected.checksum:
* platform/chromium-linux/svg/custom/non-opaque-filters-expected.png:
* platform/chromium-linux/svg/custom/recursive-filter-expected.checksum:
* platform/chromium-linux/svg/custom/recursive-filter-expected.png:
* platform/chromium-linux/svg/custom/text-filter-expected.checksum:
* platform/chromium-linux/svg/custom/text-filter-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.checksum:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.checksum:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.checksum:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.checksum:
* platform/chromium-linux/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.checksum: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.png: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.checksum: Added.
* platform/chromium-linux/svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.png: Added.
* platform/chromium-linux/svg/filters/feComposite-expected.checksum:
* platform/chromium-linux/svg/filters/feComposite-expected.png:
* platform/chromium-linux/svg/filters/filter-on-filter-for-text-expected.checksum:
* platform/chromium-linux/svg/filters/filter-on-filter-for-text-expected.png:
* platform/chromium-linux/svg/filters/filter-on-tspan-expected.checksum:
* platform/chromium-linux/svg/filters/filter-on-tspan-expected.png:
* platform/chromium-linux/svg/filters/sourceAlpha-expected.checksum:
* platform/chromium-linux/svg/filters/subRegion-one-effect-expected.checksum:
* platform/chromium-linux/svg/filters/subRegion-one-effect-expected.png:
* platform/chromium-linux/svg/filters/subRegion-two-effects-expected.checksum:
* platform/chromium-linux/svg/filters/subRegion-two-effects-expected.png:
* platform/chromium-mac/fast/blockflow/fieldsets-expected.checksum: Added.
* platform/chromium-mac/fast/blockflow/fieldsets-expected.png: Added.
* platform/chromium-mac/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/chromium-mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/chromium-mac/svg/W3C-SVG-1.1/filters-morph-01-f-expected.checksum: Copied from LayoutTests/platform/mac-leopard/svg/W3C-SVG-1.1/filters-morph-01-f-expected.checksum.
* platform/chromium-mac/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png: Added.
* platform/chromium-mac/svg/css/getComputedStyle-basic-expected.txt:
* platform/chromium-win/fast/block/basic/fieldset-stretch-to-legend-expected.checksum:
* platform/chromium-win/fast/block/basic/fieldset-stretch-to-legend-expected.png:
* platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/chromium-win/fast/forms/006-expected.checksum:
* platform/chromium-win/fast/forms/006-expected.png:
* platform/chromium-win/fast/forms/007-expected.checksum:
* platform/chromium-win/fast/forms/007-expected.png:
* platform/chromium-win/fast/forms/fieldset-align-expected.checksum:
* platform/chromium-win/fast/forms/fieldset-align-expected.png:
* platform/chromium-win/fast/forms/float-before-fieldset-expected.checksum:
* platform/chromium-win/fast/forms/float-before-fieldset-expected.png:
* platform/chromium-win/inspector/console-uncaught-exception-expected.txt: Added.
* platform/chromium-win/svg/W3C-SVG-1.1/filters-blend-01-b-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-blend-01-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-color-01-b-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-composite-02-b-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-example-01-b-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
* platform/chromium-win/svg/batik/filters/feTile-expected.checksum:
* platform/chromium-win/svg/batik/filters/feTile-expected.png:
* platform/chromium-win/svg/batik/filters/filterRegions-expected.checksum:
* platform/chromium-win/svg/batik/filters/filterRegions-expected.png:
* platform/chromium-win/svg/batik/text/textEffect-expected.checksum:
* platform/chromium-win/svg/batik/text/textEffect-expected.png:
* platform/chromium-win/svg/batik/text/textEffect3-expected.checksum:
* platform/chromium-win/svg/batik/text/textEffect3-expected.png:
* platform/chromium-win/svg/batik/text/textFeatures-expected.checksum:
* platform/chromium-win/svg/batik/text/textFeatures-expected.png:
* platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:
* platform/chromium-win/svg/custom/convolution-crash-expected.checksum:
* platform/chromium-win/svg/custom/convolution-crash-expected.png:
* platform/chromium-win/svg/custom/empty-merge-expected.checksum:
* platform/chromium-win/svg/custom/empty-merge-expected.png:
* platform/chromium-win/svg/custom/feComponentTransfer-Discrete-expected.checksum:
* platform/chromium-win/svg/custom/feComponentTransfer-Discrete-expected.png:
* platform/chromium-win/svg/custom/feComponentTransfer-Gamma-expected.checksum:
* platform/chromium-win/svg/custom/feComponentTransfer-Gamma-expected.png:
* platform/chromium-win/svg/custom/feComponentTransfer-Linear-expected.checksum:
* platform/chromium-win/svg/custom/feComponentTransfer-Linear-expected.png:
* platform/chromium-win/svg/custom/feComponentTransfer-Table-expected.checksum:
* platform/chromium-win/svg/custom/feComponentTransfer-Table-expected.png:
* platform/chromium-win/svg/custom/image-with-transform-clip-filter-expected.checksum:
* platform/chromium-win/svg/custom/image-with-transform-clip-filter-expected.png:
* platform/chromium-win/svg/custom/inline-svg-in-xhtml-expected.checksum:
* platform/chromium-win/svg/custom/inline-svg-in-xhtml-expected.png:
* platform/chromium-win/svg/custom/non-opaque-filters-expected.checksum:
* platform/chromium-win/svg/custom/non-opaque-filters-expected.png:
* platform/chromium-win/svg/custom/recursive-filter-expected.checksum:
* platform/chromium-win/svg/custom/recursive-filter-expected.png:
* platform/chromium-win/svg/custom/text-filter-expected.checksum:
* platform/chromium-win/svg/custom/text-filter-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.checksum:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.checksum:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.checksum:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.checksum:
* platform/chromium-win/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.checksum: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.png: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.checksum: Added.
* platform/chromium-win/svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.png: Added.
* platform/chromium-win/svg/filters/big-sized-filter-expected.checksum:
* platform/chromium-win/svg/filters/big-sized-filter-expected.png:
* platform/chromium-win/svg/filters/feColorMatrix-values-expected.checksum:
* platform/chromium-win/svg/filters/feColorMatrix-values-expected.png:
* platform/chromium-win/svg/filters/feComposite-expected.checksum:
* platform/chromium-win/svg/filters/feComposite-expected.png:
* platform/chromium-win/svg/filters/feGaussianBlur-expected.checksum:
* platform/chromium-win/svg/filters/feGaussianBlur-expected.png:
* platform/chromium-win/svg/filters/feOffset-expected.checksum:
* platform/chromium-win/svg/filters/feOffset-expected.png:
* platform/chromium-win/svg/filters/feTile-expected.checksum:
* platform/chromium-win/svg/filters/feTile-expected.png:
* platform/chromium-win/svg/filters/filter-on-filter-for-text-expected.checksum:
* platform/chromium-win/svg/filters/filter-on-filter-for-text-expected.png:
* platform/chromium-win/svg/filters/filter-on-tspan-expected.checksum:
* platform/chromium-win/svg/filters/filter-on-tspan-expected.png:
* platform/chromium-win/svg/filters/filterRes1-expected.checksum: Added.
* platform/chromium-win/svg/filters/filterRes1-expected.png: Added.
* platform/chromium-win/svg/filters/filterRes2-expected.checksum: Added.
* platform/chromium-win/svg/filters/filterRes2-expected.png: Added.
* platform/chromium-win/svg/filters/filterRes3-expected.checksum: Added.
* platform/chromium-win/svg/filters/filterRes3-expected.png: Added.
* platform/chromium-win/svg/filters/filteredImage-expected.checksum:
* platform/chromium-win/svg/filters/filteredImage-expected.png:
* platform/chromium-win/svg/filters/parent-children-with-same-filter-expected.checksum:
* platform/chromium-win/svg/filters/parent-children-with-same-filter-expected.png:
* platform/chromium-win/svg/filters/shadow-on-filter-expected.checksum:
* platform/chromium-win/svg/filters/shadow-on-filter-expected.png:
* platform/chromium-win/svg/filters/sourceAlpha-expected.checksum:
* platform/chromium-win/svg/filters/sourceAlpha-expected.png:
* platform/chromium-win/svg/filters/subRegion-in-userSpace-expected.checksum:
* platform/chromium-win/svg/filters/subRegion-in-userSpace-expected.png:
* platform/chromium-win/svg/filters/subRegion-one-effect-expected.checksum:
* platform/chromium-win/svg/filters/subRegion-one-effect-expected.png:
* platform/chromium-win/svg/filters/subRegion-two-effects-expected.checksum:
* platform/chromium-win/svg/filters/subRegion-two-effects-expected.png:
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69231
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zimmermann@webkit.org [Wed, 6 Oct 2010 20:37:43 +0000 (20:37 +0000)]
2010-10-06 Nikolas Zimmermann <nzimmermann@rim.com>
Rubber stamped by Dirk Schulze.
Next patch updating the SVG pixel test baseline for Leopard & Snow Leopard.
* platform/mac-leopard/svg/dynamic-updates: Added.
* platform/mac-leopard/svg/dynamic-updates/SVGCircleElement-dom-cx-attr-expected.checksum: Added.
...
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69230
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 6 Oct 2010 20:36:57 +0000 (20:36 +0000)]
2010-10-06 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r69210.
http://trac.webkit.org/changeset/69210
https://bugs.webkit.org/show_bug.cgi?id=47297
This patch broke Windows (Requested by andersca on #webkit).
* DerivedSources.make:
* DerivedSources.pro:
* Platform/CoreIPC/Arguments.h:
* Platform/CoreIPC/HandleMessage.h:
(CoreIPC::handleMessage):
* Scripts/webkit2/messages.py:
* Scripts/webkit2/messages_unittest.py:
* Shared/CoreIPCSupport/WebPageProxyMessageKinds.h: Added.
* Shared/StringPairVector.h: Removed.
* UIProcess/API/mac/PageClientImpl.h:
* UIProcess/API/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::registerEditCommand):
* UIProcess/API/qt/qwkpage.cpp:
(QWKPagePrivate::registerEditCommand):
* UIProcess/API/qt/qwkpage_p.h:
* UIProcess/PageClient.h:
* UIProcess/WebEditCommandProxy.cpp:
(WebKit::WebEditCommandProxy::unapply):
(WebKit::WebEditCommandProxy::reapply):
* UIProcess/WebFormClient.cpp:
(WebKit::WebFormClient::willSubmitForm):
* UIProcess/WebFormClient.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveMessage):
(WebKit::WebPageProxy::didReceiveSyncMessage):
(WebKit::WebPageProxy::didStartProvisionalLoadForFrame):
(WebKit::WebPageProxy::didReceiveServerRedirectForProvisionalLoadForFrame):
(WebKit::WebPageProxy::didFailProvisionalLoadForFrame):
(WebKit::WebPageProxy::didCommitLoadForFrame):
(WebKit::WebPageProxy::didFinishDocumentLoadForFrame):
(WebKit::WebPageProxy::didFinishLoadForFrame):
(WebKit::WebPageProxy::didFailLoadForFrame):
(WebKit::WebPageProxy::didReceiveTitleForFrame):
(WebKit::WebPageProxy::didFirstLayoutForFrame):
(WebKit::WebPageProxy::didFirstVisuallyNonEmptyLayoutForFrame):
(WebKit::WebPageProxy::didRemoveFrameFromHierarchy):
(WebKit::WebPageProxy::decidePolicyForNavigationAction):
(WebKit::WebPageProxy::decidePolicyForNewWindowAction):
(WebKit::WebPageProxy::decidePolicyForMIMEType):
(WebKit::WebPageProxy::willSubmitForm):
(WebKit::WebPageProxy::createNewPage):
(WebKit::WebPageProxy::runJavaScriptAlert):
(WebKit::WebPageProxy::runJavaScriptConfirm):
(WebKit::WebPageProxy::runJavaScriptPrompt):
(WebKit::WebPageProxy::mouseDidMoveOverElement):
(WebKit::WebPageProxy::contentsSizeChanged):
(WebKit::WebPageProxy::addItemToBackForwardList):
(WebKit::WebPageProxy::goToItemInBackForwardList):
(WebKit::WebPageProxy::registerEditCommandForUndo):
(WebKit::WebPageProxy::registerEditCommandForRedo):
(WebKit::WebPageProxy::didReceiveEvent):
(WebKit::WebPageProxy::didChangeAcceleratedCompositing):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in: Removed.
* UIProcess/win/WebView.cpp:
(WebKit::WebView::registerEditCommand):
* UIProcess/win/WebView.h:
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::setWindowRect):
(WebKit::WebChromeClient::takeFocus):
(WebKit::WebChromeClient::createWindow):
(WebKit::WebChromeClient::runJavaScriptAlert):
(WebKit::WebChromeClient::runJavaScriptConfirm):
(WebKit::WebChromeClient::runJavaScriptPrompt):
(WebKit::WebChromeClient::setStatusbarText):
(WebKit::WebChromeClient::contentsSizeChanged):
(WebKit::WebChromeClient::mouseDidMoveOverElement):
(WebKit::WebChromeClient::setToolTip):
(WebKit::WebChromeClient::setCursor):
* WebProcess/WebCoreSupport/WebEditorClient.cpp:
(WebKit::WebEditorClient::registerCommandForUndo):
(WebKit::WebEditorClient::clearUndoRedoOperations):
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::detachedFromParent2):
(WebKit::WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
(WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
(WebKit::WebFrameLoaderClient::dispatchDidReceiveTitle):
(WebKit::WebFrameLoaderClient::dispatchDidCommitLoad):
(WebKit::WebFrameLoaderClient::dispatchDidFailProvisionalLoad):
(WebKit::WebFrameLoaderClient::dispatchDidFailLoad):
(WebKit::WebFrameLoaderClient::dispatchDidFinishDocumentLoad):
(WebKit::WebFrameLoaderClient::dispatchDidFinishLoad):
(WebKit::WebFrameLoaderClient::dispatchDidFirstLayout):
(WebKit::WebFrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout):
(WebKit::WebFrameLoaderClient::dispatchDecidePolicyForMIMEType):
(WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
(WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
(WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
(WebKit::WebFrameLoaderClient::postProgressStartedNotification):
(WebKit::WebFrameLoaderClient::postProgressEstimateChangedNotification):
(WebKit::WebFrameLoaderClient::postProgressFinishedNotification):
(WebKit::WebFrameLoaderClient::createFrame):
* WebProcess/WebPage/WebBackForwardListProxy.cpp:
(WebKit::WebBackForwardListProxy::addItem):
(WebKit::WebBackForwardListProxy::goToItem):
(WebKit::WebBackForwardListProxy::backItem):
(WebKit::WebBackForwardListProxy::currentItem):
(WebKit::WebBackForwardListProxy::forwardItem):
(WebKit::WebBackForwardListProxy::itemAtIndex):
(WebKit::WebBackForwardListProxy::backListCount):
(WebKit::WebBackForwardListProxy::forwardListCount):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
(WebKit::WebPage::changeAcceleratedCompositingMode):
(WebKit::WebPage::enterAcceleratedCompositingMode):
(WebKit::WebPage::sendClose):
(WebKit::WebPage::mouseEvent):
(WebKit::WebPage::wheelEvent):
(WebKit::WebPage::keyEvent):
(WebKit::WebPage::validateMenuItem):
(WebKit::WebPage::touchEvent):
(WebKit::WebPage::show):
(WebKit::WebPage::runJavaScriptInMainFrame):
(WebKit::WebPage::getRenderTreeExternalRepresentation):
(WebKit::WebPage::getSourceForFrame):
* win/WebKit2.vcproj:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69229
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt@apple.com [Wed, 6 Oct 2010 20:35:21 +0000 (20:35 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=47298
Reviewed by Dan Bernstein.
Rename blockHeight to blockLogicalHeight.
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::markLinesDirtyInBlockRange):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::computeBlockDirectionPositionsForLine):
(WebCore::RenderBlock::layoutInlineChildren):
(WebCore::RenderBlock::determineStartPosition):
(WebCore::RenderBlock::determineEndPosition):
(WebCore::RenderBlock::matchedEndLine):
* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::RootInlineBox):
(WebCore::RootInlineBox::adjustPosition):
* rendering/RootInlineBox.h:
(WebCore::RootInlineBox::blockLogicalHeight):
(WebCore::RootInlineBox::setBlockLogicalHeight):
* rendering/svg/SVGRootInlineBox.cpp:
(WebCore::SVGRootInlineBox::layoutRootBox):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69228
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jamesr@google.com [Wed, 6 Oct 2010 20:21:54 +0000 (20:21 +0000)]
2010-10-05 James Robinson <jamesr@chromium.org>
Reviewed by Kenneth Russell.
[chromium] DRT assertion w/accel 2D canvas in PlatformContextSkia
https://bugs.webkit.org/show_bug.cgi?id=47242
Call PlatformContextSkia::prepareForSoftwareDraw before doing putImageData
since that call mutates the software backing store.
Test: fast/canvas/canvas-putImageData.html
* platform/graphics/skia/ImageBufferSkia.cpp:
(WebCore::ImageBuffer::putUnmultipliedImageData):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69227
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap@apple.com [Wed, 6 Oct 2010 20:14:40 +0000 (20:14 +0000)]
Reviewed by Brady Eidson.
https://bugs.webkit.org/show_bug.cgi?id=47294
<rdar://problem/8425647>Application cache isn't consulted on redirect
Test: http/tests/appcache/main-resource-redirect.html
* loader/MainResourceLoader.cpp:
(WebCore::MainResourceLoader::continueAfterNavigationPolicy): If we have substitute data now
(presumably after a redirect is served by appcache), switch to it.
(WebCore::MainResourceLoader::willSendRequest): Check appcache for the new URL.
* loader/MainResourceLoader.h: Made handleDataLoadSoon() take a const ResourceRequest
reference - it doesn't ever modify it, and we can call it from continueAfterNavigationPolicy() now.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69226
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jberlin@webkit.org [Wed, 6 Oct 2010 19:54:05 +0000 (19:54 +0000)]
WKSerializedScriptValue.h needs to be copied over into the WEBKITOUTPUTDIR on Windows.
https://bugs.webkit.org/show_bug.cgi?id=47287
Rubber-stamped by Dan Bernstein.
* win/WebKit2Generated.make:
Copy WKSerializedScriptValue.h into $(WEBKITOUTPUTDIR)\include\WebKit2.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69225
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zimmermann@webkit.org [Wed, 6 Oct 2010 19:38:08 +0000 (19:38 +0000)]
2010-10-06 Nikolas Zimmermann <nzimmermann@rim.com>
Rubber stamped by Dirk Schulze.
Next patch updating the SVG pixel test baseline for Leopard & Snow Leopard.
* platform/mac-leopard/svg/W3C-SVG-1.1/filters-morph-01-f-expected.checksum:
* platform/mac-leopard/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
...
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69224
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Wed, 6 Oct 2010 19:37:45 +0000 (19:37 +0000)]
2010-10-06 Alejandro G. Castro <alex@igalia.com>
Reviewed by Dirk Schulze.
ContextShadow should not use the blur radius as kernel size of the
box blurs
https://bugs.webkit.org/show_bug.cgi?id=46918
Calculate the size of the kernel in the blur algorithm using the radius instead
of using the blur distance directly. Change the name of the variables to match the
terminology in the spec.
* platform/graphics/ContextShadow.cpp:
(WebCore::ContextShadow::ContextShadow):
(WebCore::ContextShadow::clear):
(WebCore::ContextShadow::blurLayerImage):
(WebCore::ContextShadow::calculateLayerBoundingRect):
* platform/graphics/ContextShadow.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69223
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abecsi@webkit.org [Wed, 6 Oct 2010 19:16:02 +0000 (19:16 +0000)]
2010-10-06 Andras Becsi <abecsi@webkit.org>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Correct CamelCase of socketSentdata() in SocketStreamHandlePrivate
to fix "QMetaObject::invokeMethod: No such method" warnings in layout tests.
https://bugs.webkit.org/show_bug.cgi?id=47284
No new tests needed.
* platform/network/qt/SocketStreamHandlePrivate.h:
* platform/network/qt/SocketStreamHandleQt.cpp:
(WebCore::SocketStreamHandlePrivate::socketSentData):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69221
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt@apple.com [Wed, 6 Oct 2010 19:02:34 +0000 (19:02 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=47285
Reviewed by Dan Bernstein.
Update to the latest writing-mode draft. The block-flow property is gone and has been replaced with writing-mode.
Change all the code to use writingMode() instead of blockFlow() and rename all functions that referred to block flow
as appropriate.
WebCore:
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator WritingMode):
(WebCore::CSSPrimitiveValue::operator SVGWritingMode):
* css/CSSProperty.cpp:
(WebCore::resolveToPhysicalProperty):
(WebCore::CSSProperty::resolveDirectionAwareProperty):
* css/CSSProperty.h:
* css/CSSPropertyNames.in:
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::styleForDocument):
(WebCore::CSSStyleSelector::adjustRenderStyle):
(WebCore::CSSStyleSelector::applyDeclarations):
(WebCore::CSSStyleSelector::applyProperty):
* css/CSSValueKeywords.in:
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::MarginInfo::MarginInfo):
(WebCore::RenderBlock::expandsToEncloseOverhangingFloats):
(WebCore::RenderBlock::setLogicalLeftForChild):
(WebCore::RenderBlock::setLogicalTopForChild):
(WebCore::RenderBlock::layoutBlockChild):
(WebCore::RenderBlock::insertFloatingObject):
(WebCore::RenderBlock::addOverhangingFloats):
(WebCore::RenderBlock::addIntrudingFloats):
(WebCore::RenderBlock::collapsedMarginBeforeForChild):
(WebCore::RenderBlock::collapsedMarginAfterForChild):
(WebCore::RenderBlock::marginBeforeForChild):
(WebCore::RenderBlock::marginAfterForChild):
(WebCore::RenderBlock::marginStartForChild):
(WebCore::RenderBlock::marginEndForChild):
(WebCore::RenderBlock::setMarginStartForChild):
(WebCore::RenderBlock::setMarginEndForChild):
(WebCore::RenderBlock::setMarginBeforeForChild):
(WebCore::RenderBlock::setMarginAfterForChild):
(WebCore::RenderBlock::marginValuesForChild):
* rendering/RenderBlock.h:
(WebCore::RenderBlock::logicalWidthForChild):
(WebCore::RenderBlock::logicalHeightForChild):
(WebCore::RenderBlock::logicalTopForChild):
(WebCore::RenderBlock::logicalRightOffsetForContent):
(WebCore::RenderBlock::logicalLeftOffsetForContent):
(WebCore::RenderBlock::logicalTopForFloat):
(WebCore::RenderBlock::logicalBottomForFloat):
(WebCore::RenderBlock::logicalLeftForFloat):
(WebCore::RenderBlock::logicalRightForFloat):
(WebCore::RenderBlock::logicalWidthForFloat):
(WebCore::RenderBlock::setLogicalTopForFloat):
(WebCore::RenderBlock::setLogicalLeftForFloat):
(WebCore::RenderBlock::setLogicalHeightForFloat):
(WebCore::RenderBlock::setLogicalWidthForFloat):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::marginBefore):
(WebCore::RenderBox::marginAfter):
(WebCore::RenderBox::marginStart):
(WebCore::RenderBox::marginEnd):
(WebCore::RenderBox::setMarginStart):
(WebCore::RenderBox::setMarginEnd):
(WebCore::RenderBox::setMarginBefore):
(WebCore::RenderBox::setMarginAfter):
(WebCore::RenderBox::styleDidChange):
(WebCore::RenderBox::perpendicularContainingBlockLogicalHeight):
(WebCore::RenderBox::computeLogicalWidth):
(WebCore::RenderBox::computeLogicalHeight):
(WebCore::RenderBox::availableLogicalHeightUsing):
(WebCore::RenderBox::avoidsFloats):
* rendering/RenderBox.h:
(WebCore::RenderBox::logicalLeft):
(WebCore::RenderBox::logicalTop):
(WebCore::RenderBox::logicalWidth):
(WebCore::RenderBox::logicalHeight):
(WebCore::RenderBox::setLogicalLeft):
(WebCore::RenderBox::setLogicalTop):
(WebCore::RenderBox::setLogicalWidth):
(WebCore::RenderBox::setLogicalHeight):
(WebCore::RenderBox::setLogicalLocation):
(WebCore::RenderBox::contentLogicalWidth):
(WebCore::RenderBox::contentLogicalHeight):
(WebCore::RenderBox::stretchesToViewport):
(WebCore::RenderBox::intrinsicLogicalWidth):
(WebCore::RenderBox::intrinsicLogicalHeight):
(WebCore::RenderBox::availableWidth):
(WebCore::RenderBox::availableHeight):
(WebCore::RenderBox::scrollbarLogicalHeight):
(WebCore::RenderBox::isWritingModeRoot):
* rendering/RenderFieldset.cpp:
(WebCore::RenderFieldset::paintBoxDecorations):
(WebCore::RenderFieldset::paintMask):
* rendering/RenderImage.cpp:
(WebCore::RenderImage::computeReplacedLogicalWidth):
(WebCore::RenderImage::computeReplacedLogicalHeight):
* rendering/RenderInline.cpp:
(WebCore::RenderInline::marginLeft):
(WebCore::RenderInline::marginRight):
(WebCore::RenderInline::marginTop):
(WebCore::RenderInline::marginBottom):
* rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::paddingTop):
(WebCore::RenderTableCell::paddingBottom):
(WebCore::RenderTableCell::paddingLeft):
(WebCore::RenderTableCell::paddingRight):
* rendering/RenderView.h:
(WebCore::RenderView::viewLogicalWidth):
(WebCore::RenderView::viewLogicalHeight):
* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::RootInlineBox):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff):
(WebCore::RenderStyle::logicalWidth):
(WebCore::RenderStyle::logicalHeight):
(WebCore::RenderStyle::logicalMinWidth):
(WebCore::RenderStyle::logicalMaxWidth):
(WebCore::RenderStyle::logicalMinHeight):
(WebCore::RenderStyle::logicalMaxHeight):
(WebCore::RenderStyle::borderBeforeWidth):
(WebCore::RenderStyle::borderAfterWidth):
(WebCore::RenderStyle::borderStartWidth):
(WebCore::RenderStyle::borderEndWidth):
(WebCore::RenderStyle::marginBefore):
(WebCore::RenderStyle::marginAfter):
(WebCore::RenderStyle::marginBeforeUsing):
(WebCore::RenderStyle::marginAfterUsing):
(WebCore::RenderStyle::marginStart):
(WebCore::RenderStyle::marginEnd):
(WebCore::RenderStyle::marginStartUsing):
(WebCore::RenderStyle::marginEndUsing):
(WebCore::RenderStyle::paddingBefore):
(WebCore::RenderStyle::paddingAfter):
(WebCore::RenderStyle::paddingStart):
(WebCore::RenderStyle::paddingEnd):
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::setBitDefaults):
(WebCore::InheritedFlags::writingMode):
(WebCore::InheritedFlags::isHorizontalWritingMode):
(WebCore::InheritedFlags::setWritingMode):
(WebCore::InheritedFlags::initialWritingMode):
* rendering/style/RenderStyleConstants.h:
* rendering/style/SVGRenderStyle.h:
(WebCore::SVGRenderStyle::initialWritingMode):
(WebCore::SVGRenderStyle::setWritingMode):
(WebCore::SVGRenderStyle::writingMode):
* rendering/style/SVGRenderStyleDefs.h:
LayoutTests:
Also hacked all of the getComputedStyle tests to just omit dashboard regions so that the results can be
cross-platform.
* fast/blockflow/auto-margins-across-boundaries.html:
* fast/blockflow/block-formatting-context.html:
* fast/blockflow/block-level-images.html:
* fast/blockflow/display-mutation.html:
* fast/blockflow/fieldsets.html:
* fast/blockflow/floats-in-block-layout.html:
* fast/blockflow/inline-direction-positioning.html:
* fast/blockflow/margin-collapse.html:
* fast/blockflow/percentage-padding.html:
* fast/blockflow/relative-positioning-percentages.html:
* fast/blockflow/root-lr-basic.html:
* fast/blockflow/self-collapsing-block.html:
* fast/css/getComputedStyle/computed-style-expected.txt:
* fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* fast/css/getComputedStyle/computed-style-without-renderer.html:
* fast/css/getComputedStyle/computed-style.html:
* fast/css/logical-property-resolution.html:
* platform/mac/fast/css/getComputedStyle/computed-style-expected.txt: Removed.
* platform/mac/svg/css/getComputedStyle-basic-expected.checksum: Removed.
* platform/mac/svg/css/getComputedStyle-basic-expected.png: Removed.
* platform/win/fast/css/getComputedStyle/computed-style-expected.txt: Removed.
* platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Removed.
* svg/css/getComputedStyle-basic-expected.txt:
* svg/css/getComputedStyle-basic.xhtml:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69220
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ajwong@chromium.org [Wed, 6 Oct 2010 18:59:27 +0000 (18:59 +0000)]
[chromium] Unreviewed. Build fix.
Update test expectations for more svg failures, and some new crashes.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69219
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 6 Oct 2010 18:57:19 +0000 (18:57 +0000)]
2010-10-06 Rafael Antognolli <antognolli@profusion.mobi>
Unreviewed build fix.
[EFL] Build fix for glib support.
https://bugs.webkit.org/show_bug.cgi?id=47221
If compiling with GLib support enabled, we also need to link wtf against
glib library.
* wtf/CMakeListsEfl.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69218
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 6 Oct 2010 18:53:40 +0000 (18:53 +0000)]
2010-10-06 Ragner Magalhaes <ragner.magalhaes@openbossa.org>
Reviewed by Antonio Gomes.
[Qt] Duplicated code in QWebPagePrivate
https://bugs.webkit.org/show_bug.cgi?id=47195
Remove duplicated code from QWebPagePrivate class for QGraphicsView and QWidget's mouse events.
* Api/qwebpage.cpp:
(QWebPagePrivate::mouseMoveEvent):
(QWebPagePrivate::mousePressEvent):
(QWebPagePrivate::mouseDoubleClickEvent):
(QWebPagePrivate::mouseTripleClickEvent):
(QWebPagePrivate::mouseReleaseEvent):
(QWebPagePrivate::wheelEvent):
(QWebPagePrivate::dragEnterEvent):
(QWebPagePrivate::dragLeaveEvent):
(QWebPagePrivate::dragMoveEvent):
(QWebPagePrivate::dropEvent):
* Api/qwebpage_p.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69217
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 6 Oct 2010 18:31:15 +0000 (18:31 +0000)]
2010-10-06 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r69201.
http://trac.webkit.org/changeset/69201
https://bugs.webkit.org/show_bug.cgi?id=47279
This change broke the WebKitGTK+ build for GTK+ 2.0.
(Requested by mrobinson on #webkit).
* platform/gtk/GtkVersioning.c:
(getDefaultGDKPointerDevice):
* platform/gtk/GtkVersioning.h:
* platform/gtk/PlatformScreenGtk.cpp:
(WebCore::getVisual):
(WebCore::screenAvailableRect):
2010-10-06 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r69201.
http://trac.webkit.org/changeset/69201
https://bugs.webkit.org/show_bug.cgi?id=47279
This change broke the WebKitGTK+ build for GTK+ 2.0.
(Requested by mrobinson on #webkit).
* tests/testcopyandpaste.c:
(runPasteTestCallback):
* webkit/webkitwebview.cpp:
(webkit_web_view_button_press_event):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69216
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
senorblanco@chromium.org [Wed, 6 Oct 2010 18:22:29 +0000 (18:22 +0000)]
2010-10-06 Stephen White <senorblanco@chromium.org>
Reviewed by James Robinson.
https://bugs.webkit.org/show_bug.cgi?id=47282
Robustify the creation of SharedGraphicsContext3D against shader
compilation failures.
Covered by any canvas 2D layout test, when opened in chrome with
--enable-accelerated-2d-canvas --in-process-webgl.
* platform/graphics/gpu/SharedGraphicsContext3D.cpp:
(WebCore::SharedGraphicsContext3D::create):
(WebCore::SharedGraphicsContext3D::SharedGraphicsContext3D):
* platform/graphics/gpu/SharedGraphicsContext3D.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69215
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andersca@apple.com [Wed, 6 Oct 2010 18:16:32 +0000 (18:16 +0000)]
Rename toRef/toWK to toAPI/toImpl
https://bugs.webkit.org/show_bug.cgi?id=47281
Reviewed by Sam Weinig.
* Shared/API/c/WKArray.cpp:
* Shared/API/c/WKCertificateInfo.cpp:
* Shared/API/c/WKData.cpp:
* Shared/API/c/WKDictionary.cpp:
* Shared/API/c/WKError.cpp:
* Shared/API/c/WKMutableArray.cpp:
* Shared/API/c/WKMutableDictionary.cpp:
* Shared/API/c/WKNumber.cpp:
* Shared/API/c/WKSerializedScriptValue.cpp:
* Shared/API/c/WKSharedAPICast.h:
* Shared/API/c/WKString.cpp:
* Shared/API/c/WKType.cpp:
* Shared/API/c/WKURL.cpp:
* Shared/API/c/WKURLRequest.cpp:
* Shared/API/c/WKURLResponse.cpp:
* Shared/API/c/cf/WKStringCF.cpp:
* Shared/API/c/cf/WKURLCF.cpp:
* Shared/API/c/cf/WKURLRequestCF.cpp:
* Shared/API/c/cf/WKURLResponseCF.cpp:
* Shared/API/c/mac/WKCertificateInfoMac.mm:
* Shared/API/c/mac/WKURLRequestNS.mm:
* Shared/API/c/mac/WKURLResponseNS.mm:
* Shared/API/c/win/WKCertificateInfoWin.cpp:
* UIProcess/API/C/WKAPICast.h:
* UIProcess/API/C/WKBackForwardList.cpp:
* UIProcess/API/C/WKBackForwardListItem.cpp:
* UIProcess/API/C/WKContext.cpp:
* UIProcess/API/C/WKFormSubmissionListener.cpp:
* UIProcess/API/C/WKFrame.cpp:
* UIProcess/API/C/WKFramePolicyListener.cpp:
* UIProcess/API/C/WKNavigationData.cpp:
* UIProcess/API/C/WKPage.cpp:
* UIProcess/API/C/WKPageNamespace.cpp:
* UIProcess/API/C/WKPreferences.cpp:
* UIProcess/API/C/WKPreferencesPrivate.cpp:
* UIProcess/API/C/win/WKContextWin.cpp:
* UIProcess/API/C/win/WKView.cpp:
* UIProcess/API/cpp/qt/WKStringQt.cpp:
* UIProcess/API/cpp/qt/WKURLQt.cpp:
* UIProcess/API/mac/PageClientImpl.mm:
* UIProcess/API/mac/WKView.mm:
* UIProcess/API/qt/ClientImpl.cpp:
* UIProcess/API/qt/qwkpage.cpp:
* UIProcess/GenericCallback.h:
* UIProcess/WebContextInjectedBundleClient.cpp:
* UIProcess/WebFormClient.cpp:
* UIProcess/WebHistoryClient.cpp:
* UIProcess/WebLoaderClient.cpp:
* UIProcess/WebPolicyClient.cpp:
* UIProcess/WebUIClient.cpp:
* UIProcess/mac/ChunkedUpdateDrawingAreaProxyMac.mm:
* UIProcess/mac/LayerBackedDrawingAreaProxyMac.mm:
* UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp:
* WebProcess/InjectedBundle/API/c/WKBundle.cpp:
* WebProcess/InjectedBundle/API/c/WKBundleAPICast.h:
* WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
* WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp:
* WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp:
* WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
* WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.cpp:
* WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp:
* WebProcess/InjectedBundle/InjectedBundle.cpp:
* WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp:
* WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp:
* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
* WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
* WebProcess/InjectedBundle/mac/InjectedBundleMac.cpp:
* WebProcess/InjectedBundle/qt/InjectedBundleQt.cpp:
* WebProcess/InjectedBundle/win/InjectedBundleWin.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69214
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ajwong@chromium.org [Wed, 6 Oct 2010 18:14:03 +0000 (18:14 +0000)]
[chromium] Unreviewed. Build fix.
Change svg test expectations after r69181
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69213
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zimmermann@webkit.org [Wed, 6 Oct 2010 17:36:17 +0000 (17:36 +0000)]
2010-10-06 Nikolas Zimmermann <nzimmermann@rim.com>
Not reviewed.
Fixed incorrect baseline for svg/custom/use-invalid-style.svg
* platform/mac-leopard/svg/custom/use-invalid-style-expected.txt: Copied from svg/custom/use-invalid-style-expected.txt.
* platform/mac/svg/custom/use-invalid-style-expected.txt: Added.
* svg/custom/use-invalid-style-expected.txt: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69212
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 6 Oct 2010 17:34:24 +0000 (17:34 +0000)]
2010-10-06 Luiz Agostini <luiz.agostini@openbossa.org>
Reviewed by Kenneth Rohde Christiansen.
Renaming WebCore::ViewportConfiguration to WebCore::ViewportAttributes
https://bugs.webkit.org/show_bug.cgi?id=47268
Renaming WebCore::ViewportConfiguration to WebCore::ViewportAttributes
* dom/ViewportArguments.cpp:
(WebCore::findConfigurationForViewportData):
* dom/ViewportArguments.h:
2010-10-06 Luiz Agostini <luiz.agostini@openbossa.org>
Reviewed by Kenneth Rohde Christiansen.
Renaming WebCore::ViewportConfiguration to WebCore::ViewportAttributes
https://bugs.webkit.org/show_bug.cgi?id=47268
Renaming WebCore::ViewportConfiguration to WebCore::ViewportAttributes
* Api/qwebpage.cpp:
(QWebPage::viewportConfigurationForSize):
* WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::viewportAsText):
2010-10-06 Luiz Agostini <luiz.agostini@openbossa.org>
Reviewed by Kenneth Rohde Christiansen.
Renaming WebCore::ViewportConfiguration to WebCore::ViewportAttributes
https://bugs.webkit.org/show_bug.cgi?id=47268
Renaming WebCore::ViewportConfiguration to WebCore::ViewportAttributes
* UIProcess/API/qt/qwkpage.cpp:
(QWKPage::viewportConfigurationForSize):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69211
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
weinig@apple.com [Wed, 6 Oct 2010 17:31:40 +0000 (17:31 +0000)]
Generate the messages sent to the WebPageProxy
https://bugs.webkit.org/show_bug.cgi?id=47239
Reviewed by Adam Roben.
* Platform/CoreIPC/Arguments.h:
Add additional typedefs.
* Platform/CoreIPC/HandleMessage.h:
(CoreIPC::handleMessage):
Add more handleMessage implementations.
* Scripts/webkit2/messages.py:
* Scripts/webkit2/messages_unittest.py:
Add headers for reply argument types.
* Shared/CoreIPCSupport/WebPageProxyMessageKinds.h: Removed.
* Shared/StringPairVector.h: Added.
This file is a hack to work around a deficiency in the generator
which can't deal with class templates with more than one argument.
* UIProcess/API/mac/PageClientImpl.h:
* UIProcess/API/mac/PageClientImpl.mm:
* UIProcess/API/qt/qwkpage.cpp:
* UIProcess/API/qt/qwkpage_p.h:
* UIProcess/PageClient.h:
* UIProcess/WebEditCommandProxy.cpp:
* UIProcess/WebFormClient.cpp:
* UIProcess/WebFormClient.h:
* UIProcess/WebPageProxy.cpp:
* UIProcess/WebPageProxy.h:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
* WebProcess/WebCoreSupport/WebEditorClient.cpp:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
* WebProcess/WebPage/WebBackForwardListProxy.cpp:
* WebProcess/WebPage/WebPage.cpp:
Migrate to generated calls.
* UIProcess/WebPageProxy.messages.in: Added.
New messages definitions file.
* DerivedSources.make:
* DerivedSources.pro:
* win/WebKit2.vcproj:
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
Add new files.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69210
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zimmermann@webkit.org [Wed, 6 Oct 2010 17:27:36 +0000 (17:27 +0000)]
2010-10-06 Nikolas Zimmermann <nzimmermann@rim.com>
Rubber stamped by Dirk Schulze.
Generate SVG pixel test baseline for Snow Leopard (placed in platform/mac/svg) in svg/custom.
* platform/mac-leopard/svg/custom/SVGMatrix-interface-expected.checksum: Added.
* platform/mac-leopard/svg/custom/SVGMatrix-interface-expected.png: Added.
...
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69209
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jorlow@chromium.org [Wed, 6 Oct 2010 17:13:16 +0000 (17:13 +0000)]
2010-10-05 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Nate Chapin.
[Chromium] WebIDBKeyRange should handle null left/right pointers
https://bugs.webkit.org/show_bug.cgi?id=47247
* src/WebIDBKeyRange.cpp:
(WebKit::WebIDBKeyRange::assign):
(WebKit::WebIDBKeyRange::left):
(WebKit::WebIDBKeyRange::right):
(WebKit::WebIDBKeyRange::flags):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69208
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tony@chromium.org [Wed, 6 Oct 2010 17:10:05 +0000 (17:10 +0000)]
2010-10-06 Tony Chang <tony@chromium.org>
Unreviewed, rolling out r69202.
http://trac.webkit.org/changeset/69202
https://bugs.webkit.org/show_bug.cgi?id=46937
Broke compile of test_shell
* DEPS:
* public/WebDragData.h:
* src/WebDragData.cpp:
(WebKit::WebDragData::hasFileNames):
(WebKit::WebDragData::fileNames):
(WebKit::WebDragData::setFileNames):
(WebKit::WebDragData::appendToFileNames):
(WebKit::WebDragData::fileContentFileName):
(WebKit::WebDragData::setFileContentFileName):
2010-10-06 Tony Chang <tony@chromium.org>
Unreviewed, rolling out r69202.
http://trac.webkit.org/changeset/69202
https://bugs.webkit.org/show_bug.cgi?id=46937
Broke compile of test_shell
* DumpRenderTree/chromium/EventSender.cpp:
(EventSender::beginDragWithFiles):
* DumpRenderTree/chromium/WebViewHost.cpp:
(addDRTFakeFileToDataObject):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69207
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 6 Oct 2010 17:09:48 +0000 (17:09 +0000)]
2010-10-06 Renata Hodovan <reni@inf.u-szeged.hu>
Reviewed by Nikolas Zimmermann.
SVGFEMergeNodeElement doesn't support dynamic invalidation, when attributes change.
https://bugs.webkit.org/show_bug.cgi?id=47181
Adding layout tests for feMergeNode dynamic changes.
* platform/mac/svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.png: Added.
* platform/mac/svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.checksum: Added.
* platform/mac/svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.png: Added.
* svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr-expected.txt: Added.
* svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr.html: Added.
* svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop-expected.txt: Added.
* svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop.html: Added.
* svg/dynamic-updates/script-tests/SVGFEMergeNodeElement-dom-in-attr.js: Added.
(executeTest):
* svg/dynamic-updates/script-tests/SVGFEMergeNodeElement-svgdom-in-prop.js: Added.
(executeTest):
2010-10-06 Renata Hodovan <reni@inf.u-szeged.hu>
Reviewed by Nikolas Zimmermann.
SVGFEMergeNodeElement doesn't support dynamic invalidation, when attributes change.
https://bugs.webkit.org/show_bug.cgi?id=47181
Since feMergeNode doesn't have own renderer, we have to call the invalidation via its parent.
Tests: svg/dynamic-updates/SVGFEMergeNodeElement-dom-in-attr.html
svg/dynamic-updates/SVGFEMergeNodeElement-svgdom-in-prop.html
* svg/SVGFEMergeNodeElement.cpp:
(WebCore::SVGFEMergeNodeElement::svgAttributeChanged):
* svg/SVGFEMergeNodeElement.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69206
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 6 Oct 2010 17:04:39 +0000 (17:04 +0000)]
2010-10-06 Carlos Garcia Campos <cgarcia@igalia.com>
Reviewed by Martin Robinson.
[GTK] Remove unused code from gtk2drawing.c
https://bugs.webkit.org/show_bug.cgi?id=47086
gtk2drawing.c was copied from mozilla and contains a lot of code that is not
used by WebKit. Most of that unused code is uncompatible with gtk3, so
removing it will make easier porting to gtk3.
* platform/gtk/gtk2drawing.c:
(moz_gtk_get_widget_border):
(moz_gtk_widget_paint):
(moz_gtk_destroy_theme_parts_widgets):
* platform/gtk/gtkdrawing.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69205
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 6 Oct 2010 16:52:44 +0000 (16:52 +0000)]
2010-10-06 Carlos Garcia Campos <cgarcia@igalia.com>
Reviewed by Xan Lopez.
[GTK] Use pixbufs instead of pixmaps when creating platform cursors
https://bugs.webkit.org/show_bug.cgi?id=47087
gdk_cursor_new_from_pixmap() has been removed in gtk3. We can use a
pixbuf instead of a pixman and use gdk_cursor_new_from_pixbuf() instead
for both gtk2 and gtk3.
* platform/gtk/CursorGtk.cpp:
(WebCore::createNamedCursor):
* platform/gtk/GtkVersioning.c:
(gdk_cairo_format_for_content):
(gdk_cairo_surface_coerce_to_image):
(convert_alpha):
(convert_no_alpha):
(gdk_pixbuf_get_from_surface):
* platform/gtk/GtkVersioning.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69204
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
podivilov@chromium.org [Wed, 6 Oct 2010 16:48:24 +0000 (16:48 +0000)]
2010-10-06 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: add event listener breakpoints sidebar pane
https://bugs.webkit.org/show_bug.cgi?id=46738
* inspector/front-end/BreakpointManager.js:
(WebInspector.BreakpointManager.prototype.createEventListenerBreakpoint):
(WebInspector.BreakpointManager.prototype.createXHRBreakpoint.breakpoint.compareTo):
(WebInspector.BreakpointManager.prototype.createXHRBreakpoint):
(WebInspector.NativeBreakpoint):
(WebInspector.NativeBreakpoint.prototype._setOnBackend.didSet):
(WebInspector.NativeBreakpoint.prototype._setOnBackend):
* inspector/front-end/BreakpointsSidebarPane.js:
(WebInspector.XHRBreakpointsSidebarPane.prototype._showEditBreakpointDialog):
(WebInspector.BreakpointItem):
(WebInspector.EventListenerBreakpointsSidebarPane):
(WebInspector.EventListenerBreakpointsSidebarPane.prototype._populate):
(WebInspector.EventListenerBreakpointsSidebarPane.prototype._createCheckbox):
(WebInspector.EventListenerBreakpointsSidebarPane.prototype._categoryCheckboxClicked):
(WebInspector.EventListenerBreakpointsSidebarPane.prototype._eventNameCheckboxClicked):
(WebInspector.EventListenerBreakpointsSidebarPane.prototype._breakpointEnableChanged):
(WebInspector.EventListenerBreakpointsSidebarPane.prototype._updateCategoryCheckbox):
(WebInspector.EventListenerBreakpointsSidebarPane.prototype.reset):
* inspector/front-end/EventListenersSidebarPane.js:
():
* inspector/front-end/PropertiesSection.js:
(WebInspector.PropertiesSection):
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel):
(WebInspector.ScriptsPanel.prototype.reset):
* inspector/front-end/inspector.css:
(.section .properties, .event-bar .event-properties):
(.section.expanded .properties, .event-bar.expanded .event-properties):
(ol.properties-tree):
(ol.properties-tree li):
(ol.properties-tree li.parent):
(ol.properties-tree li.parent::before):
(ol.properties-tree li.parent.expanded::before):
(ol.properties-tree li .info):
(ol.properties-tree ol, .stack-trace ol, ol.stack-trace):
(ol.properties-tree ol.expanded, .stack-trace ol, ol.stack-trace):
(ol.stack-trace):
(.event-listener-breakpoints .event-category):
(ol.event-listener-breakpoints.properties-tree .children li):
(.event-listener-breakpoints .checkbox-elem):
* inspector/front-end/inspector.js:
(WebInspector.createXHRBreakpointsSidebarPane.breakpointAdded):
(WebInspector.createXHRBreakpointsSidebarPane):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69203
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tony@chromium.org [Wed, 6 Oct 2010 16:45:56 +0000 (16:45 +0000)]
2010-10-06 Daniel Cheng <dcheng@chromium.org>
Reviewed by Tony Chang.
[chromium] Minor naming cleanup in WebDragData, part 2
https://bugs.webkit.org/show_bug.cgi?id=46937
Chromium no longer uses the deprecated methods, so delete them.
* DEPS:
* public/WebDragData.h:
* src/WebDragData.cpp:
2010-10-06 Daniel Cheng <dcheng@chromium.org>
Reviewed by Tony Chang.
[chromium] Minor naming cleanup in WebDragData, part 2
https://bugs.webkit.org/show_bug.cgi?id=46937
Update DRT to use the renamed methods.
* DumpRenderTree/chromium/EventSender.cpp:
(EventSender::beginDragWithFiles):
* DumpRenderTree/chromium/WebViewHost.cpp:
(addDRTFakeFileToDataObject):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69202
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 6 Oct 2010 16:40:43 +0000 (16:40 +0000)]
2010-10-06 Carlos Garcia Campos <cgarcia@igalia.com>
Reviewed by Xan Lopez.
[GTK] Port to gtk+3 (2.91.0)
https://bugs.webkit.org/show_bug.cgi?id=47249
Do not use GdkDrawable deprecated API
Some methods of GdkDrawable are deprecated in gtk2 and have been
remmoved in gtk3. Equivalent API has been added to GdkWindow.
* platform/gtk/GtkVersioning.c:
(getDefaultGDKPointerDevice):
* platform/gtk/GtkVersioning.h:
* platform/gtk/PlatformScreenGtk.cpp:
(WebCore::getVisual):
(WebCore::screenAvailableRect):
2010-10-06 Carlos Garcia Campos <cgarcia@igalia.com>
Reviewed by Xan Lopez.
Port to gtk+3 (2.91.0)
https://bugs.webkit.org/show_bug.cgi?id=47249
Do not use GdkDrawable deprecated API
Some methods of GdkDrawable are deprecated in gtk2 and have been
remmoved in gtk3. Equivalent API has been added to GdkWindow.
* tests/testcopyandpaste.c:
(runPasteTestCallback):
* webkit/webkitwebview.cpp:
(webkit_web_view_button_press_event):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69201
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ddkilzer@apple.com [Wed, 6 Oct 2010 16:35:22 +0000 (16:35 +0000)]
Added bug URL to ChangeLog entry.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69200
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ddkilzer@apple.com [Wed, 6 Oct 2010 16:32:18 +0000 (16:32 +0000)]
Move WebArchive serialization code into its own file
Reviewed by Adam Roben.
This is the first step in making webarchive tests work on
Windows.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added
new files to the project.
* DumpRenderTree/mac/DumpRenderTree.mm: Removed code that moved
to WebArchiveDumpSupport.mm.
* DumpRenderTree/mac/WebArchiveDumpSupport.h: Added.
* DumpRenderTree/mac/WebArchiveDumpSupport.mm: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTree.mm.
(serializeWebArchiveToXML):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69199
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 6 Oct 2010 16:28:46 +0000 (16:28 +0000)]
2010-10-06 Ryuan Choi <ryuan.choi@samsung.com>
Reviewed by Antonio Gomes.
[EFL] Support Progress Tag
https://bugs.webkit.org/show_bug.cgi?id=45951
Implement to render progress tag.
No new tests. Existing tests in fast/dom/HTMLProgressElement.
* platform/efl/RenderThemeEfl.cpp:
(WebCore::RenderThemeEfl::paintThemePart):
(WebCore::RenderThemeEfl::edjeGroupFromFormType):
(WebCore::RenderThemeEfl::adjustProgressBarStyle):
(WebCore::RenderThemeEfl::paintProgressBar):
* platform/efl/RenderThemeEfl.h:
2010-10-06 Ryuan Choi <ryuan.choi@samsung.com>
Reviewed by Antonio Gomes.
[EFL] Support Progress Tag
https://bugs.webkit.org/show_bug.cgi?id=45951
Implement progressbar.edc to support progress tag
* CMakeListsEfl.txt:
* DefaultTheme/default.edc:
* DefaultTheme/widget/progressbar: Added.
* DefaultTheme/widget/progressbar/bt_base.png: Added.
* DefaultTheme/widget/progressbar/progressbar.edc: Added.
* DefaultTheme/widget/progressbar/shelf_inset.png: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69198
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Wed, 6 Oct 2010 15:58:21 +0000 (15:58 +0000)]
2010-10-06 Patrick Gansterer <paroga@webkit.org>
Reviewed by Darin Adler.
Add KURL::protocolIsData()
https://bugs.webkit.org/show_bug.cgi?id=47219
* page/Page.cpp:
(WebCore::Page::userStyleSheetLocationChanged):
* page/SecurityOrigin.cpp:
(WebCore::SecurityOrigin::taintsCanvas):
* page/XSSAuditor.cpp:
(WebCore::XSSAuditor::findInRequest):
* platform/KURL.h:
(WebCore::KURL::protocolIsData):
* platform/network/curl/ResourceHandleManager.cpp:
(WebCore::ResourceHandleManager::dispatchSynchronousJob):
(WebCore::ResourceHandleManager::startJob):
* platform/network/win/ResourceHandleWin.cpp:
(WebCore::ResourceHandle::start):
(WebCore::ResourceHandle::fileLoadTimer):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69197
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
apavlov@chromium.org [Wed, 6 Oct 2010 15:43:55 +0000 (15:43 +0000)]
2010-10-06 Alexander Pavlov <apavlov@chromium.org>
Reviewed by Pavel Feldman.
CSSParser: Enable rule selector source range extraction.
API modification followed by clients.
https://bugs.webkit.org/show_bug.cgi?id=46367
Some code removal suggested by Darin Adler.
* css/CSSGrammar.y:
* css/CSSParser.cpp:
(WebCore::CSSParser::CSSParser):
(WebCore::CSSParser::parseSheet):
(WebCore::CSSParser::parseDeclaration):
(WebCore::CSSParser::createStyleRule):
(WebCore::CSSParser::markSelectorListStart):
(WebCore::CSSParser::markSelectorListEnd):
(WebCore::CSSParser::markRuleBodyStart):
(WebCore::CSSParser::markRuleBodyEnd):
(WebCore::CSSParser::markPropertyStart):
(WebCore::CSSParser::markPropertyEnd):
* css/CSSParser.h:
(WebCore::CSSParser::resetSelectorListMarks):
(WebCore::CSSParser::resetRuleBodyMarks):
(WebCore::CSSParser::resetPropertyMarks):
* css/CSSPropertySourceData.cpp:
* css/CSSPropertySourceData.h:
(WebCore::CSSRuleSourceData::create):
* inspector/InspectorCSSStore.cpp:
(WebCore::InspectorCSSStore::getRuleSourceData):
(WebCore::InspectorCSSStore::extractRanges):
(WebCore::InspectorCSSStore::getStyleAttributeRanges):
* inspector/InspectorCSSStore.h:
* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::getStyleSourceData):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69196
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
krit@webkit.org [Wed, 6 Oct 2010 15:23:51 +0000 (15:23 +0000)]
2010-10-06 Dirk Schulze <krit@webkit.org>
Added reviewer to commit r69187.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69195
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
krit@webkit.org [Wed, 6 Oct 2010 15:16:46 +0000 (15:16 +0000)]
2010-10-06 Dirk Schulze <krit@webkit.org>
Reviewed by Nikolas Zimmermann.
SVG feMorphology - big radii cause huge ImageBuffer sizes
https://bugs.webkit.org/show_bug.cgi?id=47263
The current code in FEMorphology::determineAbsolutePaintRect calculates the smallest paint rect by inflate the paint rect
of a previous effect with the radius. This was meant as an optimization, but I forgot to clip the calculated image size
by the maximal effect size. This caused huge image sizes for big radii.
This is covered by svg/filters/feMorphology-invalid-radius.svg and fixes the crashes on Windows and Snow Leopard bots.
* platform/graphics/filters/FEMorphology.cpp:
(WebCore::FEMorphology::determineAbsolutePaintRect):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69194
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
alex@webkit.org [Wed, 6 Oct 2010 14:57:53 +0000 (14:57 +0000)]
2010-10-06 Alejandro G. Castro <alex@igalia.com>
Reviewed by Dirk Schulze.
Fixed crash in gtk bots (filter-empty-g.svg) after r69181.
* rendering/RenderSVGResourceFilter.cpp:
(WebCore::RenderSVGResourceFilter::postApplyResource):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69193
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tonikitoo@webkit.org [Wed, 6 Oct 2010 14:53:54 +0000 (14:53 +0000)]
Rename HitTestResult::rectFromPoint to rectForPoint
https://bugs.webkit.org/show_bug.cgi?id=47261
Patch by Antonio Gomes <agomes@rim.org> on 2010-10-06
Reviewed by Kenneth Rohde Christiansen.
As per Kenneth Christiansen request inhttps://bugs.webkit.org/show_bug.cgi?id=46336#c20.
* WebCore.exp.in:
* dom/Document.cpp:
(WebCore::Document::nodesFromRect):
* rendering/EllipsisBox.cpp:
(WebCore::EllipsisBox::nodeAtPoint):
* rendering/HitTestResult.cpp:
(WebCore::HitTestResult::addNodeToRectBasedTestResult):
(WebCore::HitTestResult::rectForPoint):
* rendering/HitTestResult.h:
(WebCore::HitTestResult::rectForPoint):
* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::nodeAtPoint):
* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::nodeAtPoint):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::nodeAtPoint):
(WebCore::RenderBlock::hitTestColumns):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::nodeAtPoint):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::hitTestLayer):
(WebCore::RenderLayer::hitTestChildLayerColumns):
* rendering/RenderTable.cpp:
(WebCore::RenderTable::nodeAtPoint):
* rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::nodeAtPoint):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69192
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zimmermann@webkit.org [Wed, 6 Oct 2010 14:44:11 +0000 (14:44 +0000)]
2010-10-06 Nikolas Zimmermann <nzimmermann@rim.com>
Rubber stamped by Dirk Schulze.
Generate SVG pixel test baseline for Snow Leopard (placed in platform/mac/svg). Where the results differ in Leopard
place new results in platform/mac-leopard/svg. As I finally have a 10.5 and 10.6 machine, we can now maintain two
baselines.
* platform/mac-leopard/svg/W3C-SVG-1.1/animate-elem-03-t-expected.checksum: Added.
* platform/mac-leopard/svg/W3C-SVG-1.1/animate-elem-03-t-expected.png: Added.
...
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69191
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
yurys@chromium.org [Wed, 6 Oct 2010 13:42:04 +0000 (13:42 +0000)]
2010-10-06 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: test that uncaught exceptions have stack trace when inspector is open
https://bugs.webkit.org/show_bug.cgi?id=47250
* http/tests/inspector/console-tests2.js: Added.
(initialize_ConsoleTest.InspectorTest.dumpConsoleMessages):
(initialize_ConsoleTest.InspectorTest.expandConsoleMessages):
(initialize_ConsoleTest):
* inspector/console-uncaught-exception.html: Added.
* platform/chromium/inspector/console-uncaught-exception-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69190
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
caseq@chromium.org [Wed, 6 Oct 2010 13:33:07 +0000 (13:33 +0000)]
2010-10-06 Andrey Kosyakov <caseq@chromium.org>
Unreviewed. Rebased test expectations after r69185.
* inspector/report-protocol-errors-expected.txt:
* platform/mac-leopard/inspector/extensions-resources-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69189
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zimmermann@webkit.org [Wed, 6 Oct 2010 13:06:39 +0000 (13:06 +0000)]
2010-10-06 Nikolas Zimmermann <nzimmermann@rim.com>
Rubber stamped by Dirk Schulze.
SVGs with filters look grainy when scaled
https://bugs.webkit.org/show_bug.cgi?id=5526
Land new mac pixel test baseline after the filter patch.
* platform/mac-leopard/svg/W3C-SVG-1.1/filters-composite-02-b-expected.checksum:
* platform/mac-leopard/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png:
* platform/mac-leopard/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.checksum:
* platform/mac-leopard/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png:
* platform/mac-leopard/svg/W3C-SVG-1.1/filters-morph-01-f-expected.checksum:
* platform/mac-leopard/svg/W3C-SVG-1.1/filters-morph-01-f-expected.png:
* platform/mac-leopard/svg/batik/filters/feTile-expected.checksum:
* platform/mac-leopard/svg/batik/filters/feTile-expected.png:
* platform/mac-leopard/svg/custom/feComponentTransfer-Discrete-expected.checksum:
* platform/mac-leopard/svg/custom/feComponentTransfer-Discrete-expected.png:
* platform/mac-leopard/svg/custom/feComponentTransfer-Gamma-expected.checksum:
* platform/mac-leopard/svg/custom/feComponentTransfer-Gamma-expected.png:
* platform/mac-leopard/svg/custom/feComponentTransfer-Linear-expected.checksum:
* platform/mac-leopard/svg/custom/feComponentTransfer-Linear-expected.png:
* platform/mac-leopard/svg/custom/feComponentTransfer-Table-expected.checksum:
* platform/mac-leopard/svg/custom/feComponentTransfer-Table-expected.png:
* platform/mac-leopard/svg/filters/feGaussianBlur-expected.checksum:
* platform/mac-leopard/svg/filters/feGaussianBlur-expected.png:
* platform/mac-leopard/svg/filters/shadow-on-filter-expected.checksum:
* platform/mac-leopard/svg/filters/shadow-on-filter-expected.png:
* platform/mac-leopard/svg/filters/shadow-on-rect-with-filter-expected.checksum:
* platform/mac-leopard/svg/filters/shadow-on-rect-with-filter-expected.png:
* platform/mac/svg/W3C-SVG-1.1/filters-blend-01-b-expected.checksum:
* platform/mac/svg/W3C-SVG-1.1/filters-blend-01-b-expected.png:
* platform/mac/svg/W3C-SVG-1.1/filters-color-01-b-expected.checksum:
* platform/mac/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
* platform/mac/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.checksum:
* platform/mac/svg/W3C-SVG-1.1/filters-comptran-01-b-expected.png:
* platform/mac/svg/W3C-SVG-1.1/filters-example-01-b-expected.checksum:
* platform/mac/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
* platform/mac/svg/batik/filters/filterRegions-expected.checksum:
* platform/mac/svg/batik/filters/filterRegions-expected.png:
* platform/mac/svg/batik/text/textEffect-expected.checksum:
* platform/mac/svg/batik/text/textEffect-expected.png:
* platform/mac/svg/batik/text/textEffect3-expected.checksum:
* platform/mac/svg/batik/text/textEffect3-expected.png:
* platform/mac/svg/batik/text/textFeatures-expected.checksum:
* platform/mac/svg/batik/text/textFeatures-expected.png:
* platform/mac/svg/custom/convolution-crash-expected.checksum:
* platform/mac/svg/custom/convolution-crash-expected.png:
* platform/mac/svg/custom/empty-merge-expected.checksum:
* platform/mac/svg/custom/empty-merge-expected.png:
* platform/mac/svg/custom/image-with-transform-clip-filter-expected.checksum:
* platform/mac/svg/custom/image-with-transform-clip-filter-expected.png:
* platform/mac/svg/custom/non-opaque-filters-expected.checksum:
* platform/mac/svg/custom/non-opaque-filters-expected.png:
* platform/mac/svg/custom/recursive-filter-expected.checksum:
* platform/mac/svg/custom/recursive-filter-expected.png:
* platform/mac/svg/custom/resource-invalidate-on-target-update-expected.checksum:
* platform/mac/svg/custom/resource-invalidate-on-target-update-expected.png:
* platform/mac/svg/custom/text-filter-expected.checksum:
* platform/mac/svg/custom/text-filter-expected.png:
* platform/mac/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.checksum:
* platform/mac/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-in-attr-expected.png:
* platform/mac/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.checksum:
* platform/mac/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-attr-expected.png:
* platform/mac/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.checksum:
* platform/mac/svg/dynamic-updates/SVGFEGaussianBlurElement-dom-stdDeviation-call-expected.png:
* platform/mac/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.checksum:
* platform/mac/svg/dynamic-updates/SVGFEGaussianBlurElement-svgdom-in-prop-expected.png:
* platform/mac/svg/filters/big-sized-filter-expected.checksum:
* platform/mac/svg/filters/big-sized-filter-expected.png:
* platform/mac/svg/filters/feColorMatrix-values-expected.checksum:
* platform/mac/svg/filters/feColorMatrix-values-expected.png:
* platform/mac/svg/filters/feComposite-expected.checksum:
* platform/mac/svg/filters/feComposite-expected.png:
* platform/mac/svg/filters/feDisplacementMap-expected.checksum:
* platform/mac/svg/filters/feDisplacementMap-expected.png:
* platform/mac/svg/filters/feOffset-expected.checksum:
* platform/mac/svg/filters/feOffset-expected.png:
* platform/mac/svg/filters/feTile-expected.checksum:
* platform/mac/svg/filters/feTile-expected.png:
* platform/mac/svg/filters/filter-on-filter-for-text-expected.checksum:
* platform/mac/svg/filters/filter-on-filter-for-text-expected.png:
* platform/mac/svg/filters/filter-on-tspan-expected.checksum:
* platform/mac/svg/filters/filter-on-tspan-expected.png:
* platform/mac/svg/filters/filterRes-expected.checksum:
* platform/mac/svg/filters/filterRes-expected.png:
* platform/mac/svg/filters/filterRes1-expected.checksum:
* platform/mac/svg/filters/filterRes1-expected.png:
* platform/mac/svg/filters/filterRes3-expected.checksum:
* platform/mac/svg/filters/filterRes3-expected.png:
* platform/mac/svg/filters/filteredImage-expected.checksum:
* platform/mac/svg/filters/filteredImage-expected.png:
* platform/mac/svg/filters/parent-children-with-same-filter-expected.checksum:
* platform/mac/svg/filters/parent-children-with-same-filter-expected.png:
* platform/mac/svg/filters/sourceAlpha-expected.checksum:
* platform/mac/svg/filters/sourceAlpha-expected.png:
* platform/mac/svg/filters/subRegion-in-userSpace-expected.checksum:
* platform/mac/svg/filters/subRegion-in-userSpace-expected.png:
* platform/mac/svg/filters/subRegion-one-effect-expected.checksum:
* platform/mac/svg/filters/subRegion-one-effect-expected.png:
* platform/mac/svg/filters/subRegion-two-effects-expected.checksum:
* platform/mac/svg/filters/subRegion-two-effects-expected.png:
* platform/mac/svg/repaint/filter-repaint-expected.checksum:
* platform/mac/svg/repaint/filter-repaint-expected.png:
* platform/mac/svg/webarchive/svg-feimage-subresources-expected.checksum:
* platform/mac/svg/webarchive/svg-feimage-subresources-expected.png:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69188
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
krit@webkit.org [Wed, 6 Oct 2010 12:47:28 +0000 (12:47 +0000)]
2010-10-06 Dirk Schulze <krit@webkit.org>
Unreviewed fix of Cairo ports.
SVGs with filters look grainy when scaled
https://bugs.webkit.org/show_bug.cgi?id=5526
Fixed issues on Cairos shadow implementation after the changes to FilterEffects.
Cairo calculates the inflation of the effect rect itself. Respect this for FEGaussianBlur.
This is just a temporary solution, since Cairo and Qt will use ContextShadow soon.
* platform/graphics/GraphicsContext.h:
* platform/graphics/cairo/GraphicsContextCairo.cpp:
(WebCore::drawBorderlessRectShadow):
(WebCore::GraphicsContext::applyPlatformShadow):
(WebCore::GraphicsContext::createShadowMask):
(WebCore::GraphicsContext::drawTiledShadow):
(WebCore::GraphicsContext::fillRoundedRect):
* platform/graphics/filters/ImageBufferFilter.cpp:
(WebCore::ImageBufferFilter::ImageBufferFilter):
(WebCore::ImageBufferFilter::create):
* platform/graphics/filters/ImageBufferFilter.h:
(WebCore::ImageBufferFilter::filterRegion):
(WebCore::ImageBufferFilter::sourceImageRect):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69187
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zimmermann@webkit.org [Wed, 6 Oct 2010 12:29:59 +0000 (12:29 +0000)]
2010-10-06 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Dirk Schulze.
Only execute first SVG text layout phase if needed
https://bugs.webkit.org/show_bug.cgi?id=47254
The first SVG text layout phase which computes the per-character metrics and extracts
the x/y/dx/dy/rotate values from the SVG DOM is currently executed upon every RenderSVGText::layout() call.
Optimize this, by only calling it:
- if x/y/dx/dy/rotate value lists change
- the style of a RenderSVGInlineText changes (eg. font-size changes influence metrics)
- the text content of any of the children in the <text> subtree change
No change in layout tests, a pure performance change - covered by existing tests.
* rendering/RenderSVGResourceGradient.cpp:
(WebCore::createMaskAndSwapContextForTextGradient): Adapt to renames, use RenderSVGText::locateRenderSVGTextAncestor().
(WebCore::clipToTextMask): Ditto.
* rendering/SVGRenderSupport.cpp:
* rendering/SVGRenderSupport.h: Move findTreeRootObject to RenderSVGText::locateRenderSVGTextAncestor().
* rendering/svg/RenderSVGInline.cpp:
(WebCore::RenderSVGInline::objectBoundingBox): adapt to renames, use RenderSVGText::locateRenderSVGTextAncestor().
(WebCore::RenderSVGInline::strokeBoundingBox): Ditto.
(WebCore::RenderSVGInline::repaintRectInLocalCoordinates): Ditto.
(WebCore::RenderSVGInline::absoluteQuads): Ditto.
* rendering/svg/RenderSVGInlineText.cpp:
(WebCore::RenderSVGInlineText::styleDidChange): Call setNeedsPositioningValuesUpdate() on the RenderSVGText root object, if diff == StyleDifferenceLayout.
* rendering/svg/RenderSVGText.cpp:
(WebCore::RenderSVGText::RenderSVGText): Initialize m_needsPositioningValuesUpdate.
(WebCore::RenderSVGText::locateRenderSVGTextAncestor): New helper function, moved from SVGRenderSupport, to a more sensible place.
(WebCore::RenderSVGText::layout): Only execute the first SVG text layout phase, if m_needsPositioningValuesUpdate=true.
* rendering/svg/RenderSVGText.h:
(WebCore::RenderSVGText::setNeedsPositioningValuesUpdate):
(WebCore::toRenderSVGText): Add new helper casting methods, like most other renderers have.
* svg/SVGTextPositioningElement.cpp:
(WebCore::updatePositioningValuesInRenderer):
(WebCore::SVGTextPositioningElement::svgAttributeChanged): If x/y/dx/dy/rotate changes, call setNeedsPositioningValuesUpdate on the RenderSVGText root object.
(WebCore::SVGTextPositioningElement::childrenChanged): If any children changes (addition, removal), do the same.
* svg/SVGTextPositioningElement.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69186
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
caseq@chromium.org [Wed, 6 Oct 2010 12:27:32 +0000 (12:27 +0000)]
2010-10-05 Andrey Kosyakov <caseq@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: [Extensions API] Expose access to resource bodies
Added support for encoding resource in WebInspector.getResourceContent()
https://bugs.webkit.org/show_bug.cgi?id=45953
* inspector/Inspector.idl: Added encoding parameter to getResourceContent()
* inspector/InspectorController.cpp:
(WebCore::InspectorController::getResourceContent):
* inspector/InspectorController.h:
* inspector/InspectorResource.cpp: Added sourceBytes() to return encoded representation of resource's binary body.
(WebCore::InspectorResource::sourceBytes):
* inspector/InspectorResource.h:
* inspector/front-end/ExtensionAPI.js:
(WebInspector.injectedExtensionAPI.Resources.prototype.getContent):
* inspector/front-end/ExtensionServer.js:
(WebInspector.ExtensionServer):
(WebInspector.ExtensionServer.prototype._onGetResourceContent):
(WebInspector.ExtensionServer.prototype._onGetResourceContent.onContentAvailable):
(WebInspector.getEncodedResourceContent):
* inspector/front-end/NetworkPanel.js:
(WebInspector.getResourceContent):
* inspector/front-end/ResourcesPanel.js:
(WebInspector.getResourceContent):
2010-10-05 Andrey Kosyakov <caseq@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: [Extensions API] Expose access to resource bodies
https://bugs.webkit.org/show_bug.cgi?id=45953
* inspector/extensions-api-expected.txt:
* inspector/extensions-resources-expected.txt:
* inspector/extensions-resources.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69185
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt@apple.com [Wed, 6 Oct 2010 12:10:02 +0000 (12:10 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=47235
Reviewed by Dan Bernstein.
Make "lr" block-flow fieldsets work.
(1) Patched html.css rules for legends and fieldsets to use logical margins and padding.
(2) Converted just enough of computePreferredLogicalWidths to make basic examples work.
(3) Removed the extra border drawing code from fieldsets so that the "clip out the legend" approach
is now just always used. It's silly to keep the old border drawing code in (which has already gotten out
of sync with the base class) just to avoid a save/restore and some clipping.
(4) Modified the layout/painting routines to place the legend properly and to be able to draw it in
both the top and the left borders.
Added fast/blockflow/fieldsets.html
WebCore:
* css/html.css:
(legend):
(fieldset):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::determineLogicalLeftPositionForChild):
(WebCore::RenderBlock::setLogicalLeftForChild):
(WebCore::RenderBlock::setLogicalTopForChild):
(WebCore::RenderBlock::layoutBlockChild):
(WebCore::RenderBlock::computePreferredLogicalWidths):
* rendering/RenderBlock.h:
* rendering/RenderFieldset.cpp:
(WebCore::RenderFieldset::layoutLegend):
(WebCore::RenderFieldset::paintBoxDecorations):
(WebCore::RenderFieldset::paintMask):
* rendering/RenderFieldset.h:
LayoutTests:
* fast/blockflow/fieldsets.html: Added.
* platform/mac/fast/blockflow/fieldsets-expected.checksum: Added.
* platform/mac/fast/blockflow/fieldsets-expected.png: Added.
* platform/mac/fast/blockflow/fieldsets-expected.txt: Added.
* platform/mac/fast/forms/fieldset-align-expected.checksum:
* platform/mac/fast/forms/fieldset-align-expected.png:
* platform/mac/fast/forms/fieldset-align-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69184
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Wed, 6 Oct 2010 10:59:43 +0000 (10:59 +0000)]
2010-10-06 Patrick Gansterer <paroga@webkit.org>
Reviewed by Darin Adler.
Move parseDataUrl() from CURL into own file
https://bugs.webkit.org/show_bug.cgi?id=41462
Move the data URL parsing algorithm into a new file to use it in ResourceHandleWin too.
* CMakeLists.txt:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* platform/network/DataURL.cpp: Added.
(WebCore::handleDataURL):
* platform/network/DataURL.h: Added.
* platform/network/curl/ResourceHandleManager.cpp:
(WebCore::ResourceHandleManager::dispatchSynchronousJob):
(WebCore::ResourceHandleManager::startJob):
* platform/network/win/ResourceHandleWin.cpp:
(WebCore::ResourceHandle::start):
(WebCore::ResourceHandle::fileLoadTimer):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69183
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
krit@webkit.org [Wed, 6 Oct 2010 10:40:14 +0000 (10:40 +0000)]
2010-10-06 Dirk Schulze <krit@webkit.org>
Unreviewed new baseline for Qt.
SVGs with filters look grainy when scaled
https://bugs.webkit.org/show_bug.cgi?id=5526
* platform/qt/svg/filters/shadow-on-filter-expected.txt:
* platform/qt/svg/filters/shadow-on-rect-with-filter-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69182
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
krit@webkit.org [Wed, 6 Oct 2010 09:45:18 +0000 (09:45 +0000)]
2010-10-06 Dirk Schulze <krit@webkit.org>
Reviewed by Nikolas Zimmermann.
SVGs with filters look grainy when scaled
https://bugs.webkit.org/show_bug.cgi?id=5526
SVG filter effects need smarter size calculation
https://bugs.webkit.org/show_bug.cgi?id=31370
SVG elements use Filters before own transformations
https://bugs.webkit.org/show_bug.cgi?id=32486
Calculate all filter results in device space instead of the filtered objects user space. This change is similar to
the patches for SVG Pattern and SVG Masker before. It avoids pixelation and guarantees smooth filter results for
every scale level and is independent of any transformation to the target element or any ancester of the target.
The second part of this patch reduces the size of every effect to the smallest affected region instead of the complete
filter primitive subregion (http://www.w3.org/TR/SVG/filters.html#FilterPrimitiveSubRegion). We just use the subregion
as clipping region, like mentioned in the SVG specification, to make the affected region even smaller now.
This is a huge speed up. The ECMA cloud (http://ejohn.org/files/ecma-cloud.svg) is more than 100 times faster on Gtk and
renders in less than a second.
Some examples on svg-wow.org can be viewed the first time now, since the subregions were much bigger than the affected
region.
There's still more potential to speed up filters, by further reducing the ImageBuffer sizes.
Renamed repaintRectInLocalCoordinates to absolutePaintRect, since all coordinates are in device space instead of the
user space now.
The absolute paint rect is calculated by determineAbsolutePaintRect() and gets called by FilterEffect::effectContext() on
applying the effect.
Partly rewrote filter resolution (http://www.w3.org/TR/SVG/filters.html#FilterElementFilterResAttribute) to work with the
new concept. This also corrects the old behavior to match the SVG specification.
Tests: svg/filters/filterRes1.svg
svg/filters/filterRes2.svg
svg/filters/filterRes3.svg
* platform/graphics/cairo/GraphicsContextCairo.cpp: Call setAbsolutePaintRect instead of setRepaintRectInLocalCoordinates.
(WebCore::GraphicsContext::createShadowMask):
* platform/graphics/filters/FEBlend.cpp: Renamed repaintRectInLocalCoordinates to absolutePaintRect.
(WebCore::FEBlend::apply):
* platform/graphics/filters/FEColorMatrix.cpp: Ditto.
(WebCore::FEColorMatrix::apply):
* platform/graphics/filters/FEComponentTransfer.cpp: Ditto.
(WebCore::FEComponentTransfer::apply):
* platform/graphics/filters/FEComposite.cpp: Ditto.
(WebCore::FEComposite::determineAbsolutePaintRect):
(WebCore::FEComposite::apply):
* platform/graphics/filters/FEComposite.h:
* platform/graphics/filters/FEConvolveMatrix.cpp: Ditto.
(WebCore::FEConvolveMatrix::apply):
* platform/graphics/filters/FEConvolveMatrix.h:
(WebCore::FEConvolveMatrix::determineAbsolutePaintRect):
* platform/graphics/filters/FEDisplacementMap.cpp: Ditto.
(WebCore::FEDisplacementMap::apply):
* platform/graphics/filters/FEDisplacementMap.h:
(WebCore::FEDisplacementMap::determineAbsolutePaintRect):
* platform/graphics/filters/FEFlood.cpp: Ditto.
(WebCore::FEFlood::apply):
* platform/graphics/filters/FEFlood.h:
(WebCore::FEFlood::determineAbsolutePaintRect):
* platform/graphics/filters/FEGaussianBlur.cpp: Ditto.
(WebCore::calculateKernelSize):
(WebCore::FEGaussianBlur::determineAbsolutePaintRect):
(WebCore::FEGaussianBlur::apply):
* platform/graphics/filters/FEGaussianBlur.h:
* platform/graphics/filters/FELighting.cpp: Ditto.
(WebCore::FELighting::apply):
* platform/graphics/filters/FEMerge.cpp: Ditto.
(WebCore::FEMerge::apply):
* platform/graphics/filters/FEMorphology.cpp: Ditto.
(WebCore::FEMorphology::determineAbsolutePaintRect):
(WebCore::FEMorphology::apply):
* platform/graphics/filters/FEMorphology.h:
* platform/graphics/filters/FEOffset.cpp: Ditto.
(WebCore::FEOffset::determineAbsolutePaintRect):
(WebCore::FEOffset::apply):
* platform/graphics/filters/FEOffset.h:
* platform/graphics/filters/FETile.cpp: Ditto.
(WebCore::FETile::determineFilterPrimitiveSubregion):
(WebCore::FETile::apply):
* platform/graphics/filters/FETile.h:
(WebCore::FETile::determineAbsolutePaintRect):
* platform/graphics/filters/FETurbulence.cpp: Ditto.
(WebCore::FETurbulence::apply):
* platform/graphics/filters/FETurbulence.h:
(WebCore::FETurbulence::determineAbsolutePaintRect):
* platform/graphics/filters/Filter.h:
(WebCore::Filter::applyHorizontalScale): Map horizontal effect values to absolute coordinates.
(WebCore::Filter::applyVerticalScale): Map vertical effect values to absolute coordinates.
(WebCore::Filter::mapAbsolutePointToLocalPoint):
(WebCore::Filter::filterRegionInUserSpace):
* platform/graphics/filters/FilterEffect.cpp: Ditto.
(WebCore::FilterEffect::determineFilterPrimitiveSubregion):
(WebCore::FilterEffect::determineAbsolutePaintRect):
(WebCore::FilterEffect::requestedRegionOfInputImageData):
(WebCore::FilterEffect::drawingRegionOfInputImage):
(WebCore::FilterEffect::effectContext):
* platform/graphics/filters/FilterEffect.h:
(WebCore::FilterEffect::absolutePaintRect):
(WebCore::FilterEffect::setAbsolutePaintRect):
(WebCore::FilterEffect::maxEffectRect): The subregion in absolute coordinates for SVG.
(WebCore::FilterEffect::setMaxEffectRect):
* platform/graphics/filters/SourceAlpha.cpp: Ditto.
(WebCore::SourceAlpha::determineAbsolutePaintRect):
(WebCore::SourceAlpha::apply):
* platform/graphics/filters/SourceAlpha.h:
* platform/graphics/filters/SourceGraphic.cpp: Ditto.
(WebCore::SourceGraphic::determineAbsolutePaintRect):
(WebCore::SourceGraphic::apply):
* platform/graphics/filters/SourceGraphic.h:
* rendering/RenderSVGResourceFilter.cpp:
(WebCore::RenderSVGResourceFilter::applyResource):
(WebCore::RenderSVGResourceFilter::postApplyResource):
* rendering/RenderSVGResourceFilter.h:
(WebCore::FilterData::FilterData):
* svg/graphics/filters/SVGFEImage.cpp: Ditto.
(WebCore::FEImage::apply):
* svg/graphics/filters/SVGFEImage.h:
(WebCore::FEImage::determineAbsolutePaintRect):
* svg/graphics/filters/SVGFilter.cpp:
(WebCore::SVGFilter::SVGFilter):
(WebCore::SVGFilter::determineFilterPrimitiveSubregion):
(WebCore::SVGFilter::applyHorizontalScale):
(WebCore::SVGFilter::applyVerticalScale):
(WebCore::SVGFilter::create):
* svg/graphics/filters/SVGFilter.h:
(WebCore::SVGFilter::effectBoundingBoxMode):
(WebCore::SVGFilter::filterRegionInUserSpace):
(WebCore::SVGFilter::filterRegion):
(WebCore::SVGFilter::mapAbsolutePointToLocalPoint): Map absolute point to local point in userspace.
(WebCore::SVGFilter::sourceImageRect):
(WebCore::SVGFilter::maxImageSize):
2010-10-06 Dirk Schulze <krit@webkit.org>
Reviewed by Nikolas Zimmermann.
SVGs with filters look grainy when scaled
https://bugs.webkit.org/show_bug.cgi?id=5526
Added three new tests for SVGs filterRes.
Shadow tests for SVG Filter needed an update. Current tests didn't respect
primitiveUnits "objectBoundingBox" for stdDeviation on feGaussianBlur correctly.
* platform/mac/svg/filters/filterRes1-expected.checksum: Added.
* platform/mac/svg/filters/filterRes1-expected.png: Added.
* platform/mac/svg/filters/filterRes1-expected.txt: Added.
* platform/mac/svg/filters/filterRes2-expected.checksum: Added.
* platform/mac/svg/filters/filterRes2-expected.png: Added.
* platform/mac/svg/filters/filterRes2-expected.txt: Added.
* platform/mac/svg/filters/filterRes3-expected.checksum: Added.
* platform/mac/svg/filters/filterRes3-expected.png: Added.
* platform/mac/svg/filters/filterRes3-expected.txt: Added.
* platform/mac/svg/filters/shadow-on-filter-expected.txt:
* platform/mac/svg/filters/shadow-on-rect-with-filter-expected.txt:
* svg/filters/filterRes1.svg: Added.
* svg/filters/filterRes2.svg: Added.
* svg/filters/filterRes3.svg: Added.
* svg/filters/shadow-on-filter.svg:
* svg/filters/shadow-on-rect-with-filter.svg:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69181
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
podivilov@chromium.org [Wed, 6 Oct 2010 08:17:57 +0000 (08:17 +0000)]
2010-10-06 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: add "Set Breakpoint" item to XHR resource context menu.
https://bugs.webkit.org/show_bug.cgi?id=47085
* English.lproj/localizedStrings.js:
* inspector/front-end/ResourcesPanel.js:
(WebInspector.ResourcesPanel.prototype._contextMenu):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69180
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tkent@chromium.org [Wed, 6 Oct 2010 07:37:02 +0000 (07:37 +0000)]
2010-10-06 Kent Tamura <tkent@chromium.org>
Unreviewed, test expectation update.
Add Chromium results for r69176.
* platform/chromium-linux/fast/forms/input-placeholder-focus-twice-expected.checksum: Added.
* platform/chromium-linux/fast/forms/input-placeholder-focus-twice-expected.png: Added.
* platform/chromium-mac/fast/forms/input-placeholder-focus-twice-expected.checksum: Added.
* platform/chromium-mac/fast/forms/input-placeholder-focus-twice-expected.png: Added.
* platform/chromium-win/fast/forms/input-placeholder-focus-twice-expected.checksum: Added.
* platform/chromium-win/fast/forms/input-placeholder-focus-twice-expected.png: Added.
* platform/chromium-win/fast/forms/input-placeholder-focus-twice-expected.txt: Added.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69179
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kinuko@chromium.org [Wed, 6 Oct 2010 05:52:05 +0000 (05:52 +0000)]
2010-10-05 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by David Levin.
Add idl and mock classes for FileSystemSync for FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=46405
Added bunch of *Sync classes, plus refactored some classes:
Added DOMFileSystemBase as a common base class for DOMFileSystem and
DOMFileSystemSync.
Added EntryBase as a common base class for Entry and EntrySync.
Added DirectoryReaderBase as a common base class for DirectoryReader and
DirectoryReaderSync.
Test: fast/filesystem/workers/
* CMakeLists.txt: Added new files.
* DerivedSources.cpp: Added new files.
* DerivedSources.make: Added new files.
* GNUmakefile.am: Added new files.
* WebCore.gypi: Added new files.
* WebCore.pri: Added new files.
* WebCore.pro: Added new files.
* WebCore.vcproj/WebCore.vcproj: Added new files. Also removed the duplicated fileapi\FileEntry.cpp entry.
* WebCore.xcodeproj/project.pbxproj: Added new files.
* bindings/js/JSDirectoryEntrySyncCustom.cpp: Added.
* bindings/js/JSEntrySyncCustom.cpp: Added.
* bindings/v8/custom/V8DirectoryEntrySyncCustom.cpp: Added.
* bindings/v8/custom/V8EntrySyncCustom.cpp: Added.
* fileapi/DOMFileSystemBase.cpp: Added.
* fileapi/DOMFileSystemBase.h: Added.
* fileapi/DOMFileSystemSync.cpp: Added.
* fileapi/DOMFileSystemSync.h: Added.
* fileapi/DOMFileSystemSync.idl: Added.
* fileapi/DirectoryEntrySync.cpp: Added.
* fileapi/DirectoryEntrySync.h: Added.
* fileapi/DirectoryEntrySync.idl: Added.
* fileapi/DirectoryReaderBase.h: Added.
* fileapi/DirectoryReaderSync.cpp: Added.
* fileapi/DirectoryReaderSync.h: Added.
* fileapi/DirectoryReaderSync.idl: Added.
* fileapi/EntryArraySync.cpp: Added.
* fileapi/EntryArraySync.h: Added.
* fileapi/EntryArraySync.idl: Added.
* fileapi/EntryBase.h: Added.
* fileapi/EntrySync.cpp: Added.
* fileapi/EntrySync.h: Added.
* fileapi/EntrySync.idl: Added.
* fileapi/FileEntrySync.cpp: Added.
* fileapi/FileEntrySync.h: Added.
* fileapi/FileEntrySync.idl: Added.
2010-10-05 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by David Levin.
Add idl and mock classes for FileSystemSync for FileSystem API
https://bugs.webkit.org/show_bug.cgi?id=46405
Add small subset of tests for workers (and non-workers) that can be
tested with the current minimal implementation.
An entry method (requestFileSystemSync) is not yet exposed to the
WorkerContext in this patch, so workers/simple-*-sync-expected.txt
have reference errors for now.
* fast/filesystem/resources/fs-worker-common.js: Added.
* fast/filesystem/resources/fs-worker-test-post.js: Added.
* fast/filesystem/resources/fs-worker-test-pre.js: Added.
* fast/filesystem/resources/simple-persistent-sync.js: Added.
* fast/filesystem/resources/simple-persistent.js: Added.
* fast/filesystem/resources/simple-temporary-sync.js: Added.
* fast/filesystem/resources/simple-temporary.js: Added.
* fast/filesystem/simple-persistent-expected.txt: Added.
* fast/filesystem/simple-persistent.html: Added.
* fast/filesystem/simple-temporary-expected.txt: Added.
* fast/filesystem/simple-temporary.html: Added.
* fast/filesystem/workers/simple-persistent-expected.txt: Added.
* fast/filesystem/workers/simple-persistent-sync-expected.txt: Added.
* fast/filesystem/workers/simple-persistent-sync.html: Added.
* fast/filesystem/workers/simple-persistent-sync.txt: Added.
* fast/filesystem/workers/simple-persistent.html: Added.
* fast/filesystem/workers/simple-temporary-expected.txt: Added.
* fast/filesystem/workers/simple-temporary-sync-expected.txt: Added.
* fast/filesystem/workers/simple-temporary-sync.html: Added.
* fast/filesystem/workers/simple-temporary.html: Added.
* fast/js/resources/fs-test-post.js: Added.
* platform/chromium/test_expectations.txt: Added fast/filesystem/workers
not to run them in regular test runs.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69178
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dbates@webkit.org [Wed, 6 Oct 2010 04:58:55 +0000 (04:58 +0000)]
2010-10-05 Daniel Bates <dbates@rim.com>
Reviewed by David Kilzer.
Add infrastructure to towards detecting change log diffs that aren't at the top of the ChangeLog
https://bugs.webkit.org/show_bug.cgi?id=46058
Make VCSUtils::fixChangeLogPatch() return a reference to a hash
structure so as to support returning additional information
about a change log diff.
Currently, VCSUtils::fixChangeLogPatch() returns a string that
represents the change log diff. Towards supporting the return
of additional information, such as whether the change log diff
inserts an entry at the top of the ChangeLog file, we need to
make VCSUtils::fixChangeLogPatch() return a reference to hash
structure.
* Scripts/VCSUtils.pm:
- Modified fixChangeLogPatch() to return a reference to a
hash structure.
- Added documentation to fixChangeLogPatch().
- Modified call site in mergeChangeLogs() as necessary.
* Scripts/svn-apply:
- Modified call site in patch() as necessary.
* Scripts/svn-create-patch:
- Modified call site in generateDiff() as necessary.
* Scripts/svn-unapply:
- Modified call site in patch() as necessary.
* Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl:
- Modified the unit tests as necessary.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69177
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tkent@chromium.org [Wed, 6 Oct 2010 04:36:09 +0000 (04:36 +0000)]
REGRESSION (r67166): "Placeholder" text remains in input box after 2nd focus()
https://bugs.webkit.org/show_bug.cgi?id=45940
Reviewed by Dimitri Glazkov.
WebCore:
Test: fast/forms/input-placeholder-focus-twice.html
* html/HTMLFormControlElement.h: Make supportsPlaceholder() public.
* rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::updateFromElement):
We always need to update the renderer value with the DOM value if
the element supports the placeholder feature.
Note: the placeholder feature and "unacceptable renderer value"
are exclusive.
LayoutTests:
* fast/forms/input-placeholder-focus-twice.html: Added.
* platform/chromium/test_expectations.txt:
* platform/mac/fast/forms/input-placeholder-focus-twice-expected.checksum: Added.
* platform/mac/fast/forms/input-placeholder-focus-twice-expected.png: Added.
* platform/mac/fast/forms/input-placeholder-focus-twice-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69176
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 6 Oct 2010 03:58:10 +0000 (03:58 +0000)]
2010-10-05 Kyusun Kim <maniagoon@company100.net>
Reviewed by Kent Tamura.
[BREWMP] Translate key code in PlatformKeyboardEvent with IKeysMapping
https://bugs.webkit.org/show_bug.cgi?id=47234
Brew MP devices have a variey of key configurations and use modifiers to
input capital letters, symbols and special characters. Use IKeysMapping to translate key code.
* platform/brew/PlatformKeyboardEventBrew.cpp:
(WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69175
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Wed, 6 Oct 2010 03:53:19 +0000 (03:53 +0000)]
2010-10-05 Martin Robinson <mrobinson@igalia.com>
[GTK] editing/pasteboard/dataTransfer-setData-getData.html fails on GTK+
https://bugs.webkit.org/show_bug.cgi?id=47244
* platform/gtk/Skipped: Skip this test as it's failing on GTK+ currently.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69174
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jparent@chromium.org [Wed, 6 Oct 2010 03:50:52 +0000 (03:50 +0000)]
2010-10-05 Julie Parent <jparent@chromium.org>
Reviewed by Tony Chang.
[Chromium] Rebaseline svg/W3C-SVG-1.1/fonts-glyph-02-t.svg
https://bugs.webkit.org/show_bug.cgi?id=47229
* platform/chromium-linux/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.checksum: Added.
* platform/chromium-linux/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.png: Added.
* platform/chromium-win/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.png: Old baseline had invalid character.
* platform/chromium-win/svg/W3C-SVG-1.1/fonts-glyph-02-t-expected.txt: Added.
* platform/chromium/test_expectations.txt:Link to bug about crashing.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69173
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Wed, 6 Oct 2010 03:41:47 +0000 (03:41 +0000)]
2010-10-05 W. James MacLean <wjmaclean@chromium.org>
Reviewed by James Robinson.
[chromium] Add mipmap support for ImageLayerChromium
https://bugs.webkit.org/show_bug.cgi?id=46493
Mipmap behaviour can be tested with existing tests.
Tests in LayoutTests/compositing/images/ will detect if
mipmaps fail.
* platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::SharedValues::SharedValues):
(WebCore::isPowerOfTwo):
(WebCore::ContentLayerChromium::updateTextureRect):
* platform/graphics/chromium/ContentLayerChromium.h:
(WebCore::ContentLayerChromium::SharedValues::npotSupported):
* platform/graphics/chromium/ImageLayerChromium.cpp:
(WebCore::ImageLayerChromium::updateContents):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69172
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tony@chromium.org [Wed, 6 Oct 2010 03:38:51 +0000 (03:38 +0000)]
2010-10-05 Tony Chang <tony@chromium.org>
Reviewed by Darin Adler.
fix the link to the expected image on windows
https://bugs.webkit.org/show_bug.cgi?id=47228
* Scripts/webkitpy/layout_tests/test_types/test_type_base.py: On
windows, the file must be opened in binary mode when writing
binary data.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69171
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Wed, 6 Oct 2010 03:04:18 +0000 (03:04 +0000)]
2010-10-05 Adam Barth <abarth@webkit.org>
Reviewed by Darin Adler.
Issue in treebuilder parsing related to table tags
https://bugs.webkit.org/show_bug.cgi?id=47190
Add test coverage.
* html5lib/resources/webkit02.dat:
2010-10-05 Adam Barth <abarth@webkit.org>
Reviewed by Darin Adler.
Issue in treebuilder parsing related to table tags
https://bugs.webkit.org/show_bug.cgi?id=47190
Update ASSERT to match the spec and our behavior.
* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processEndTagForInCell):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69170
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Wed, 6 Oct 2010 02:51:38 +0000 (02:51 +0000)]
2010-10-05 Adam Barth <abarth@webkit.org>
Update expected result of unittest to match Tony's change below.
* Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69169
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kbr@google.com [Wed, 6 Oct 2010 02:42:52 +0000 (02:42 +0000)]
2010-10-05 Kenneth Russell <kbr@google.com>
Unreviewed, test expectations update.
Added initial skip list for Chromium GPU testing. With this list,
runs are clean with:
new-run-webkit-tests --chromium --platform chromium-gpu --use-drt --debug
* platform/chromium-gpu/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69168
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tkent@chromium.org [Wed, 6 Oct 2010 02:35:15 +0000 (02:35 +0000)]
2010-10-05 Kent Tamura <tkent@chromium.org>
Unreviewed, test expectation update.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69167
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hclam@chromium.org [Wed, 6 Oct 2010 01:40:43 +0000 (01:40 +0000)]
VideoLayerChromium releases old resources if the LayerRenderer changes.
https://bugs.webkit.org/show_bug.cgi?id=47030
Submitted for Victoria Kirst <vrk@google.com>.
Reviewed by James Robinson.
Refactored LayerChromium to have a virtual cleanupResources() method
that will release textures/other context-dependent resources when a
LayerRenderer changes. ContentLayerChromium and VideoLayerChromium now
override this method to perform cleanup.
* platform/graphics/chromium/ContentLayerChromium.cpp:
* platform/graphics/chromium/ContentLayerChromium.h:
* platform/graphics/chromium/LayerChromium.cpp:
(WebCore::LayerChromium::setLayerRenderer):
* platform/graphics/chromium/LayerChromium.h:
(WebCore::LayerChromium::cleanupResources):
* platform/graphics/chromium/VideoLayerChromium.cpp:
(WebCore::VideoLayerChromium::~VideoLayerChromium):
(WebCore::VideoLayerChromium::cleanupResources):
* platform/graphics/chromium/VideoLayerChromium.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69166
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kinuko@chromium.org [Wed, 6 Oct 2010 01:34:31 +0000 (01:34 +0000)]
2010-10-05 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by Jian Li.
FileEntry::file needs to be implemented
https://bugs.webkit.org/show_bug.cgi?id=47192
Test: fast/filesystem/file-from-file-entry.html
* fileapi/FileEntry.cpp:
(WebCore::FileEntry::file): Implemented.
2010-10-05 Kinuko Yasuda <kinuko@chromium.org>
Reviewed by Jian Li.
FileEntry::file needs to be implemented
https://bugs.webkit.org/show_bug.cgi?id=47192
* fast/filesystem/file-from-file-entry-expected.txt: Added.
* fast/filesystem/file-from-file-entry.html: Added.
* fast/filesystem/script-tests/file-from-file-entry.js: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69165
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jam@chromium.org [Wed, 6 Oct 2010 00:59:42 +0000 (00:59 +0000)]
Fix Chrome build.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69164
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hclam@chromium.org [Wed, 6 Oct 2010 00:52:59 +0000 (00:52 +0000)]
WebCore: Render textures in video frame directly.
https://bugs.webkit.org/show_bug.cgi?id=46765
Reviewed by NOBODY (OOPS!).
Render textures in VideoLayerChromium directly if the video frame type
is GL texture. In the future VideoLayerChromium will not allocate
textures and perform textures upload as those operations will be done
in Chromium to minimize memory copy. This patch will help moving toward
this direction and facilitate hardware video decoding.
* platform/graphics/chromium/VideoFrameChromium.h:
* platform/graphics/chromium/VideoFrameProvider.h:
(WebCore::VideoFrameProvider::~VideoFrameProvider):
* platform/graphics/chromium/VideoLayerChromium.cpp:
(WebCore::VideoLayerChromium::VideoLayerChromium):
(WebCore::VideoLayerChromium::~VideoLayerChromium):
(WebCore::VideoLayerChromium::updateContents):
(WebCore::VideoLayerChromium::draw):
(WebCore::VideoLayerChromium::releaseCurrentFrame):
(WebCore::VideoLayerChromium::resetFrameParameters):
(WebCore::VideoLayerChromium::saveCurrentFrame):
* platform/graphics/chromium/VideoLayerChromium.h:
(WebCore::VideoLayerChromium::SharedValues::initialized):
WebKit/chromium: Add getter for accessing textures stored in VideoFrameChromium and WebVideoFrame.
Also explicitly instruct VideoLayerChromium to release video frame when the owner
of video frame is going away.
Reviewed by NOBODY (OOPS!).
* public/WebVideoFrame.h:
* src/AssertMatchingEnums.cpp:
* src/VideoFrameChromiumImpl.cpp:
(WebKit::VideoFrameChromiumImpl::texture):
* src/VideoFrameChromiumImpl.h:
* src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::~WebMediaPlayerClientImpl):
(WebKit::WebMediaPlayerClientImpl::load):
* src/WebMediaPlayerClientImpl.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69163
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Tue, 5 Oct 2010 23:55:49 +0000 (23:55 +0000)]
2010-10-05 Nat Duca <nduca@chromium.org>
Reviewed by James Robinson.
[chromium] Handle composited root layer invalidations in screenspace,
fixing the disappearing scrollbar problem.
https://bugs.webkit.org/show_bug.cgi?id=46864
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::composite):
(WebKit::WebViewImpl::scrollRootLayerRect):
(WebKit::WebViewImpl::invalidateRootLayerRect):
(WebKit::WebViewImpl::doComposite):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69162
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
fsamuel@chromium.org [Tue, 5 Oct 2010 23:55:13 +0000 (23:55 +0000)]
2010-10-05 Fady Samuel <fsamuel@chromium.org>
Reviewed by Darin Adler.
REGRESSION (r65539): One pixel white gaps when scrolling Trac changeset pages
https://bugs.webkit.org/show_bug.cgi?id=45131
Added a layout test to check for paint rects that touch the border of an adjacent sell,
when border-collapse: separate is set for the table.
* fast/table/simple_paint.html:
Don't do rtl as it doesn't exercise some of the new paint code.
* fast/table/simple_paint_separate_borders-expected.checksum: Added.
* fast/table/simple_paint_separate_borders-expected.png: Added.
* fast/table/simple_paint_separate_borders-expected.txt: Added.
* fast/table/simple_paint_separate_borders.html: Added.
2010-10-05 Fady Samuel <fsamuel@chromium.org>
Reviewed by Darin Adler.
REGRESSION (r65539): One pixel white gaps when scrolling Trac changeset pages
https://bugs.webkit.org/show_bug.cgi?id=45131
When border-collapse: separate property is set on the table, paintObject
may skip repainting cells, if the dirty region only touches one row/col of pixels.
Test: fast/table/simple_paint_separate_borders.html
* rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::paintObject):
Don't subtract one from the right and bottom of the dirty paint rect.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69161
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tony@chromium.org [Tue, 5 Oct 2010 23:39:35 +0000 (23:39 +0000)]
2010-10-05 Tony Chang <tony@chromium.org>
Reviewed by Ojan Vafai (over the shoulder).
Paper over errors in image_diff so we don't crash the whole test run.
* Scripts/webkitpy/layout_tests/port/chromium.py:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69160
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Tue, 5 Oct 2010 23:15:11 +0000 (23:15 +0000)]
2010-10-05 Sanjeev Radhakrishnan <sanjeevr@chromium.org>
Reviewed by Darin Fisher.
PluginDocument now holds on to the created plugin node so that the pluginNode() and pluginWidget() methods can return the correct node.
https://bugs.webkit.org/show_bug.cgi?id=47129
* html/PluginDocument.cpp:
(WebCore::PluginDocumentParser::createDocumentStructure):
(WebCore::PluginDocument::pluginWidget):
(WebCore::PluginDocument::pluginNode):
* html/PluginDocument.h:
(WebCore::PluginDocument::setPluginNode):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69159
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kbr@google.com [Tue, 5 Oct 2010 23:00:30 +0000 (23:00 +0000)]
2010-10-05 Kenneth Russell <kbr@google.com>
Unreviewed, follow up to 47216. Add newline above "protected:".
* public/WebFrame.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69157
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tony@chromium.org [Tue, 5 Oct 2010 22:55:56 +0000 (22:55 +0000)]
2010-10-05 Tony Chang <tony@chromium.org>
Unreviewed, make shutil.rmtree more resiliant to errors
since windows was raising WindowsError: The process cannot access the file because it
is being used by another process.
* Scripts/webkitpy/layout_tests/port/chromium.py:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69156
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andersca@apple.com [Tue, 5 Oct 2010 22:49:18 +0000 (22:49 +0000)]
Send null events and mouse events
https://bugs.webkit.org/show_bug.cgi?id=47223
Reviewed by Sam Weinig.
* WebKit2.xcodeproj/project.pbxproj:
Add "-Wno-deprecated-declarations" to the COMPILER_FLAGS for NetscapePluginMac.mm since
we call Button() which is deprecated.
* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::NetscapePlugin):
Initialize the null event timer.
* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::platformPostInitialize):
Start the null event timer.
(WebKit::NetscapePlugin::platformDestroy):
Stop the null event timer.
(WebKit::NetscapePlugin::platformHandleMouseEvent):
Initialize the event record and call NPP_HandleEvent.
(WebKit::NetscapePlugin::nullEventTimerFired):
Send a null event with the current mouse position.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69155
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jam@chromium.org [Tue, 5 Oct 2010 22:45:52 +0000 (22:45 +0000)]
2010-10-05 John Abd-El-Malek <jam@chromium.org>
Reviewed by Darin Fisher.
[chromium] Get the link from a plugin when creating a context menu
https://bugs.webkit.org/show_bug.cgi?id=47130
* chromium/public/WebPlugin.h:
(WebKit::WebPlugin::linkAtPosition):
* chromium/public/WebView.h:
* chromium/src/ChromeClientImpl.cpp:
(WebKit::ChromeClientImpl::mouseDidMoveOverElement):
* chromium/src/ContextMenuClientImpl.cpp:
(WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69154
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tony@chromium.org [Tue, 5 Oct 2010 22:33:18 +0000 (22:33 +0000)]
2010-10-05 Tony Chang <tony@chromium.org>
Reviewed by Ojan Vafai.
[chromium] fix image diffing in NRWT
https://bugs.webkit.org/show_bug.cgi?id=47128
* Scripts/webkitpy/layout_tests/port/chromium.py: Stop using
NamedTemporaryFile since it doesn't work on Windows.
* Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69153
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jhoneycutt@apple.com [Tue, 5 Oct 2010 22:21:56 +0000 (22:21 +0000)]
Prevent an assertion failure when trying to create a protection space
for file/data URLs.
Reviewed by Sam Weinig.
* WebURLProtectionSpace.cpp:
(WebURLProtectionSpace::initWithHost):
Remove the ASSERT_NOT_REACHED().
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69152
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kbr@google.com [Tue, 5 Oct 2010 22:11:35 +0000 (22:11 +0000)]
2010-10-05 Kenneth Russell <kbr@google.com>
Reviewed by Tony Chang.
[chromium] Implement layerTreeAsText in DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=47216
Plumbed Frame::layerTreeAsText through Chromium's WebKit API to
make it callable from DumpRenderTree.
No new tests; verified with existing compositor layout tests.
* public/WebFrame.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::layerTreeAsText):
* src/WebFrameImpl.h:
2010-10-05 Kenneth Russell <kbr@google.com>
Reviewed by Tony Chang.
[chromium] Implement layerTreeAsText in DumpRenderTree
https://bugs.webkit.org/show_bug.cgi?id=47216
Plumbed Frame::layerTreeAsText through Chromium's WebKit API to
make it callable from DumpRenderTree.
No new tests; verified with existing compositor layout tests.
* DumpRenderTree/chromium/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(LayoutTestController::layerTreeAsText):
* DumpRenderTree/chromium/LayoutTestController.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69151
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andersca@apple.com [Tue, 5 Oct 2010 21:42:35 +0000 (21:42 +0000)]
Start sending Carbon plug-in events in th Carbon event model
https://bugs.webkit.org/show_bug.cgi?id=47209
<rdar://problem/8515677>
Reviewed by Sam Weinig.
* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::NetscapePlugin):
Initialize the NP_CGContext struct.
* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::platformPostInitialize):
Create a fake Carbon window.
(WebKit::NetscapePlugin::platformDestroy):
Destroy the Carbon window.
(WebKit::modifiersForEvent):
Given a WebEvent, return the EventRecord modifiers.
(WebKit::NetscapePlugin::platformPaint):
(WebKit::NetscapePlugin::platformHandleMouseEvent):
(WebKit::NetscapePlugin::platformHandleWheelEvent):
(WebKit::NetscapePlugin::platformHandleMouseEnterEvent):
(WebKit::NetscapePlugin::platformHandleMouseLeaveEvent):
(WebKit::NetscapePlugin::platformSetFocus):
(WebKit::NetscapePlugin::windowFocusChanged):
Create Carbon EventRecords and call NPP_HandleEvent.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69150
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andreas.kling@nokia.com [Tue, 5 Oct 2010 21:41:41 +0000 (21:41 +0000)]
2010-10-05 Andreas Kling <kling@webkit.org>
Reviewed by Tor Arne Vestbø.
[Qt] Re-enable single-NPP_SetWindow quirk for 64-bit
https://bugs.webkit.org/show_bug.cgi?id=45363
This is still causing trouble for people, so let's put the
quirk back until we can figure this out properly.
* plugins/PluginPackage.cpp:
(WebCore::PluginPackage::determineQuirks):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69149
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jianli@chromium.org [Tue, 5 Oct 2010 21:38:27 +0000 (21:38 +0000)]
[V8] Add FileReader to active DOM map
https://bugs.webkit.org/show_bug.cgi?id=47205
Reviewed by Nate Chapin.
We need to have a custom FileReader V8 constructor in order to add object
into active DOM map to prevent it from GC-ed when it is still in-use.
* Android.v8bindings.mk:
* WebCore.gypi:
* bindings/scripts/CodeGeneratorV8.pm:
* bindings/v8/custom/V8FileReaderCustom.cpp: Added.
(WebCore::V8FileReader::constructorCallback):
* fileapi/FileReader.idl:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69148
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
rniwa@webkit.org [Tue, 5 Oct 2010 21:37:52 +0000 (21:37 +0000)]
2010-10-04 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Tony Chang.
dump-as-markup conversion: editing/execCommand/format-block-with-braces.html and format-block.html
https://bugs.webkit.org/show_bug.cgi?id=47098
Converted editing/execCommand/format-block-with-braces.html and format-block.html to dump-as-text tests.
* editing/execCommand/format-block-expected.txt: Added.
* editing/execCommand/format-block-with-braces-expected.txt: Added.
* editing/execCommand/format-block-with-braces.html:
* editing/execCommand/format-block.html:
* platform/chromium-linux/editing/execCommand/format-block-expected.checksum: Removed.
* platform/chromium-linux/editing/execCommand/format-block-expected.png: Removed.
* platform/chromium-linux/editing/execCommand/format-block-with-braces-expected.checksum: Removed.
* platform/chromium-linux/editing/execCommand/format-block-with-braces-expected.png: Removed.
* platform/chromium-win/editing/execCommand/format-block-expected.checksum: Removed.
* platform/chromium-win/editing/execCommand/format-block-expected.png: Removed.
* platform/chromium-win/editing/execCommand/format-block-expected.txt: Removed.
* platform/chromium-win/editing/execCommand/format-block-with-braces-expected.checksum: Removed.
* platform/chromium-win/editing/execCommand/format-block-with-braces-expected.png: Removed.
* platform/chromium-win/editing/execCommand/format-block-with-braces-expected.txt: Removed.
* platform/mac/editing/execCommand/format-block-expected.checksum: Removed.
* platform/mac/editing/execCommand/format-block-expected.png: Removed.
* platform/mac/editing/execCommand/format-block-expected.txt: Removed.
* platform/mac/editing/execCommand/format-block-with-braces-expected.checksum: Removed.
* platform/mac/editing/execCommand/format-block-with-braces-expected.png: Removed.
* platform/mac/editing/execCommand/format-block-with-braces-expected.txt: Removed.
* platform/qt/editing/execCommand/format-block-expected.txt: Removed.
* platform/qt/editing/execCommand/format-block-with-braces-expected.txt: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69147
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bfulgham@webkit.org [Tue, 5 Oct 2010 21:32:57 +0000 (21:32 +0000)]
Unreviewed build correction.
* DumpRenderTree/win/ImageDiff.vcproj: Use WinCairo debug
property sheet so proper libraries are linked.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69146
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bfulgham@webkit.org [Tue, 5 Oct 2010 21:32:39 +0000 (21:32 +0000)]
Unreviewed build correction.
* WebKit.vcproj/WebKit.sln: Turn the QTMovieWin project
off for WinCairo release builds. Somehow this was
incorrectly turned on.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69145
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Tue, 5 Oct 2010 20:59:11 +0000 (20:59 +0000)]
2010-10-05 Vincent Scheib <scheib@chromium.org>
Reviewed by Kenneth Russell.
[chromium] 51304 GPU compositor resorts to "slow" text rendering for base page layer
https://bugs.webkit.org/show_bug.cgi?id=47193
Test: Accelerated compositor test infrastructure still coming online. Tested manually.
* platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::setRootLayerCanvasSize):
(WebCore::LayerRendererChromium::prepareToDrawLayers):
(WebCore::LayerRendererChromium::drawLayers):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69144
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
atwilson@chromium.org [Tue, 5 Oct 2010 20:41:15 +0000 (20:41 +0000)]
2010-10-05 Andrew Wilson <atwilson@chromium.org>
Reviewed by Andreas Kling.
Notification onclick() events don't act like user gestures
https://bugs.webkit.org/show_bug.cgi?id=47137
* src/WebNotification.cpp:
(WebKit::WebNotification::dispatchClickEvent):
Use UserGestureIndicator to make sure click events are treated like user gestures.
2010-10-05 Andrew Wilson <atwilson@chromium.org>
Reviewed by Andreas Kling.
Notification onclick() events don't act like user gestures
https://bugs.webkit.org/show_bug.cgi?id=47137
* WebCoreSupport/NotificationPresenterClientQt.cpp:
(WebCore::NotificationPresenterClientQt::notificationClicked):
Use UserGestureIndicator to make sure click events are treated like user gestures.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69143
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
thakis@chromium.org [Tue, 5 Oct 2010 20:39:46 +0000 (20:39 +0000)]
2010-10-05 Nico Weber <thakis@chromium.org>
Reviewed by Andreas Kling.
Fix clang build
https://bugs.webkit.org/show_bug.cgi?id=47198
* page/Chrome.h:
Declare ViewportArguments as struct, not as class.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69142
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt@apple.com [Tue, 5 Oct 2010 20:32:06 +0000 (20:32 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=47204
Reviewed by Sam Weinig.
Make isSelfCollapsingBlock use logical height instead of height in all its checks.
Added fast/blockflow/self-collapsing-block.html
WebCore:
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::isSelfCollapsingBlock):
LayoutTests:
* fast/blockflow/self-collapsing-block.html: Added.
* platform/mac/fast/blockflow/self-collapsing-block-expected.checksum: Added.
* platform/mac/fast/blockflow/self-collapsing-block-expected.png: Added.
* platform/mac/fast/blockflow/self-collapsing-block-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@69141
268f45cc-cd09-0410-ab3c-
d52691b4dbfc