- 29 Oct, 2012 40 commits
-
-
eric.carlson@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=100690 Reviewed by Simon Fraser. When built with PLUGIN_PROXY_FOR_VIDEO, WebCore uses a plug-in for the media element's platform media engine. Update this code path so the shadow DOM elements used to display text tracks are created and configured correctly. * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::configureMediaControls): Create media controls if necessary. * rendering/RenderEmbeddedObject.cpp: (WebCore::RenderEmbeddedObject::layout): Set the position and size of the shadow DOM when the position of the embedded element changes. * rendering/RenderEmbeddedObject.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
msaboff@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=100689 Reviewed by Darin Adler. Changed from using a String temporary for the separator to using StringBuilder.appendLiteral(": "). * WebProcess/Plugins/PluginView.cpp: (WebKit::buildHTTPHeaders): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dpranke@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=100561 Reviewed by Ojan Vafai. Logging the module name and the log level is annoying and nearly useless. For starters, this change removes that unless you are doing verbose/ debug logging. In the future we should split out the concepts of verbose and debug logging (like we did in test-webkitpy and run-webkit-tests) so that you could get this in debug logging. * Scripts/webkitpy/common/system/logutils.py: (_default_handlers): (configure_logging): * Scripts/webkitpy/common/system/logutils_unittest.py: (ConfigureLoggingTest.test_info_message): (ConfigureLoggingTest): (ConfigureLoggingTest.test_debug_message): (ConfigureLoggingTest.test_two_messages): (ConfigureLoggingVerboseTest): (ConfigureLoggingVerboseTest._logging_level): (ConfigureLoggingVerboseTest.test_info_message): (ConfigureLoggingVerboseTest.test_debug_message): (ConfigureLoggingCustomLevelTest.test_logged_message): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
junov@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=100691 Reviewed by Stephen White. Source/WebCore: Added a flush to the webgl context after texture upload from an image buffer to ensure proper graphics context synchronization with respect to subsequent changes to the source image. Tests: fast/canvas/webgl/canvas-2d-webgl-texture.html * platform/graphics/skia/ImageBufferSkia.cpp: (WebCore::ImageBuffer::copyToPlatformTexture): LayoutTests: Modified test by adding a canvas draw imediately after webgl texture upload in order to exercise graphics context synchronization between the webGL and 2D canvas graphics contexts. * fast/canvas/webgl/canvas-2d-webgl-texture.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132839 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100657 Patch by Glenn Adams <glenn@skynav.com> on 2012-10-29 Reviewed by Simon Fraser. Source/WebCore: Remove extraneous whitespace when serializing CSSImportRule.cssText when media list is empty. Test: cssom/cssimportrule-media.html * css/CSSImportRule.cpp: (WebCore::CSSImportRule::cssText): Don't append extra whitespace if mediaText is empty. LayoutTests: Test (from CSS WG) that checks serializion of CSSImportRule.cssText. * http/tests/css/shared-stylesheet-mutation-expected.txt: * http/tests/css/shared-stylesheet-mutation-preconstruct-expected.txt: Fix expected output to match removal of extraneous space. * cssom/cssimportrule-media-expected.txt: Added. * cssom/cssimportrule-media.html: Added. * cssom/resources/import.css: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100681 Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-29 Reviewed by Anders Carlsson. Add TestNetscapePlugIn/Tests/NPRuntimeCallsWithNullNPP.cpp to CMake since it is needed by plugins/npruntime/npruntime-calls-with-null-npp.html layout test. * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
msaboff@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=100578 Reviewed by Anders Carlsson. Changed split(UChar, Vector<String>&) to call split(UChar, bool, Vector<String>&) instead of creating a string and calling the split(String,...) version and moved it to WTFString.h. Also moved split(const String& separator, Vector<String>& result) to WTFString.h. * wtf/text/WTFString.cpp: (WTF::String::split): * wtf/text/WTFString.h: (WTF::String::split): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
Adding flaky crash expectations for tests that crash after r132699 if the accessibility object cache is populated. * platform/gtk/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100687 Unreviewed EFL gardening. Skip fast/xmlhttprequest/xmlhttprequest-recursive-sync-event.html test case since it is intrinsically flaky and cannot be fixed. Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-29 * platform/efl/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
msaboff@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=100579 Reviewed by Oliver Hunt. Changed to use CFStringCreateWithBytes() for 8 bit strings using characters8() for an 8 bit argument string. Changed the current call to characters16(). * Shared/API/c/cf/WKStringCF.cpp: (WKStringCopyCFString): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=99109 Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2012-10-29 Reviewed by Martin Robinson. GL shared display is not in the gtk loop and therefore, its events are not captured by gtk. So, we use gdk default instead. No new tests, covered by existing tests. * platform/gtk/RedirectedXCompositeWindow.cpp: (WebCore::RedirectedXCompositeWindow::RedirectedXCompositeWindow): (WebCore::RedirectedXCompositeWindow::~RedirectedXCompositeWindow): (WebCore::RedirectedXCompositeWindow::resize): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100683 Patch by Patrick Dubroy <dubroy@chromium.org> on 2012-10-29 Reviewed by Pavel Feldman. When in compact mode, style the Web Inspector toolbar using the same colors & gradients as the Chromium toolbar (Chromium port only). * src/js/devTools.css: (body.compact.platform-mac #toolbar): (body.compact.platform-mac.inactive #toolbar): (body.platform-mac.inactive #toolbar .toolbar-label): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
allan.jensen@digia.com authored
https://bugs.webkit.org/show_bug.cgi?id=100388 Reviewed by Jocelyn Turcotte. Tools: Disable text dumping and load a blank URL to ensure the documentLoader is cleared before we start dumping text for the new page. Otherwise messages from the old page may end up in the text output of the new test. This matches what WebKitTestRunner does, and reuses the Qt code for waiting for flag. * DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::DumpRenderTree::DumpRenderTree): (WebCore::runUntil): (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): (WebCore::DumpRenderTree::finishedResetting): (WebCore::DumpRenderTree::dump): * DumpRenderTree/qt/DumpRenderTreeQt.h: (DumpRenderTree): * DumpRenderTree/qt/TestRunnerQt.cpp: (TestRunner::resetDumping): (TestRunner::reset): * DumpRenderTree/qt/TestRunnerQt.h: (TestRunner): LayoutTests: Unskip no longer flaky tests. * platform/qt/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zoltan@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=99899 Reviewed by Ryosuke Niwa. We cannot provide an elegant way to measure the memory consumption of the PageLoad tests, but we can turn them into simple performance tests and measure their memory footprint and performance that way. This change moves and renames the related files to their new location and adds html/js wrappers for them. This is the #7 (last) commit of the whole patch. * PageLoad: Removed. * PageLoad/svg: Removed. * PageLoad/svg/LICENSES: Removed. * PageLoad/svg/files: Removed. * PageLoad/svg/files/33041-Samurai.svg: Removed. * PageLoad/svg/files/42450-under the see.svg: Removed. * PageLoad/svg/files/world-iso.svg: Removed. * PageLoad/svg/svg.pltsuite: Removed. * SVG/Samurai.html: Added. * SVG/UnderTheSee.html: Added. * SVG/WorldIso.html: Added. * SVG/resources/LICENSES: Copied from PerformanceTests/PageLoad/svg/LICENSES. * SVG/resources/Samurai.svg: Copied from PerformanceTests/PageLoad/svg/files/33041-Samurai.svg. * SVG/resources/UnderTheSee.svg: Copied from PerformanceTests/PageLoad/svg/files/42450-under%20the%20see.svg. * SVG/resources/WorldIso.svg: Copied from PerformanceTests/PageLoad/svg/files/world-iso.svg. * SVG/resources/svg.pltsuite: Copied from PerformanceTests/PageLoad/svg/svg.pltsuite. * Skipped: Rename the files on the skipped list also. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=100685 Reviewed by Vsevolod Vlasov. * inspector/front-end/DefaultTextEditor.js: (WebInspector.DefaultTextEditor.prototype._registerShortcuts): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
enrica@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=100559 Reviewed by Eric Seidel. Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Source/WebCore: * Configurations/FeatureDefines.xcconfig: Source/WebKit/mac: * Configurations/FeatureDefines.xcconfig: Source/WebKit2: * Configurations/FeatureDefines.xcconfig: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
achicu@adobe.com authored
https://bugs.webkit.org/show_bug.cgi?id=100548 Reviewed by Dean Jackson. Moved all the CustomFilterParameterList related methods to their own file. Also made CustomFilterParameterList inherit from Vector instead of typedefing it, so that we can add a different operator== and a blend method to it. No new tests, just refactoring existing code. * CMakeLists.txt: * GNUmakefile.list.am: * Target.pri: * WebCore.gypi: * WebCore.xcodeproj/project.pbxproj: * css/StyleResolver.h: * platform/graphics/filters/CustomFilterOperation.cpp: (WebCore::CustomFilterOperation::CustomFilterOperation): (WebCore::CustomFilterOperation::blend): * platform/graphics/filters/CustomFilterOperation.h: (WebCore): (WebCore::CustomFilterOperation::operator==): * platform/graphics/filters/CustomFilterParameterList.cpp: Added. (WebCore): (WebCore::CustomFilterParameterList::operator==): (WebCore::CustomFilterParameterList::checkAlphabeticalOrder): (WebCore::CustomFilterParameterList::blend): * platform/graphics/filters/CustomFilterParameterList.h: Added. (WebCore): (CustomFilterParameterList): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132808 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson@apple.com authored
Not reviewed. * loader/ResourceLoader.h: (WebCore::ResourceLoader::identifier): Revert my "unsigned long" -> "uint64_t" change in two places. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100377 Patch by Mike Lattanzio <mlattanzio@rim.com> on 2012-10-29 Reviewed by Adam Treat. Should be void, not bool. * Api/WebPage.cpp: (BlackBerry::WebKit::WebPagePrivate::postponeDocumentStyleRecalc): * Api/WebPage_p.h: (WebPagePrivate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100668 Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-29 Reviewed by Kenneth Rohde Christiansen. Source/WebKit2: Add Bundle API to enable Shadow DOM functionality. This is now needed by WebKitTestRunner. * WebProcess/InjectedBundle/API/c/WKBundle.cpp: (WKBundleSetShadowDOMEnabled): * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: * WebProcess/InjectedBundle/InjectedBundle.cpp: (WebKit::InjectedBundle::setShadowDOMEnabled): (WebKit): * WebProcess/InjectedBundle/InjectedBundle.h: (InjectedBundle): Tools: Enable Shadow DOM functionality at run time in WebKitTestRunner if compiled with SHADOW_DOM flag set. This is needed to run the Shadow DOM layout tests. * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting): LayoutTests: Remove Shadow DOM layout tests from the global wk2 TestExpectations and add it to the mac-wk2 one. EFL and GTK ports have Shadow DOM enabled so they don't need to be skipped for those ports. The Qt port is already skipping those tests in its global TestExpectations file. * platform/efl-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: * platform/wk2/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132804 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100662 Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-29 Reviewed by Kenneth Rohde Christiansen. Cursor change detection in EwkViewImpl::setCursor() relies on addresses returned by Cursor::platformCursor(). However, the value returned is currently assigned to a WKEinaSharedString instead of a raw pointer. Therefore, the address is always different and we keep recreating Evas Objects for the same cursor. * UIProcess/API/efl/EwkViewImpl.cpp: (EwkViewImpl::EwkViewImpl): (EwkViewImpl::setCursor): Call smartData() after same cursor detection since it is not needed if the cursor has not changed and it may affect performance. * UIProcess/API/efl/EwkViewImpl.h: (EwkViewImpl): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
[Qt] Text with zero font size renders as X px sometimes, causing fast/text/zero-font-size-2.html to fail https://bugs.webkit.org/show_bug.cgi?id=100115 Reviewed by Noam Rosenthal. Source/WebCore: * platform/graphics/qt/FontQt.cpp: (WebCore::Font::drawGlyphs): LayoutTests: * platform/qt/TestExpectations: Unskip fast/text/zero-font-size-2.html. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jocelyn.turcotte@digia.com authored
https://bugs.webkit.org/show_bug.cgi?id=100661 Reviewed by Noam Rosenthal. When we purge, we do both on the UI and web process at the same time, both are expected to release references of the other process. This creates problem when delaying the release of directly composited images. Release them immediately in that case. Fixes the tst_QQuickWebView::removeFromCanvas API test. * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp: (WebKit::LayerTreeCoordinator::flushPendingLayerChanges): (WebKit::LayerTreeCoordinator::purgeReleasedImages): (WebKit): (WebKit::LayerTreeCoordinator::purgeBackingStores): * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h: (LayerTreeCoordinator): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100667 Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-29 Reviewed by Kenneth Rohde Christiansen. Remove useless m_customEncoding assignment in EwkViewImpl::setCustomTextEncodingName() since the member is anyway assigned in EwkViewImpl::customTextEncodingName(). Have EwkViewImpl::setCustomTextEncodingName() take a String in argument instead of a const char* to make the API more C++ and since we don't need a const char* to assign to m_customEncoding anymore. * UIProcess/API/efl/EwkViewImpl.cpp: (EwkViewImpl::setCustomTextEncodingName): * UIProcess/API/efl/EwkViewImpl.h: (EwkViewImpl): * UIProcess/API/efl/ewk_view.cpp: (ewk_view_setting_encoding_custom_set): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100598 Patch by Yael Aharon <yael.aharon@intel.com> on 2012-10-29 Reviewed by Kenneth Rohde Christiansen. Make sure to use opengl_x11 engine when AC is turned on and X11 is in use. We cannot create a gl context otherwise. * MiniBrowser/efl/main.c: (elm_main): * WebKitTestRunner/efl/PlatformWebViewEfl.cpp: (WTR::initEcoreEvas): * DumpRenderTree/efl/DumpRenderTree.cpp: (initEcoreEvas): * EWebLauncher/efl/main.c: (windowCreate): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100623 Patch by Huang Dongsung <luxtella@company100.net> on 2012-10-29 Reviewed by Noam Rosenthal. Currently, GraphicsLayerAnimation chooses a timing function in the wrong way. Other GraphicsLayers choose a timing function in the similar way to GraphicsLayerCA::timingFunctionForAnimationValue(). The way consists of the following steps. 1. Try to query the timing function of the current keyframe animation value. 2. If the timing function of #1 is null, try to query the timing function of Animation. 3. If the timing function of #2 is null, return CubicBezierTimingFunction::defaultTimingFunction(). This patch makes GraphicsLayerAnimation choose a timing function in the same way to other implementations. Covered by existing animations tests. * platform/graphics/GraphicsLayerAnimation.cpp: (WebCore::timingFunctionForAnimationValue): (WebCore::GraphicsLayerAnimation::apply): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100663 Patch by Patrick Dubroy <dubroy@chromium.org> on 2012-10-29 Reviewed by Pavel Feldman. Since the search bar was removed from the toolbar, the overflow menu appears too far to the right, and is unreadable. Fixed this by aligning it relative to the right side of the window, rather than the left. * inspector/front-end/Toolbar.js: (WebInspector.ToolbarDropdown.prototype.show): * inspector/front-end/inspector.css: (#toolbar-dropdown .toolbar-label): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rakuco@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100646 Reviewed by Kenneth Rohde Christiansen. Tools: * WebKitTestRunner/efl/PlatformWebViewEfl.cpp: (WTR::PlatformWebView::focus): Improve the check we perform to decide whether the focus should be taken out of the view before focusing it again so that we do not unnecessarily unfocus it and cause blur/focus events to be triggered. Instead of just verifying if the Evas_Object representing the view has focus, use the WK C API to check that the currently focused frame is not the main frame. LayoutTests: * platform/efl-wk2/TestExpectations: Unskip fast/events/frame-tab-focus.html. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132796 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
michelangelo@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96437 Reviewed by Dean Jackson. Source/WebCore: This patch adds the missing code to blend values within an array() when using Custom Filters. Test: css3/filters/custom/custom-filter-array-blending.html * platform/graphics/filters/CustomFilterArrayParameter.h: (WebCore::CustomFilterArrayParameter::blend): LayoutTests: New tests to asses the correctness of CustomFilterArrayParameter::blend. * animations/resources/animation-test-helpers.js: (customFilterParameterMatch): A check for functions' parameters length has been added. * css3/filters/custom/custom-filter-array-blending-expected.txt: Added. * css3/filters/custom/custom-filter-array-blending.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
apavlov@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=100527 Reviewed by Yury Semikhatsky. Inhibit custom dragstart handling when the active element is A. * inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeOutline.prototype._ondragstart): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132794 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mkwst@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=100660 Reviewed by Pavel Feldman. The error/warning count div had a top padding of 6. That was one pixel too many. * inspector/front-end/inspector.css: (#error-warning-count): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100649 Patch by Robin Cao <robin.cao@torchmobile.com.cn> on 2012-10-29 Reviewed by Kentaro Hara. r127876 changed the signature of WebCore::EventHandler::hitTestResultAtPoint() and this commit was later reverted. We need to update a call site in the BlackBerry port to make it build. * Api/WebPage.cpp: (BlackBerry::WebKit::WebPagePrivate::hitTestResult): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
shinyak@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=100459 Reviewed by Hajime Morita. Checking InsertionPoint and its activeness with two if-statement is error-prone. We would like to use a utility function which checks both at once. We rewrite some lines with such function. No new tests, simple refactoring. * dom/ComposedShadowTreeWalker.cpp: (WebCore::ComposedShadowTreeWalker::traverseNode): * html/shadow/ContentDistributor.cpp: (WebCore::ContentDistributor::populate): (WebCore::ContentDistributor::distribute): (WebCore::ContentDistributor::distributeNodeChildrenTo): * html/shadow/InsertionPoint.h: (WebCore::isInsertionPoint): Since our convention is the argument of this kind of function should not be null, we would like to make it similar to the other functions. (WebCore::toInsertionPoint): (WebCore::isLowerEncapsulationBoundary): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132791 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100373 Patch by Patrick Dubroy <dubroy@chromium.org> on 2012-10-29 Reviewed by Pavel Feldman. Fix the background image for the selected toolbar item to be vertically centered. Make close button and toolbar overflow button vertically centered for any toolbar height. * inspector/front-end/Toolbar.js: Remove unused variable. * inspector/front-end/inspector.css: (.toolbar-item.toggleable): (body.compact .toolbar-item.toggleable): (.toolbar-item.toggleable.toggled-on): (body.compact .toolbar-label): (#toolbar-dropdown-arrow): (#close-button-left, #close-button-right): (.toolbar-item.close-left): * inspector/front-end/inspector.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132790 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100500 Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-10-29 Reviewed by Yury Semikhatsky. Fix: do not shorten bars by nested records of the same category. * inspector/front-end/TimelineOverviewPane.js: Check added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=100530 Patch by Eugene Klyuchnikov <eustas.bug@gmail.com> on 2012-10-29 Reviewed by Yury Semikhatsky. Motivation: cpu-monitoring feature looks like a glitch, when it is not supported by browser. Source/WebCore: * inspector/Inspector.json: Added capability getter to protocol. * inspector/InspectorClient.h: Added capability getter. * inspector/InspectorTimelineAgent.cpp: Proxy to request to client. * inspector/InspectorTimelineAgent.h: Added capability getter. * inspector/front-end/Settings.js: Added capability field. * inspector/front-end/TimelinePanel.js: Check capability. * inspector/front-end/inspector.js: Forward capability value. Source/WebKit/chromium: * src/InspectorClientImpl.cpp: Implemented capability getter. * src/InspectorClientImpl.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
antti@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=100655 Reviewed by Andreas Kling. Move the code from StyleResolver to DocumentStyleSheetCollection. StyleResolver should focus on resolving style. * css/StyleResolver.cpp: (WebCore::StyleResolver::StyleResolver): Use standard create() pattern. (WebCore): * css/StyleResolver.h: (StyleResolver): * dom/Document.cpp: (WebCore::Document::Document): * dom/DocumentStyleSheetCollection.cpp: (WebCore::collectActiveCSSStyleSheetsFromSeamlessParents): Since parent activeAuthorStyleSheets() contains all seamlessly inherited sheets too, this does not need to iterate to ancestors anymore. (WebCore): (WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets): * dom/DocumentStyleSheetCollection.h: (WebCore::DocumentStyleSheetCollection::create): (DocumentStyleSheetCollection): (WebCore::DocumentStyleSheetCollection::styleSheetsForStyleSheetList): (WebCore::DocumentStyleSheetCollection::activeAuthorStyleSheets): activeAuthorStyleSheets() now includes the stylesheets inherited from the seamless parent too. (WebCore::DocumentStyleSheetCollection::needsUpdateActiveStylesheetsOnStyleRecalc): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kling@webkit.org authored
<http://webkit.org/b/100644> Reviewed by Antti Koivisto. Add a StylePropertySet::PropertyReference class, now returned by propertyAt(index). This will allow us to refactor the internal storage of StylePropertySet without breaking its API. A PropertyReference is a simple inlinable wrapper around a StylePropertySet&/index pair. * css/CSSComputedStyleDeclaration.cpp: * css/CSSParser.cpp: * css/CSSParser.h: * css/SVGCSSParser.cpp: * css/StylePropertySet.cpp: (WebCore::StylePropertySet::asText): (WebCore::StylePropertySet::mergeAndOverrideOnConflict): (WebCore::StylePropertySet::findPropertyWithId): (WebCore::StylePropertySet::reportMemoryUsage): * css/StylePropertySet.h: (StylePropertySet): (PropertyReference): (WebCore::StylePropertySet::PropertyReference::PropertyReference): (WebCore::StylePropertySet::PropertyReference::id): (WebCore::StylePropertySet::PropertyReference::isImportant): (WebCore::StylePropertySet::PropertyReference::isInherited): (WebCore::StylePropertySet::PropertyReference::cssName): (WebCore::StylePropertySet::PropertyReference::cssText): (WebCore::StylePropertySet::PropertyReference::value): (WebCore::StylePropertySet::PropertyReference::propertyInternal): (WebCore::StylePropertySet::propertyAt): (WebCore::StylePropertySet::propertyAtInternal): (WebCore): * css/StyleResolver.cpp: (WebCore::attributeStylesEqual): (WebCore::StyleResolver::applyProperties): (WebCore::StyleResolver::resolveVariables): * editing/ApplyStyleCommand.cpp: * editing/EditingStyle.cpp: (WebCore::EditingStyle::mergeStyle): (WebCore::EditingStyle::mergeStyleFromRulesForSerialization): * editing/Editor.cpp: * editing/markup.cpp: * page/Frame.cpp: * svg/SVGFontFaceElement.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132786 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
http://trac.webkit.org/changeset/132782 https://bugs.webkit.org/show_bug.cgi?id=100653 It made 400+ tests fail and 180 tests flakey on Qt (Requested by Ossy on #webkit). Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-29 Tools: * DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): LayoutTests: * platform/qt/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132785 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
http://trac.webkit.org/changeset/132736 https://bugs.webkit.org/show_bug.cgi?id=100652 It broke all plugin related tests on GTK and on Qt (Requested by Ossy on #webkit). Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-29 * wtf/text/WTFString.cpp: (WTF::String::fromUTF8): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132784 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-