- 13 Jun, 2013 9 commits
-
-
michael.bruning@digia.com authored
https://bugs.webkit.org/show_bug.cgi?id=117591 Reviewed by Tor Arne Vestbø. Source/WebCore: Deployment of the same Qt binaries to different Mac OS X version makes it impossible to link against the correct WebKitSystemInterface version at build time. No new tests, no behavioural change. * WebCore.pri: Tools: Deployment of Qt binaries to different Mac OS X platform version makes it impossible to link against the correct version of the WebKitSystemInterface library, so we need to disable QTKit for media elements. * qmake/mkspecs/features/features.prf: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=116033 Source/WebCore: Start by setting the column height to the flow thread's height divided by the number of columns. Then stretch the column height until contents fits without creating overflowing columns, or until the maximum allowed column height is reached, whichever comes first. This may require several layout iterations (but normally only a couple). For each time we stretch, stretch by the least amount required to make a difference to which box goes where. Also make sure that the columns get tall enough to honor orphans and widows settings. This change takes some tiny steps in preparing for multiple column set support. There is also some minor cleanup and bugfixing; see details below. Patch by Morten Stenshorne <mstensho@opera.com> on 2013-06-13 Reviewed by David Hyatt. Tests: fast/multicol/newmulticol/balance-images.html fast/multicol/newmulticol/balance-maxheight1.html fast/multicol/newmulticol/balance-maxheight2.html fast/multicol/newmulticol/balance1.html fast/multicol/newmulticol/balance2.html fast/multicol/newmulticol/balance3.html fast/multicol/newmulticol/balance4.html fast/multicol/newmulticol/balance5.html fast/multicol/newmulticol/balance6.html fast/multicol/newmulticol/balance7.html fast/multicol/newmulticol/balance8.html fast/multicol/newmulticol/balance9.html fast/multicol/newmulticol/cell-shrinkback.html fast/multicol/newmulticol/columns-shorthand-parsing.html fast/multicol/newmulticol/orphans-and-widows-balance.html fast/multicol/newmulticol/single-line.html * rendering/RenderBlock.cpp: (WebCore::RenderBlock::adjustForUnsplittableChild): (WebCore::RenderBlock::setPageBreak): (WebCore): (WebCore::RenderBlock::updateMinimumPageHeight): (WebCore::calculateMinimumPageHeight): (WebCore::RenderBlock::adjustLinePositionForPagination): (WebCore::RenderBlock::adjustBlockChildForPagination): If no lines cross the boundaries, we need to report where blocks cross instead, so that the column balancer knows how much to stretch columns if necessary. * rendering/RenderBlock.h: * rendering/RenderFlowThread.h: * rendering/RenderMultiColumnBlock.cpp: (WebCore::RenderMultiColumnBlock::RenderMultiColumnBlock): (WebCore::RenderMultiColumnBlock::checkForPaginationLogicalHeightChange): (WebCore::RenderMultiColumnBlock::relayoutForPagination): (WebCore::RenderMultiColumnBlock::layoutSpecialExcludedChild): * rendering/RenderMultiColumnBlock.h: (WebCore::RenderMultiColumnBlock::columnHeightAvailable): (WebCore::RenderMultiColumnBlock::requiresBalancing): (RenderMultiColumnBlock): * rendering/RenderMultiColumnFlowThread.cpp: (WebCore::RenderMultiColumnFlowThread::autoGenerateRegionsToBlockOffset): (WebCore::RenderMultiColumnFlowThread::setPageBreak): (WebCore): (WebCore::RenderMultiColumnFlowThread::updateMinimumPageHeight): * rendering/RenderMultiColumnFlowThread.h: (RenderMultiColumnFlowThread): * rendering/RenderMultiColumnSet.cpp: Get rid of RenderMultiColumnSet::updateLogicalHeight() override. Make RenderMultiColumnSet behave more like normal blocks, by having computeLogicalHeight() calculate logical top in addition to height, just like any other block. (WebCore::RenderMultiColumnSet::RenderMultiColumnSet): (WebCore::RenderMultiColumnSet::heightAdjustedForSetOffset): This method will become more meaningful once we add support for multiple column sets. (WebCore): (WebCore::RenderMultiColumnSet::pageLogicalTopForOffset): (WebCore::RenderMultiColumnSet::setAndConstrainColumnHeight): (WebCore::RenderMultiColumnSet::calculateBalancedHeight): (WebCore::RenderMultiColumnSet::recordSpaceShortage): (WebCore::RenderMultiColumnSet::updateLogicalWidth): (WebCore::RenderMultiColumnSet::prepareForLayout): (WebCore::RenderMultiColumnSet::computeLogicalHeight): (WebCore::RenderMultiColumnSet::columnCount): (WebCore::RenderMultiColumnSet::columnIndexAtOffset): repaintFlowThreadContent() could end up in an infinite loop because columnIndexAtOffset() could return UINT_MAX (subtracting 1 from unsigned 0, which columnCount() could return), which an unsigned integer obviously can never become larger than. Also always call columnIndexAtOffset() if we want to get the column index for some offset, rather than doing it on our own sometimes. To make this work also during layout, we cannot just return the last column created so far if we're past it, since adding new columns is exactly what we want to do at this point. * rendering/RenderMultiColumnSet.h: (RenderMultiColumnSet): LayoutTests: Patch by Morten Stenshorne <mstensho@opera.com> on 2013-06-13 Reviewed by David Hyatt. * fast/multicol/newmulticol/balance-images-expected.txt: Added. * fast/multicol/newmulticol/balance-images.html: Added. * fast/multicol/newmulticol/balance-maxheight1-expected.txt: Added. * fast/multicol/newmulticol/balance-maxheight1.html: Added. * fast/multicol/newmulticol/balance-maxheight2-expected.txt: Added. * fast/multicol/newmulticol/balance-maxheight2.html: Added. * fast/multicol/newmulticol/balance1-expected.txt: Added. * fast/multicol/newmulticol/balance1.html: Added. * fast/multicol/newmulticol/balance2-expected.txt: Added. * fast/multicol/newmulticol/balance2.html: Added. * fast/multicol/newmulticol/balance3-expected.txt: Added. * fast/multicol/newmulticol/balance3.html: Added. * fast/multicol/newmulticol/balance4-expected.txt: Added. * fast/multicol/newmulticol/balance4.html: Added. * fast/multicol/newmulticol/balance5-expected.txt: Added. * fast/multicol/newmulticol/balance5.html: Added. * fast/multicol/newmulticol/balance6-expected.txt: Added. * fast/multicol/newmulticol/balance6.html: Added. * fast/multicol/newmulticol/balance7-expected.txt: Added. * fast/multicol/newmulticol/balance7.html: Added. * fast/multicol/newmulticol/balance8-expected.txt: Added. * fast/multicol/newmulticol/balance8.html: Added. * fast/multicol/newmulticol/balance9-expected.txt: Added. * fast/multicol/newmulticol/balance9.html: Added. * fast/multicol/newmulticol/cell-shrinkback-expected.html: Added. * fast/multicol/newmulticol/cell-shrinkback.html: Added. * fast/multicol/newmulticol/columns-shorthand-parsing-expected.html: Added. * fast/multicol/newmulticol/columns-shorthand-parsing.html: Added. * fast/multicol/newmulticol/orphans-and-widows-balance-expected.txt: Added. * fast/multicol/newmulticol/orphans-and-widows-balance.html: Added. * fast/multicol/newmulticol/single-line-expected.html: Added. * fast/multicol/newmulticol/single-line.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zarvai@inf.u-szeged.hu authored
Patch by Gabor Abraham <abrhm@inf.u-szeged.hu> on 2013-06-13 * platform/qt-5.0-wk2/TestExpectations: * platform/qt/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* platform/qt-arm/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
Adding failure expectations for most of the current failures. * platform/gtk-wk1/TestExpectations: * platform/gtk/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=116610 Patch by Michał Pakuła vel Rutka <m.pakula@samsung.com> on 2013-06-13 Reviewed by Noam Rosenthal. Source/WebKit2: WebKit2 EFL uses fixed layout - because of this ScrollView::contentsToWindow, does not take scroll into account, as it is meant to be handled by UI application. When popup and context menu are created, after calling contentsToWindow their position are not adjusted to page scroll. Added two functions to EwkView and WKView, converting contents position to user viewport coordinates, to adjust popup and context menu positions. * UIProcess/API/C/CoordinatedGraphics/WKView.cpp: (WKViewContentsToUserViewport): * UIProcess/API/C/CoordinatedGraphics/WKView.h: * UIProcess/API/efl/EwkView.cpp: (EwkView::showContextMenu): (EwkView::requestPopupMenu): * UIProcess/CoordinatedGraphics/WebView.cpp: (WebKit::WebView::contentsToUserViewport): * UIProcess/CoordinatedGraphics/WebView.h: Tools: Remove unnecessary code adjusting context menu position to webview position. Now position is calculcated in EwkView. * MiniBrowser/efl/main.c: (on_context_menu_show): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ryuan.choi@samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=115713 Reviewed by Gyuyoung Kim. After removed c-ism from WebKit/Efl, There is no reason to keep internal structures like Ewk_Scroll_Request. This patch refactored ewk_view_scroll to use WTF instead of Ewk_Scroll_Request and scrolls of SmartData. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::scroll): * ewk/ewk_view.cpp: Removed functions to manage Ewk_Scroll_Request. (_Ewk_View_Private_Data): (_ewk_view_scrolls_flush): (_ewk_view_priv_del): (_ewk_view_smart_calculate): (ewk_view_scroll_offsets_get): (ewk_view_scroll_rects_get): (ewk_view_scroll): * ewk/ewk_view.h: Removed Ewk_Scroll_Request which is private structure. * ewk/ewk_view_private.h: (WebCore): * ewk/ewk_view_single.cpp: (_ewk_view_single_scroll_process_single): (_ewk_view_single_smart_scrolls_process): * ewk/ewk_view_tiled.cpp: (_ewk_view_tiled_smart_scrolls_process): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lforschler@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* platform/qt-arm/TestExpectations: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Jun, 2013 31 commits
-
-
bfulgham@apple.com authored
* win/tools32/vsprops/WinCairo.props: Switch from using the $WebKitLibraries environment variable to the newer $WebKit_Libraries. * win/tools32/vsprops/debug_wincairo.props: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
roger_fong@apple.com authored
* Scripts/webkitpy/common/config/ews.json: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
roger_fong@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=117563. Reviewed by Brent Fulgham. * building/build.html: * building/debug.html: * building/launch-debugger-vs2005.png: Removed. * building/launch-debugger-vs2010.png: Copied from webkit.org/building/launch-debugger-vs2005.png. * building/set-as-startup-project-vs2005.png: Removed. * building/set-as-startup-project-vs2010.png: Copied from webkit.org/building/set-as-startup-project-vs2005.png. * building/set-debugging-properties-vs2005.png: Removed. * building/set-debugging-properties-vs2010.png: Copied from webkit.org/building/set-debugging-properties-vs2005.png. * building/tools.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
gyuyoung.kim@samsung.com authored
* platform/efl-wk1/TestExpectations: * platform/efl/TestExpectations: * platform/efl/editing/selection/3690703-2-expected.png: Added. * platform/efl/editing/selection/3690703-2-expected.txt: Added. * platform/efl/editing/selection/3690703-expected.png: Added. * platform/efl/editing/selection/3690703-expected.txt: Added. * platform/efl/editing/selection/3690719-expected.png: Added. * platform/efl/editing/selection/3690719-expected.txt: Added. * platform/efl/editing/selection/4397952-expected.png: Added. * platform/efl/editing/selection/4397952-expected.txt: Added. * platform/efl/editing/selection/4895428-3-expected.png: Added. * platform/efl/editing/selection/4895428-3-expected.txt: Added. * platform/efl/editing/selection/4975120-expected.png: Added. * platform/efl/editing/selection/4975120-expected.txt: Added. * platform/efl/editing/selection/5007143-2-expected.png: Added. * platform/efl/editing/selection/5007143-2-expected.txt: Added. * platform/efl/editing/selection/5007143-expected.png: Added. * platform/efl/editing/selection/5007143-expected.txt: Added. * platform/efl/editing/selection/5057506-expected.png: Added. * platform/efl/editing/selection/5057506-expected.txt: Added. * platform/efl/editing/selection/5195166-1-expected.txt: Added. * platform/efl/editing/selection/7152-2-expected.png: Added. * platform/efl/editing/selection/7152-2-expected.txt: Added. * platform/efl/editing/selection/caret-before-select-expected.png: Added. * platform/efl/editing/selection/caret-before-select-expected.txt: Added. * platform/efl/editing/selection/caret-ltr-right-expected.png: Added. * platform/efl/editing/selection/caret-ltr-right-expected.txt: Added. * platform/efl/editing/selection/caret-rtl-2-left-expected.png: Added. * platform/efl/editing/selection/caret-rtl-2-left-expected.txt: Added. * platform/efl/editing/selection/caret-rtl-right-expected.png: Added. * platform/efl/editing/selection/caret-rtl-right-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=117572 Reviewed by Mark Rowe. * config.ini: Remove Chromium blog from planet.webkit.org git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=117569 Reviewed by Anders Carlsson. * wtf/Compiler.h: Turn on rvalue references and static_assert when compiling with VS2010 (or newer) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=117570 <rdar://problem/13484213> Reviewed by Tim Horton. Source/WebCore: Remove RenderEmbeddedObject::PluginInactive and the replacement text. * English.lproj/Localizable.strings: * platform/LocalizedStrings.cpp: * platform/LocalizedStrings.h: * rendering/RenderEmbeddedObject.cpp: (WebCore::unavailablePluginReplacementText): * rendering/RenderEmbeddedObject.h: Source/WebKit/mac: Remove code that deals with inactive plug-ins. * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::shouldUnavailablePluginMessageBeButton): (WebChromeClient::unavailablePluginButtonClicked): * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::createPlugin): Source/WebKit2: Remove code that deals with inactive plug-ins. We still keep around the kWKPluginLoadPolicyInactive API enum for now. * Shared/Plugins/PluginModuleInfo.h: * UIProcess/API/C/WKAPICast.h: (WebKit::toWKPluginLoadPolicy): (WebKit::toPluginModuleLoadPolicy): * UIProcess/Plugins/PluginInfoStore.cpp: * UIProcess/Plugins/PluginInfoStore.h: * UIProcess/Plugins/mac/PluginInfoStoreMac.mm: (WebKit::PluginInfoStore::shouldUsePlugin): (WebKit::PluginInfoStore::defaultLoadPolicyForPlugin): * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::findPlugin): (WebKit::WebPageProxy::unavailablePluginButtonClicked): * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::shouldUnavailablePluginMessageBeButton): (WebKit::WebChromeClient::unavailablePluginButtonClicked): * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::createPlugin): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=117561 Reviewed by Anders Carlsson. Source/WebKit: * WebKit.vcxproj/Interfaces/Interfaces.vcxproj: Add new IAccessible2 IDL files. * WebKit.vcxproj/Interfaces/Interfaces.vcxproj.filters: Ditto. * WebKit.vcxproj/Interfaces/InterfacesCommon.props: Reference new Accessible2 folder. * WebKit.vcxproj/WebKitGUID/WebKitGUID.vcxproj: Build IAccessible2 symbols. * WebKit.vcxproj/WebKitGUID/WebKitGUID.vcxproj.filters: Ditto. Source/WebKit/win: * AccessibleBase.cpp: Add stubs for IAccessible2 interface, replace attributeValue method with get_attribute from IAccessible2 API. * AccessibleBase.h: Ditto. * AccessibleDocument.cpp: Revise signatures for IAccessible2. * AccessibleDocument.h: Ditto. * AccessibleImage.cpp: Revise signatures for IAccessible2. * AccessibleImage.h: Ditto. * Interfaces/Accessible2: Added. * Interfaces/Accessible2/Accessible2.idl: Added. * Interfaces/Accessible2/Accessible2_2.idl: Added. * Interfaces...
-
dino@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=117568 Reviewed by Alexey Proskuryakov. Change default font on newer versions of OS X. * page/mac/SettingsMac.mm: (WebCore::Settings::initializeDefaultFontFamilies): Use 'Songti TC' on 10.9 and above. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hugo.lima@openbossa.org authored
https://bugs.webkit.org/show_bug.cgi?id=117564 Reviewed by Martin Robinson. * UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dino@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=117567 Reviewed by Alexey Proskuryakov. Change default font on newer versions of OS X. * page/mac/SettingsMac.mm: (WebCore::Settings::initializeDefaultFontFamilies): Use 'Songti SC' instead of 'STSong' on newer systems. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
gyuyoung.kim@samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=117541 Reviewed by Andreas Kling. From Blink r152268 by <pdr@chromium.org> A crash can happen due to a failed ImageBuffer allocation in SVGImage::drawPatternForContainer(). Added a check for that failed allocation. * svg/graphics/SVGImage.cpp: (WebCore::SVGImage::drawPatternForContainer): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=115647 Patch by Eduardo Lima Mitev <elima@igalia.com> on 2013-06-12 Reviewed by Martin Robinson. Source/WebCore: Override the get_object_locale() method of WebkitAccessibleWrapperAtk's internal AtkObject, to include custom implementations for AtkDocument and AtkText objects, taking the logic as-is from AtkDocument::get_document_locale() and DumpRenderTree's AccessibilityUIElementAtk::language(), respectively. Apart from improving encapsulation, this avoids calling deprecated get_document_locale() method. No new functionality, no new tests. * accessibility/atk/WebKitAccessibleInterfaceDocument.cpp: (webkitAccessibleDocumentInterfaceInit): Chains implementation of AtkDocument::get_document_locale() to AtkObject::get_object_locale(). * accessibility/atk/WebKitAccessibleWrapperAtk.cpp: (webkitAccessibleGetObjectLocale): Add implementation of locale resolution for objects of type AtkDocument and AtkText. (webkitAccessibleClassInit): Override AtkObject::get_object_locale() method. Tools: Locale resolution is moved to WebKitAccessibleWrapperAtk using AtkObject::get_object_locale() API. Now, implementation of AccessibilityUIElement::language() in both DumpRenderTree and WebKitTestRunner can be leveraged to get_object_locale() of AtkObject. Apart from improving encapsulation, this avoids calling deprecated get_document_locale() method. No new functionality, no new tests. * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp: (AccessibilityUIElement::language): Leverage locale resolution to AtkObject::get_object_locale(). * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: (WTR::AccessibilityUIElement::language): Leverage locale resolution to AtkObject::get_object_locale(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hugo.lima@openbossa.org authored
https://bugs.webkit.org/show_bug.cgi?id=117557 Reviewed by Ryosuke Niwa. * Scripts/build-webkit: * Scripts/update-webkit: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151523 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zandobersek@gmail.com authored
https://bugs.webkit.org/show_bug.cgi?id=115936 Reviewed by Martin Robinson. Source/Platform: * GNUmakefile.am: Add additional Source/WebCore/platform subdirectories to the list of the directories that are specific to the platform layer but still located in WebCore. Add Enchant and Freetype dependencies' CFLAGS to the list of libPlatform CPPFLAGS. Add GStreamer dependency's CFLAGS to the list of libPlatformGtk CPPFLAGS. Source/WebCore: No new tests - no new functionality. * GNUmakefile.list.am: Move more build targets under the platform_sources and platformgtk_sources listing. These build targets represent source files that are already free of platform layer violations and are as such ready to be pushed down from the WebCore layer into the Platform layer. Source/WebKit2: * GNUmakefile.am: Add GStreamer dependency's CFLAGS to the list of libPlatformGtk2 CPPFLAGS. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hugo.lima@openbossa.org authored
https://bugs.webkit.org/show_bug.cgi?id=117558 Reviewed by Ryosuke Niwa. This script isn't used since the GYP removal from WebKit. * Scripts/make-gypi: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=117556 Patch by Ruth Fong <ruth_fong@apple.com> on 2013-06-12 Reviewed by Beth Dakin. Source/WebCore: No new tests needed. * WebCore.exp.in: Added WebKit2 hook for mediaIsInFullscreen() method. Source/WebKit2: Adds method mediaIsInFullscreen() that checks if a media element is in fullscreen mode, which is needed to decide when to display the "Open Video in New Window" context menu item. * WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp: (WKBundleHitTestResultMediaIsInFullscreen): Added. Hooks into new InjectedBundleHitTestResult::mediaIsInFullscreen() method. * WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.h: * WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp: (WebKit::InjectedBundleHitTestResult::mediaIsInFullscreen): Added. Checks if media element is in fullscreen. * WebProcess/InjectedBundle/InjectedBundleHitTestResult.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=117496 Reviewed by Chris Fleizach. Source/WebCore: We can't make such an assumption. Scripts can insert any element between area and map elements. Merge https://chromium.googlesource.com/chromium/blink/+/b6f486284f08c52904701c93e1ec0b7d6e76af9f. Test: accessibility/image-map-with-indirect-area-crash.html * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::accessibilityImageMapHitTest): LayoutTests: Add a regression test from https://chromium.googlesource.com/chromium/blink/+/b6f486284f08c52904701c93e1ec0b7d6e76af9f. * accessibility/image-map-with-indirect-area-crash-expected.txt: Added. * accessibility/image-map-with-indirect-area-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
robert@webkit.org authored
Source/WebCore: Whitespace between inlines with nowrap and a shrink-to-fit parent gets a line-break when it shouldn't https://bugs.webkit.org/show_bug.cgi?id=117370 Reviewed by David Hyatt. Test: fast/text/whitespace/inline-whitespace-wrapping-8.html A no-wrap inline shouldn't include trailing space when deciding whether it fits on a line. Likewise when we finish iterating through the objects on a line we should clear our linebreak if the only thing that prevents us fitting on the line is our collapsed trailing whitespace. Removing the trailing space from this measurement means we need to watch out for potential breaks between no-wrap inlines, in particular if we leave a no-wrap inline ignoring spaces and enter an autowrap inline then we need to mark the beginning of the autowrap inline as a potential linebreak. The test fast/text/whitespace/inline-whitespace-wrapping-5.html is an example of such a case. * rendering/RenderBlockLineLayout.cpp: (WebCore::LineWidth::LineWidth): (WebCore::LineWidth::fitsOnLine): (WebCore::LineWidth::fitsOnLineExcludingTrailingWhitespace): (WebCore::LineWidth::fitsOnLineExcludingTrailingCollapsedWhitespace): (WebCore::LineWidth::setTrailingWhitespaceWidth): (WebCore::RenderBlock::LineBreaker::nextSegmentBreak): LayoutTests: Whitespace between inlines with nowrap and a shrink-to-fit parent line-break incorrectly https://bugs.webkit.org/show_bug.cgi?id=117370 Reviewed by David Hyatt. * fast/text/whitespace/inline-whitespace-wrapping-8-expected.html: Added. * fast/text/whitespace/inline-whitespace-wrapping-8.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151518 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=116745 Patch by Bem Jones-Bey <bjonesbe@adobe.com> on 2013-06-12 Reviewed by Dirk Schulze. Source/WebCore: If ry is not supplied, it now defaults to the rx value. Also, if rx and ry are not supplied, they default to 0px. This also has the effect that the computed style for any rectangle or inset-rectangle now contains all six parameters. If rx > width/2 then it is clamped to width/2, and if ry > height/2, then it is clamped to height/2. This happens at layout time because given mixed units and relative units, that is the only time this determination can be made. Tests: fast/exclusions/shape-inside/shape-inside-rounded-rectangle-large-radius.html fast/exclusions/shape-outside-floats/shape-outside-floats-rounded-rectangle-large-radius.html * css/BasicShapeFunctions.cpp: (WebCore::valueForBasicShape): Remove checks for undefined, since rx and ry cannot be undefined in BasicShape...
-
bfulgham@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=117530 Reviewed by Anders Carlsson. Source/WebCore: Fixes: accessibility/list-item-role.html accessibility/hidden-legend.html * accessibility/win/AccessibilityObjectWrapperWin.cpp: (WebCore::AccessibilityObjectWrapper::accessibilityAttributeValue): Extend to support access for the Title UI Element object. * accessibility/win/AccessibilityObjectWrapperWin.h: Revise interface to use Variant output, which is more in keeping with the Mac's 'id' method signature. Source/WebKit/win: * AccessibleBase.cpp: (AccessibleBase::attributeValue): Extend to handle Title UI Element. * AccessibleBase.h: Revise signature to use a variant argument. * Interfaces/AccessibleComparable.idl: Revise interface to use variant git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151516 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy@apple.com authored
* blog-files/new-inspector/activity-viewer.png: Added. * blog-files/new-inspector/codemirror.png: Added. * blog-files/new-inspector/console.png: Added. * blog-files/new-inspector/hero-labeled.png: Added. * blog-files/new-inspector/hero.png: Added. * blog-files/new-inspector/layer-borders.png: Added. * blog-files/new-inspector/layers.png: Added. * blog-files/new-inspector/navigation-bar.png: Added. * blog-files/new-inspector/open-sign.png: Added. * blog-files/new-inspector/reasons.png: Added. * blog-files/new-inspector/save.png: Added. * blog-files/new-inspector/source-map.png: Added. * blog-files/new-inspector/styles.png: Added. * blog-files/new-inspector/toolbar-context-menu.png: Added. * blog-files/new-inspector/toolbar-docked.png: Added. * blog-files/new-inspector/toolbar.png: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
leoyang@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=117553 Reviewed by Carlos Garcia Campos. In CredentialTransformData we should use RefPtr for m_userNameElement, m_passwordElement and m_oldPasswordElement because otherwise the elements could go away when the form elements get destroyed. Also add *const* for the parameter of CredentialTransformData::findPasswordFormFields(). No functionalities changed no new tests. * WebCoreSupport/CredentialTransformData.cpp: (WebCore::CredentialTransformData::findPasswordFormFields): (WebCore::CredentialTransformData::locateSpecificPasswords): * WebCoreSupport/CredentialTransformData.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=117550 Run filters used for animations and transitions through RenderLayer::computeFilterOperations in order to validate custom filter operations. Patch by Ralph Thomas <ralpht@gmail.com> on 2013-06-12 Reviewed by Alexandru Chiculita. No new tests as no platform can run custom filters with accelerated animations yet. * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::startAnimation): (WebCore::RenderLayerBacking::startTransition): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151513 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=117220 Patch by Ruth Fong <ruth_fong@apple.com> on 2013-06-12 Reviewed by Dean Jackson. Source/WebCore: This patch adds the ability for fullscreen context menu item on <video> elements to switch between "Enter Fullscreen" and "Exit Fullscreen" and behave appropriately. No new tests. media/context-menu-action.html, which has been disabled by bug 116651, is used to test context menus. * English.lproj/Localizable.strings: Add "Exit Fullscreen" string. * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::toggleFullscreenState): Added to appropriately enter/exit fullscreen. * html/HTMLMediaElement.h: * page/ContextMenuController.cpp: * platform/ContextMenuItem.h: * platform/LocalizedStrings.cpp: * platform/LocalizedStrings.h: Updated to rename variables more appropriately to reflect the toggle-ability of video fullscreen. * rendering/HitTestResult.cpp: (WebCore::HitTestResult::mediaIsInFullscreen): Added to check if an element was a media element in fullscreen. (WebCore::HitTestResult::toggleMediaFullscreenState): Added to hook into HTMLMediaElement::toggleFullscreenState. * rendering/HitTestResult.h: Source/WebKit2: * Shared/API/c/WKContextMenuItemTypes.h: * Shared/API/c/WKSharedAPICast.h: Added variables to support the toggle-ability of the fullscreen video context menu item. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
* platform/qt-arm/TestExpectations: * platform/qt-arm/svg/W3C-SVG-1.1/paths-data-05-t-expected.txt: Removed. * platform/qt-arm/svg/W3C-SVG-1.1/paths-data-09-t-expected.txt: Removed. * platform/qt-arm/svg/batik/text/textOnPath3-expected.txt: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sergio@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=116071 Reviewed by Darin Adler. From Blink r150201 and r150755 by <serya@chromium.org> Source/WebCore: Test: fast/css/parsing-expr-error-recovery.html The CSS parser should properly recover from invalid {}, () and [] blocks skipping them instead of discarding the whole declaration as invalid. This merge is actually made of two different changes from Blink, the original one that fixes the bug and another one which refactors a bit the code making it more legible. * css/CSSGrammar.y.in: LayoutTests: * fast/css/parsing-expr-error-recovery-expected.txt: Added. * fast/css/parsing-expr-error-recovery.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=117552 Patch by Conrad Shultz <conrad_shultz@apple.com> on 2013-06-12 Reviewed by Mark Hahnenberg. * API/JSExport.h: Fix a couple typos. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
carlosgc@webkit.org authored
[GTK] Invalidate the ProcessLauncher when the process is terminated before it has finished launching https://bugs.webkit.org/show_bug.cgi?id=117412 Reviewed by Anders Carlsson. * UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp: (WebKit::ProcessLauncher::terminateProcess): If process is still launching just invalidate the launcher. Reset the process identifier after killing the process. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151508 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=113370 Patch by Alberto Garcia <agarcia@igalia.com> on 2013-06-12 Reviewed by Anders Carlsson. BlackBerry PR 347565 Internally reviewed by Charles Wei. .: * Source/cmake/OptionsBlackBerry.cmake: Source/WebCore: * PlatformBlackBerry.cmake: Source/WebKit/blackberry: * Api/WebPage.cpp: * Api/WebPage.h: * WebCoreSupport/AboutDataEnableFeatures.in: * WebCoreSupport/FrameLoaderClientBlackBerry.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sergio@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=116059 Reviewed by Alexandru Chiculita. Some shapes were incorrectly defined, there was a "rectange" instead of a "rectangle" and also the number of parameters and their types was wrong. Apart from that, both the CSS exclusions and CSS variables settings were not enabled at runtime. Some extra text was also added to the divs in order to verify that the CSS exclusions are working properly. * fast/css/variables/var-inside-shape-expected.html: * fast/css/variables/var-inside-shape.html: * platform/efl/TestExpectations: Removed var-inside-shape.html. * platform/gtk/TestExpectations: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-