- 20 Aug, 2011 7 commits
- 
- 
rniwa@webkit.org authoredthe amount of time leapForward is called upon. The failure is tracked by the bug 66551. * platform/win/Skipped: git-svn-id: svn://svn.chromium.org/blink/trunk@93464 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
commit-queue@webkit.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=66606 Patch by James Robinson <jamesr@chromium.org> on 2011-08-19 Reviewed by Dirk Pranke. The chromium GPU configuration does not (currently) contain any tests incompatible with --experimental-fully-parallel, and this flag is a significan speedup because of the directory canvas/philip/tests which contains 802 tests in the same directory. Setting this option by default on this configuration is a 2x speed in release, 44s to 22s, and a 3x speedup in debug, 223s to 77s, on linux on a 16 core machine. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py: * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py: * Scripts/webkitpy/layout_tests/run_webkit_tests.py: git-svn-id: svn://svn.chromium.org/blink/trunk@93463 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
dbates@webkit.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=66611 Reviewed by Antonio Gomes. * jit/ExecutableAllocator.h: (JSC::ExecutableAllocator::cacheFlush): git-svn-id: svn://svn.chromium.org/blink/trunk@93462 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
cfleizach@apple.com authoredhttps://bugs.webkit.org/show_bug.cgi?id=61289 Update the code to determine the position of accessibility elements on Mac for WK2, so that elements within iframes are positioned correctly. Reviewed by Darin Adler.. * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::page): * accessibility/AccessibilityObject.h: * accessibility/mac/AccessibilityObjectWrapper.mm: (-[AccessibilityObjectWrapper position]): git-svn-id: svn://svn.chromium.org/blink/trunk@93461 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
jpfau@apple.com authoredhttps://bugs.webkit.org/show_bug.cgi?id=66604 When intializing a fragment parser, declare that the first element has been seen. Also, flush the text nodes when finishing parsing a document. Reviewed by Darin Adler. * xml/parser/NewXMLDocumentParser.cpp: (WebCore::NewXMLDocumentParser::finish): * xml/parser/XMLTreeBuilder.cpp: (WebCore::XMLTreeBuilder::XMLTreeBuilder): (WebCore::XMLTreeBuilder::processToken): (WebCore::XMLTreeBuilder::finish): * xml/parser/XMLTreeBuilder.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93460 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
jeffm@apple.com authoredMediaPlayerPrivateAVFoundationCF should use AVCFURLAssetCopyAudiovisualMIMETypes() to get list of supported MIME types https://bugs.webkit.org/show_bug.cgi?id=66612 Reviewed by Darin Adler. No new tests, should be covered by existing media tests. * platform/graphics/avfoundation/cf/AVFoundationCFSoftLinking.h: Added AVCFURLAssetCopyAudiovisualMIMETypes(). * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp: (WebCore::mimeTypeCache): Use AVCFURLAssetCopyAudiovisualMIMETypes() to build the cache of supported MIME types. git-svn-id: svn://svn.chromium.org/blink/trunk@93459 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
andersca@apple.com authored* UIProcess/PageClient.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93458 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
 
- 
- 19 Aug, 2011 33 commits
- 
- 
andersca@apple.com authored* WebProcess/Plugins/PluginController.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93456 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
jamesr@google.com authoredUpdate pixel baselines for this test on mac and linux. * platform/chromium-gpu-linux/compositing/scaling/tiled-layer-recursion-expected.png: Added. * platform/chromium-gpu-mac/compositing/scaling/tiled-layer-recursion-expected.png: Added. * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@93455 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
enne@google.com authoredhttps://bugs.webkit.org/show_bug.cgi?id=66609 Reviewed by James Robinson. The invalidateRect function does not appear to be used anywhere because the setNeedsDisplay function is used instead. Fix the Clang error by just removing this unused vestigial base class function. * platform/graphics/chromium/LayerChromium.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93454 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
andersca@apple.com authoredhttps://bugs.webkit.org/show_bug.cgi?id=66608 Reviewed by Sam Weinig. * bridge/npapi.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93453 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
jpfau@apple.com authoredhttps://bugs.webkit.org/show_bug.cgi?id=66423 Source/WebCore: This makes the loop over the elements outside of the context actually update the element it's processing. Reviewed by Darin Adler. Test: fast/parser/innerhtml-with-prefixed-elements.xhtml * xml/parser/XMLDocumentParserLibxml2.cpp: (WebCore::XMLDocumentParser::XMLDocumentParser): LayoutTests: Added a test to ensure that elements inserted when the prefix is already declared are inserted properly. Reviewed by Darin Adler. * fast/parser/innerhtml-with-prefixed-elements.xhtml: Added. * platform/chromium/test_expectations.txt: * platform/mac/fast/parser/innerhtml-with-prefixed-elements-expected.png: Added. * platform/mac/fast/parser/innerhtml-with-prefixed-elements-expected.txt: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@93452 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
commit-queue@webkit.org authoredhttp://trac.webkit.org/changeset/93426 https://bugs.webkit.org/show_bug.cgi?id=66607 Broke the Mac build by not building gtest.framework anymore (Requested by andersca on #webkit). Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-19 Source/ThirdParty: * gtest/README.WebKit: * gtest/include/gtest/internal/gtest-port.h: * gtest/msvc/gtest-md.vcproj: * gtest/xcode/Config/General.xcconfig: * gtest/xcode/gtest.xcodeproj/project.pbxproj: Tools: * TestWebKitAPI/Tests/WTF/StringOperators.cpp: git-svn-id: svn://svn.chromium.org/blink/trunk@93451 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
dbates@webkit.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=66605 Reviewed by Darin Adler. * wtf/Atomics.h: (WTF::atomicIncrement): (WTF::atomicDecrement): git-svn-id: svn://svn.chromium.org/blink/trunk@93450 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
adamk@chromium.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=66575 Reviewed by Tony Chang. * public/WebApplicationCacheHost.h: (WebKit::WebApplicationCacheHost::willStartMainResourceRequest): * public/WebFrame.h: * public/WebFrameClient.h: (WebKit::WebFrameClient::didReceiveTitle): * public/WebVideoFrame.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93449 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
tony@chromium.org authoredon win and run plugin-initiate-popup-window on mac/linux to get results. * platform/chromium-win/plugins/plugin-initiate-popup-window-expected.txt: Removed. * platform/chromium/test_expectations.txt: * platform/win/plugins/plugin-javascript-access-expected.txt: Renamed from LayoutTests/platform/chromium-win/plugins/plugin-javascript-access-expected.txt. git-svn-id: svn://svn.chromium.org/blink/trunk@93448 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
andersca@apple.com authoredhttps://bugs.webkit.org/show_bug.cgi?id=62245 Reviewed by Sam Weinig. This is to prepare the infrastructure for supporting the updated Cocoa text input model for plug-ins. * PluginProcess/PluginControllerProxy.cpp: * PluginProcess/PluginControllerProxy.h: * PluginProcess/mac/PluginControllerProxyMac.mm: (WebKit::PluginControllerProxy::setComplexTextInputState): (WebKit::PluginControllerProxy::compositingRenderServerPort): * Shared/Plugins/mac: Added. * Shared/Plugins/mac/PluginComplexTextInputState.h: Added. (WebKit::isValidPluginComplexTextInputState): * UIProcess/API/mac/PageClientImpl.h: * UIProcess/API/mac/PageClientImpl.mm: (WebKit::PageClientImpl::setPluginComplexTextInputState): * UIProcess/API/mac/WKView.mm: (-[WKView _setPluginComplexTextInputState:WebKit::pluginComplexTextInputIdentifier:]): * UIProcess/API/mac/WKViewInternal.h: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.h: * UIProcess/WebPageProxy.messages.in: * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::setPluginComplexTextInputState): * WebKit2.xcodeproj/project.pbxproj: * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: (WebKit::NetscapePlugin::NetscapePlugin): * WebProcess/Plugins/Netscape/NetscapePlugin.h: * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm: (WebKit::NetscapePlugin::platformSetFocus): (WebKit::NetscapePlugin::windowFocusChanged): (WebKit::NetscapePlugin::setComplexTextInputEnabled): * WebProcess/Plugins/Netscape/mac/PluginProxyMac.mm: (WebKit::PluginProxy::setComplexTextInputState): * WebProcess/Plugins/PluginController.h: * WebProcess/Plugins/PluginProxy.cpp: * WebProcess/Plugins/PluginProxy.h: * WebProcess/Plugins/PluginProxy.messages.in: * WebProcess/Plugins/PluginView.cpp: (WebKit::PluginView::~PluginView): (WebKit::PluginView::setComplexTextInputState): (WebKit::PluginView::compositingRenderServerPort): * WebProcess/Plugins/PluginView.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93447 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
jamesr@google.com authoredRemove = CRASH expectations for tests fixed by r93441. * platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@93446 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
bdakin@apple.com authoredRe-name scrollbar painter types Reviewed by Sam Weinig. Source/JavaScriptCore: WTF_USE_WK_SCROLLBAR_PAINTER is now WTF_USE_SCROLLBAR_PAINTER since WK no longer applies. * wtf/Platform.h: Source/WebCore: Names changed to remove references to WebKitSystemInterface since the implementation is now in WebCore. And the type names changed to be more Objective- Cish instead of C++ish WTF_USE_WK_SCROLLBAR_PAINTER -> WTF_USE_SCROLLBAR_PAINTER WKScrollbarPainterRef -> ScrollbarPainter WKScrollbarPainterControllerRef -> ScrollbarPainterController * platform/mac/NSScrollerImpDetails.h: * platform/mac/ScrollAnimatorMac.h: * platform/mac/ScrollAnimatorMac.mm: (-[ScrollbarPartAnimation initWithScrollbarPainter:part:WebCore::scrollAnimator:WebCore::animateAlphaTo:duration:]): (-[ScrollbarPainterDelegate setUpAnimation:scrollerPainter:part:WebCore::animateAlphaTo:duration:]): (-[ScrollbarPainterDelegate scrollerImp:animateKnobAlphaTo:duration:]): (-[ScrollbarPainterDelegate scrollerImp:animateTrackAlphaTo:duration:]): (WebCore::ScrollAnimatorMac::ScrollAnimatorMac): (WebCore::ScrollAnimatorMac::~ScrollAnimatorMac): (WebCore::ScrollAnimatorMac::notifyPositionChanged): (WebCore::ScrollAnimatorMac::contentAreaWillPaint): (WebCore::ScrollAnimatorMac::mouseEnteredContentArea): (WebCore::ScrollAnimatorMac::mouseExitedContentArea): (WebCore::ScrollAnimatorMac::mouseMovedInContentArea): (WebCore::ScrollAnimatorMac::willStartLiveResize): (WebCore::ScrollAnimatorMac::contentsResized): (WebCore::ScrollAnimatorMac::willEndLiveResize): (WebCore::ScrollAnimatorMac::contentAreaDidShow): (WebCore::ScrollAnimatorMac::contentAreaDidHide): (WebCore::ScrollAnimatorMac::didBeginScrollGesture): (WebCore::ScrollAnimatorMac::didEndScrollGesture): (WebCore::ScrollAnimatorMac::didAddVerticalScrollbar): (WebCore::ScrollAnimatorMac::willRemoveVerticalScrollbar): (WebCore::ScrollAnimatorMac::didAddHorizontalScrollbar): (WebCore::ScrollAnimatorMac::willRemoveHorizontalScrollbar): (WebCore::ScrollAnimatorMac::cancelAnimations): (WebCore::ScrollAnimatorMac::setIsActive): (WebCore::ScrollAnimatorMac::updateScrollerStyle): * platform/mac/ScrollViewMac.mm: (WebCore::ScrollView::platformSetScrollbarOverlayStyle): * platform/mac/ScrollbarThemeMac.h: * platform/mac/ScrollbarThemeMac.mm: (+[ScrollbarPrefsObserver appearancePrefsChanged:]): (WebCore::updateArrowPlacement): (WebCore::ScrollbarThemeMac::registerScrollbar): (WebCore::ScrollbarThemeMac::setNewPainterForScrollbar): (WebCore::ScrollbarThemeMac::painterForScrollbar): (WebCore::ScrollbarThemeMac::scrollbarThickness): (WebCore::ScrollbarThemeMac::usesOverlayScrollbars): (WebCore::ScrollbarThemeMac::updateScrollbarOverlayStyle): (WebCore::ScrollbarThemeMac::hasThumb): (WebCore::ScrollbarThemeMac::minimumThumbLength): (WebCore::ScrollbarThemeMac::updateEnabledState): (WebCore::scrollbarPainterPaint): (WebCore::ScrollbarThemeMac::paint): git-svn-id: svn://svn.chromium.org/blink/trunk@93445 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
jamesr@google.com authored[chromium] Chromium GPU layout tests should use the normal process number selection, not force 1 worker https://bugs.webkit.org/show_bug.cgi?id=66603 Reviewed by Dirk Pranke. The various ChromiumGpu ports should use the same child worker selection logic as other ports so they can run with full parallelization on multicore systems. * Scripts/webkitpy/layout_tests/port/chromium_gpu.py: * Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py: git-svn-id: svn://svn.chromium.org/blink/trunk@93444 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
commit-queue@webkit.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=66499 Patch by Van Lam <vanlam@google.com> on 2011-08-19 Reviewed by Ryosuke Niwa. Renamed VisiblePosition::honorEditableBoundary* to honorEditingBoundary. * editing/VisiblePosition.cpp: (WebCore::VisiblePosition::next): (WebCore::VisiblePosition::previous): (WebCore::VisiblePosition::left): (WebCore::VisiblePosition::right): (WebCore::VisiblePosition::honorEditingBoundaryAtOrBefore): (WebCore::VisiblePosition::honorEditingBoundaryAtOrAfter): * editing/VisiblePosition.h: * editing/visible_units.cpp: (WebCore::previousWordPosition): (WebCore::nextWordPosition): (WebCore::startOfLine): (WebCore::endOfLine): (WebCore::previousSentencePosition): (WebCore::nextSentencePosition): (WebCore::logicalStartOfLine): (WebCore::logicalEndOfLine): (WebCore::leftWordPosition): (WebCore::rightWordPosition): git-svn-id: svn://svn.chromium.org/blink/trunk@93443 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
tony@chromium.org authoredchanged after r93428. * platform/chromium-cg-mac-leopard/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: * platform/chromium-cg-mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: * platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@93442 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
jamesr@google.com authoredhttps://bugs.webkit.org/show_bug.cgi?id=65063 Reviewed by Darin Fisher. Fixes crashes due to a bad cast from Image to BitmapImage on skia ports that use BitmapImageSingleFrameSkia. In the skia port Image::isBitmapImage() returning true does not necessarily mean that Image is of type BitmapImage. Covered by fast/canvas/canvas-as-image.html and many other canvas tests. Patch originally by Tom Hudson. * platform/graphics/BitmapImage.h: (WebCore::BitmapImage::currentFrameHasAlpha): (WebCore::BitmapImage::notSolidColor): * platform/graphics/Image.cpp: (WebCore::Image::drawTiled): * platform/graphics/Image.h: (WebCore::Image::currentFrameHasAlpha): (WebCore::Image::notSolidColor): * platform/graphics/skia/BitmapImageSingleFrameSkia.h: (WebCore::BitmapImageSingleFrameSkia::currentFrameHasAlpha): (WebCore::BitmapImageSingleFrameSkia::notSolidColor): * rendering/RenderImage.cpp: (WebCore::RenderImage::backgroundIsObscured): git-svn-id: svn://svn.chromium.org/blink/trunk@93441 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
eae@chromium.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=66586 Reviewed by Eric Seidel. No new tests as no new functionality. * rendering/svg/RenderSVGForeignObject.h: * rendering/svg/RenderSVGGradientStop.h: (WebCore::RenderSVGGradientStop::clippedOverflowRectForRepaint): * rendering/svg/RenderSVGHiddenContainer.h: (WebCore::RenderSVGHiddenContainer::clippedOverflowRectForRepaint): * rendering/svg/RenderSVGInline.cpp: (WebCore::RenderSVGInline::clippedOverflowRectForRepaint): (WebCore::RenderSVGInline::computeRectForRepaint): * rendering/svg/RenderSVGInline.h: * rendering/svg/RenderSVGModelObject.cpp: (WebCore::RenderSVGModelObject::clippedOverflowRectForRepaint): (WebCore::RenderSVGModelObject::computeRectForRepaint): * rendering/svg/RenderSVGModelObject.h: * rendering/svg/RenderSVGText.cpp: (WebCore::RenderSVGText::clippedOverflowRectForRepaint): (WebCore::RenderSVGText::computeRectForRepaint): * rendering/svg/RenderSVGText.h: * svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::localCoordinateSpaceTransform): * svg/SVGSVGElement.h: (WebCore::SVGSVGElement::setContainerSize): (WebCore::SVGSVGElement::containerSize): * svg/graphics/SVGImage.cpp: (WebCore::SVGImageChromeClient::invalidateContentsAndWindow): (WebCore::SVGImage::setContainerSize): * svg/graphics/SVGImage.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93440 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
commit-queue@webkit.org authoredhttp://trac.webkit.org/changeset/93425 https://bugs.webkit.org/show_bug.cgi?id=66591 "The newly-added ASSERT is being triggered on several bots" (Requested by jchaffraix on #webkit). Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-19 Source/WebCore: * html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::HTMLLinkElement): (WebCore::HTMLLinkElement::setDisabled): (WebCore::HTMLLinkElement::sheetLoaded): (WebCore::HTMLLinkElement::disabled): * html/HTMLLinkElement.h: (WebCore::HTMLLinkElement::isEnabledViaScript): LayoutTests: * fast/css/link-disabled-attr-expected.txt: * fast/css/stylesheet-enable-first-alternate-expected.txt: Removed. * fast/css/stylesheet-enable-first-alternate-on-load-expected.txt: Removed. * fast/css/stylesheet-enable-first-alternate-on-load.html: Removed. * fast/css/stylesheet-enable-first-alternate.html: Removed. * fast/css/stylesheet-enable-second-alternate-expected.txt: Removed. * fast/css/stylesheet-enable-second-alternate-on-load-expected.txt: Removed. * fast/css/stylesheet-enable-second-alternate-on-load.html: Removed. * fast/css/stylesheet-enable-second-alternate.html: Removed. * http/tests/css/link-css-disabled-value-with-slow-loading-sheet-expected.txt: Removed. * http/tests/css/link-css-disabled-value-with-slow-loading-sheet-in-error-expected.txt: Removed. * http/tests/css/link-css-disabled-value-with-slow-loading-sheet-in-error.html: Removed. * http/tests/css/link-css-disabled-value-with-slow-loading-sheet.html: Removed. * http/tests/css/resources/link-css-disabled-value-with-slow-loading-sheet-in-error.js: Removed. * http/tests/css/resources/link-css-disabled-value-with-slow-loading-sheet.js: Removed. * http/tests/css/resources/slow-loading-sheet-in-error.php: Removed. * http/tests/css/resources/slow-loading-sheet.php: Removed. git-svn-id: svn://svn.chromium.org/blink/trunk@93439 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
enne@google.com authoredhttps://bugs.webkit.org/show_bug.cgi?id=66432 Reviewed by James Robinson. Covered by existing tests. * platform/graphics/chromium/Canvas2DLayerChromium.cpp: (WebCore::Canvas2DLayerChromium::updateCompositorResources): * platform/graphics/chromium/Canvas2DLayerChromium.h: * platform/graphics/chromium/LayerChromium.h: (WebCore::LayerChromium::updateCompositorResources): * platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::updateCompositorResources): * platform/graphics/chromium/TiledLayerChromium.cpp: (WebCore::TiledLayerChromium::updateCompositorResources): * platform/graphics/chromium/TiledLayerChromium.h: * platform/graphics/chromium/VideoLayerChromium.cpp: (WebCore::VideoLayerChromium::updateCompositorResources): * platform/graphics/chromium/VideoLayerChromium.h: * platform/graphics/chromium/WebGLLayerChromium.cpp: (WebCore::WebGLLayerChromium::updateCompositorResources): * platform/graphics/chromium/WebGLLayerChromium.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93438 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
vrk@chromium.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=66414 Reviewed by Eric Carlson. Source/WebCore: Test: media/video-load-preload-none.html * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::load): LayoutTests: * media/video-load-preload-none-expected.txt: Added. * media/video-load-preload-none.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@93437 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
eae@chromium.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=66502 Reviewed by Eric Seidel. Convert RenderBlock to new layout abstraction. Leave m_lineHight as a 30 bit int for now to avoid unnecessarily increasing the memory usage. No new tests as no new functionality. * rendering/RenderBlock.cpp: * rendering/RenderBlock.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93436 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
eae@chromium.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=66534 Reviewed by Eric Seidel. Convert RenderBoxModelObject to new layout abstraction. No new tests as no new functionality. * rendering/RenderBoxModelObject.cpp: (WebCore::ImageQualityController::set): (WebCore::ImageQualityController::shouldPaintAtLowQuality): (WebCore::RenderBoxModelObject::shouldPaintAtLowQuality): (WebCore::backgroundRectAdjustedForBleedAvoidance): (WebCore::RenderBoxModelObject::paintFillLayerExtended): (WebCore::RenderBoxModelObject::calculateFillTileSize): (WebCore::RenderBoxModelObject::BackgroundImageGeometry::useFixedAttachment): (WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry): (WebCore::RenderBoxModelObject::paintNinePieceImage): (WebCore::borderWillArcInnerEdge): (WebCore::RenderBoxModelObject::paintOneBorderSide): (WebCore::RenderBoxModelObject::paintBorderSides): (WebCore::RenderBoxModelObject::paintBorder): (WebCore::RenderBoxModelObject::drawBoxSideFromPath): (WebCore::RenderBoxModelObject::clipBorderSidePolygon): (WebCore::areaCastingShadowInHole): (WebCore::RenderBoxModelObject::paintBoxShadow): (WebCore::RenderBoxModelObject::containingBlockLogicalWidthForContent): * rendering/RenderBoxModelObject.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93435 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
fsamuel@chromium.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=66568 Reviewed by Darin Fisher. * public/WebView.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::isFixedLayoutModeEnabled): (WebKit::WebViewImpl::enableFixedLayoutMode): (WebKit::WebViewImpl::fixedLayoutSize): (WebKit::WebViewImpl::setFixedLayoutSize): * src/WebViewImpl.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93434 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
alokp@chromium.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=66570 Reviewed by Mihai Parparita. * DumpRenderTree/chromium/WebThemeControlDRTWin.cpp: (WebThemeControlDRTWin::draw): (WebThemeControlDRTWin::drawTextField): (WebThemeControlDRTWin::drawProgressBar): * DumpRenderTree/chromium/WebThemeControlDRTWin.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93433 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
commit-queue@webkit.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=66566 Patch by Mihnea Ovidenie <mihnea@adobe.com> on 2011-08-19 Reviewed by David Hyatt. When in printing or the repaint rectangle is empty, there is no need to iterate the render flow regions in order to repaint. Covered by existing tests. * rendering/RenderFlowThread.cpp: (WebCore::RenderFlowThread::shouldRepaint): (WebCore::RenderFlowThread::repaintRectangleInRegions): * rendering/RenderFlowThread.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93432 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
tony@chromium.org authored* platform/chromium/test_expectations.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@93431 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
commit-queue@webkit.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=66559 Patch by Mihnea Ovidenie <mihnea@adobe.com> on 2011-08-19 Reviewed by David Hyatt. Source/WebCore: * css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): * css/CSSMutableStyleDeclaration.cpp: * css/CSSParser.cpp: (WebCore::CSSParser::parseValue): * css/CSSPropertyNames.in: * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty): * rendering/style/RenderStyle.h: (WebCore::InheritedFlags::regionBreakBefore): (WebCore::InheritedFlags::regionBreakInside): (WebCore::InheritedFlags::regionBreakAfter): (WebCore::InheritedFlags::setRegionBreakBefore): (WebCore::InheritedFlags::setRegionBreakInside): (WebCore::InheritedFlags::setRegionBreakAfter): * rendering/style/StyleRareNonInheritedData.cpp: (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData): (WebCore::StyleRareNonInheritedData::operator==): * rendering/style/StyleRareNonInheritedData.h: LayoutTests: * fast/css/getComputedStyle/computed-style-expected.txt: * platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: * svg/css/getComputedStyle-basic-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@93430 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
eae@chromium.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=66507 Reviewed by Eric Seidel. Convert RenderLayer to new layout abstraction. No new tests as no new functionality. * rendering/LayoutTypes.h: (WebCore::flooredLayoutSize): * rendering/RenderLayer.cpp: * rendering/RenderLayer.h: * rendering/RenderLayerBacking.cpp: * rendering/RenderLayerBacking.h: * rendering/RenderLayerCompositor.cpp: * rendering/RenderLayerCompositor.h: git-svn-id: svn://svn.chromium.org/blink/trunk@93429 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
commit-queue@webkit.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=66459 Patch by Mihnea Ovidenie <mihnea@adobe.com> on 2011-08-19 Reviewed by Darin Adler. Source/WebCore: Initially, when creating the style for the RenderFlowThread, overflowX and overflowY were both set to hidden, so that RenderView did not display scrollbars when a RenderFlowThread exists. However, this allowed the possibility of scrolling the content displayed in region. Now, the RenderFlowThread objects are ignored in RenderBlock::insertPositionedObject and the style of the RenderFlowThread can be set to visible, thus preventing scrolling of the content displayed in regions. Test: fast/regions/content-flowed-into-regions-no-scroll.html * rendering/RenderFlowThread.cpp: (WebCore::RenderFlowThread::createFlowThreadStyle): LayoutTests: * fast/regions/content-flowed-into-regions-no-scroll-expected.txt: Added. * fast/regions/content-flowed-into-regions-no-scroll.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@93428 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
caio.oliveira@openbossa.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=65920 Reviewed by Benjamin Poulain. This patch makes QDesktopWebView delegate the decision of whether a navigation should proceed to a slot in QML. The user of the DesktopWebView must implement a 'navigationPolicyForUrl()' if it wants to use the feature. Such feature is useful for implementing opening links in "new tab" by using a specific mouse button or mouse button plus keyboard modifiers. The patch introduces a internal Qt-level interface called PolicyInterface, that is used by QtWebPageProxy to delegate policy calls. A concrete implementation is provided for QDesktopWebView. * Shared/qt/WebCoreArgumentCodersQt.cpp: (CoreIPC::::encode): (CoreIPC::::decode): Implement the serialization of the Request URL, which is the only data we exposing from the Request. * WebKit2.pro: * UIProcess/qt/PolicyInterface.h: Added. * UIProcess/qt/QtWebPageProxy.cpp: (QtWebPageProxy::QtWebPageProxy): (QtWebPageProxy::init): * UIProcess/qt/QtWebPageProxy.h: Register a Policy Client in the WK2 C API only if there's a PolicyInterface available. * UIProcess/qt/ClientImpl.h: * UIProcess/qt/ClientImpl.cpp: (toPolicyInterface): (toQtMouseButton): (toQtKeyboardModifiers): (qt_wk_decidePolicyForNavigationAction): Implement the callback for the Page Policy Client. It will translate the arguments to Qt jargon and call PolicyInterface. * UIProcess/qt/qdesktopwebpageproxy.cpp: (QDesktopWebPageProxy::QDesktopWebPageProxy): * UIProcess/API/qt/qdesktopwebview.h: * UIProcess/API/qt/qdesktopwebview_p.h: * UIProcess/API/qt/qdesktopwebview.cpp: (toPolicyAction): (hasMetaMethod): (QDesktopWebViewPrivate::navigationPolicyForURL): The concrete implementation for QDesktopWebView. Its private object implements the PolicyInterface and try to call a possible function defined in QML (so return value and arguments all QVariants). If there's no such a function, returns the default UsePolicy, like if we haven't registered a PolicyClient in WK2 C API. * UIProcess/API/qt/tests/qmltests/DesktopWebView/tst_navigationPolicyForUrl.qml: Added. * UIProcess/API/qt/tests/qmltests/common/test2.html: Added. * UIProcess/API/qt/tests/qmltests/qmltests.pro: Add a test for DesktopWebView QML element making use of a button and a modifier to ignore a navigation. * UIProcess/qt/qtouchwebpageproxy.cpp: (QTouchWebPageProxy::QTouchWebPageProxy): For now, we don't have a PolicyInterface for QTouchWebView. git-svn-id: svn://svn.chromium.org/blink/trunk@93427 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
dslomov@google.com authoredhttps://bugs.webkit.org/show_bug.cgi?id=66521 This patch ensures that gtest uses new and delete operators that are defined in JavaScriptCore. Reviewed by David Levin. * gtest/include/gtest/internal/gtest-port.h: * gtest/msvc/gtest-md.vcproj: * gtest/README.WebKit: * gtest/xcode/Config/General.xcconfig: * gtest/xcode/gtest.xcodeproj/project.pbxproj: Tools: This patch ensures that gtest uses new and delete operators that are defined in JavaScriptCore. https://bugs.webkit.org/show_bug.cgi?id=66521 Reviewed by David Levin. * TestWebKitAPI/Tests/WTF/StringOperators.cpp: Removed redefinition of JS_EXPORTDATA. git-svn-id: svn://svn.chromium.org/blink/trunk@93426 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
jchaffraix@webkit.org authoredhttps://bugs.webkit.org/show_bug.cgi?id=65140 <rdar://problem/9835905> Reviewed by Antti Koivisto. Source/WebCore: Tests: fast/css/stylesheet-enable-first-alternate-on-load.html fast/css/stylesheet-enable-first-alternate.html fast/css/stylesheet-enable-second-alternate-on-load.html fast/css/stylesheet-enable-second-alternate.html http/tests/css/link-css-disabled-value-with-slow-loading-sheet-in-error.html http/tests/css/link-css-disabled-value-with-slow-loading-sheet.html The gist of the issue is that we were ignoring calls to HTMLLinkElement::setDisabled that would enable a style sheet when we were loading a stylesheet (m_sheet was 0 and thus ignored the call per the spec). FF goes against the CSS OM spec in this case and always keep an associated sheet as long as 'rel' hints at a stylesheet link and href is present. Instead of siding with FF, I continued to follow the specification and store the enabled via javascript state into m_scriptState (renamed from m_isEnabledViaScript). This information gets merged back into the style sheet disabled state when it is available. While debugging the case at hand, I found some cases that were not properly handled and were fixed as part of this change. * html/HTMLLinkElement.cpp: (WebCore::HTMLLinkElement::HTMLLinkElement): Updated after m_isEnabledViaScript rename. (WebCore::HTMLLinkElement::setDisabled): Always call setIsEnabledViaScript so that the information is properly stored (either for recalcStyleSelector or just to store the state during loading). (WebCore::HTMLLinkElement::sheetLoaded): Merge back the state from m_scriptState to the sheet's disabled state. (WebCore::HTMLLinkElement::disabled): Account for the temporary state and return the right value. It matches FF and what people would expect. (WebCore::HTMLLinkElement::areDisabledAndScriptStatesConsistent): Debug only method that checks that disabled() and isEnabledViaScript() are consistent with each other (under some circumstances). * html/HTMLLinkElement.h: (WebCore::HTMLLinkElement::isEnabledViaScript): Updated after m_isEnabledViaScript rename. (WebCore::HTMLLinkElement::setIsEnabledViaScript): Added setter. LayoutTests: * fast/css/link-disabled-attr-expected.txt: This change is a progression, but we are still not handling updates to the selected style set properly (already covered by bug 62407). * fast/css/stylesheet-enable-first-alternate-expected.txt: Added. * fast/css/stylesheet-enable-first-alternate-on-load-expected.txt: Added. * fast/css/stylesheet-enable-first-alternate-on-load.html: Added. * fast/css/stylesheet-enable-first-alternate.html: Added. * fast/css/stylesheet-enable-second-alternate-expected.txt: Added. * fast/css/stylesheet-enable-second-alternate-on-load-expected.txt: Added. * fast/css/stylesheet-enable-second-alternate-on-load.html: Added. * fast/css/stylesheet-enable-second-alternate.html: Added. Those are a variation on the same theme: we disable some stylesheet and enable others, either directly or later. * http/tests/css/link-css-disabled-value-with-slow-loading-sheet-expected.txt: Added. * http/tests/css/link-css-disabled-value-with-slow-loading-sheet-in-error-expected.txt: Added. * http/tests/css/link-css-disabled-value-with-slow-loading-sheet-in-error.html: Added. * http/tests/css/link-css-disabled-value-with-slow-loading-sheet.html: Added. * http/tests/css/resources/link-css-disabled-value-with-slow-loading-sheet-in-error.js: Added. (onSheetLoaded): (testWhenLoaded): * http/tests/css/resources/link-css-disabled-value-with-slow-loading-sheet.js: Added. (onSheetLoaded): (testWhenLoaded): * http/tests/css/resources/slow-loading-sheet-in-error.php: Added. * http/tests/css/resources/slow-loading-sheet.php: Added. Those 2 test cases relies on a slow loading stylesheet so that we can test the disabled() value while the alternate sheet is asynchronously loading and then check them again once the sheet is loaded. git-svn-id: svn://svn.chromium.org/blink/trunk@93425 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
- 
enne@google.com authoredhttps://bugs.webkit.org/show_bug.cgi?id=66065 Reviewed by James Robinson. Source/WebCore: Covered by existing tests. LayerTilerChromium is renamed to be CCLayerTilingData. Invalidation and paint functionality is pushed into TiledLayerChromium and drawing with GL is pushed into CCTiledLayerImpl. During tree synchronization, the tiler properties and texture IDs are synchronized into CCTiledLayerImpl. * WebCore.gypi: * platform/graphics/chromium/ContentLayerChromium.cpp: (WebCore::ContentLayerChromium::paintContentsIfDirty): (WebCore::ContentLayerChromium::createTextureUpdaterIfNeeded): * platform/graphics/chromium/ContentLayerChromium.h: * platform/graphics/chromium/ImageLayerChromium.cpp: (WebCore::ImageLayerChromium::paintContentsIfDirty): * platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::LayerRendererChromium::bestTextureFormat): (WebCore::LayerRendererChromium::initializeSharedObjects): (WebCore::LayerRendererChromium::tilerProgram): (WebCore::LayerRendererChromium::tilerProgramSwizzle): (WebCore::LayerRendererChromium::tilerProgramAA): (WebCore::LayerRendererChromium::tilerProgramSwizzleAA): * platform/graphics/chromium/LayerRendererChromium.h: * platform/graphics/chromium/LayerTextureUpdater.h: * platform/graphics/chromium/LayerTilerChromium.cpp: Removed. * platform/graphics/chromium/ManagedTexture.h: (WebCore::ManagedTexture::textureId): * platform/graphics/chromium/TiledLayerChromium.cpp: (WebCore::UpdatableTile::UpdatableTile): (WebCore::UpdatableTile::texture): (WebCore::UpdatableTile::dirty): (WebCore::UpdatableTile::clearDirty): (WebCore::TiledLayerChromium::TiledLayerChromium): (WebCore::TiledLayerChromium::cleanupResources): (WebCore::TiledLayerChromium::drawsContent): (WebCore::TiledLayerChromium::createTilerIfNeeded): (WebCore::TiledLayerChromium::updateCompositorResources): (WebCore::TiledLayerChromium::pushPropertiesTo): (WebCore::TiledLayerChromium::dumpLayerProperties): (WebCore::TiledLayerChromium::textureManager): (WebCore::TiledLayerChromium::tileAt): (WebCore::TiledLayerChromium::createTile): (WebCore::TiledLayerChromium::invalidateTiles): (WebCore::TiledLayerChromium::invalidateRect): (WebCore::TiledLayerChromium::protectVisibleTileTextures): (WebCore::TiledLayerChromium::protectTileTextures): (WebCore::TiledLayerChromium::prepareToUpdate): * platform/graphics/chromium/TiledLayerChromium.h: * platform/graphics/chromium/cc/CCLayerTilingData.cpp: Added. (WebCore::CCLayerTilingData::create): (WebCore::CCLayerTilingData::CCLayerTilingData): (WebCore::CCLayerTilingData::setTileSize): (WebCore::CCLayerTilingData::operator=): (WebCore::CCLayerTilingData::addTile): (WebCore::CCLayerTilingData::takeTile): (WebCore::CCLayerTilingData::tileAt): (WebCore::CCLayerTilingData::reset): (WebCore::CCLayerTilingData::contentRectToTileIndices): (WebCore::CCLayerTilingData::contentRectToLayerRect): (WebCore::CCLayerTilingData::layerRectToContentRect): (WebCore::CCLayerTilingData::tileContentRect): (WebCore::CCLayerTilingData::tileLayerRect): (WebCore::CCLayerTilingData::setLayerPosition): (WebCore::CCLayerTilingData::growLayerToContain): * platform/graphics/chromium/cc/CCLayerTilingData.h: Renamed from Source/WebCore/platform/graphics/chromium/LayerTilerChromium.h. (WebCore::CCLayerTilingData::numTiles): (WebCore::CCLayerTilingData::numTilesX): (WebCore::CCLayerTilingData::numTilesY): (WebCore::CCLayerTilingData::tileBounds): (WebCore::CCLayerTilingData::textureOffset): (WebCore::CCLayerTilingData::tileSize): (WebCore::CCLayerTilingData::hasBorderTexels): (WebCore::CCLayerTilingData::isEmpty): (WebCore::CCLayerTilingData::Tile::Tile): (WebCore::CCLayerTilingData::Tile::i): (WebCore::CCLayerTilingData::Tile::j): (WebCore::CCLayerTilingData::Tile::moveTo): (WebCore::CCLayerTilingData::TileMapKeyTraits::emptyValue): (WebCore::CCLayerTilingData::TileMapKeyTraits::constructDeletedValue): (WebCore::CCLayerTilingData::TileMapKeyTraits::isDeletedValue): (WebCore::CCLayerTilingData::tiles): * platform/graphics/chromium/cc/CCTiledLayerImpl.cpp: (WebCore::DrawableTile::DrawableTile): (WebCore::DrawableTile::textureId): (WebCore::DrawableTile::setTextureId): (WebCore::CCTiledLayerImpl::CCTiledLayerImpl): (WebCore::CCTiledLayerImpl::bindContentsTexture): (WebCore::CCTiledLayerImpl::tileAt): (WebCore::CCTiledLayerImpl::createTile): (WebCore::CCTiledLayerImpl::draw): (WebCore::CCTiledLayerImpl::setTilingData): (WebCore::CCTiledLayerImpl::syncTextureId): (WebCore::isCCW): (WebCore::computeEdge): (WebCore::intersect): (WebCore::CCTiledLayerImpl::drawTiles): * platform/graphics/chromium/cc/CCTiledLayerImpl.h: (WebCore::CCTiledLayerImpl::setSkipsDraw): (WebCore::CCTiledLayerImpl::setTextureOrientation): (WebCore::CCTiledLayerImpl::setSampledTexelFormat): * platform/graphics/gpu/TilingData.h: Source/WebKit/chromium: Add a test for assignment and copy constructor for TilingData. * tests/TilingDataTest.cpp: (WebCore::TEST): git-svn-id: svn://svn.chromium.org/blink/trunk@93424 bbb929c8-8fbe-4397-9dbb-9b2b20218538 
 
-