2012-02-22 Zoltan Herczeg Drop clipToImageBuffer from RenderBoxModelObject https://bugs.webkit.org/show_bug.cgi?id=79225 Reviewed by Nikolas Zimmermann. -webkit-background-clip: text is a rarely used non-standard feature uses clipToImageBuffer. It is replaced by CompositeDestinationIn on a transparent layer. The new approach has the same speed as the old one. Existing tests cover this issue. * rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintFillLayerExtended): 2012-02-22 Kenneth Rohde Christiansen Merge setVisibleRectTrajectoryVector and adjustVisibleRect to the more descriptive coverWithTilesIfNeeded https://bugs.webkit.org/show_bug.cgi?id=79230 Reviewed by Simon Hausmann. Both setVisibleRectTrajectoryVector and the adjustVisibleRect are used for initiating re-tiling, so make that more obvious and merge the two. * platform/graphics/TiledBackingStore.cpp: (WebCore::TiledBackingStore::coverWithTilesIfNeeded): * platform/graphics/TiledBackingStore.h: (TiledBackingStore): 2012-02-17 Nikolas Zimmermann REGRESSION: unbalanced transparency layers for clipPath https://bugs.webkit.org/show_bug.cgi?id=78074 Reviewed by Zoltan Herczeg. If we're rendering to a mask image buffer, all children are rendered with opacity=1, regardless what their RenderStyles specify. SVGRenderSupport::finishRenderSVGContent() did not take this into account and always called endTransparencyLayer(). Fix that by checking if we're rendering to a mask image buffer, if so don't call endTransparencyLayer(). Add new reftest covering both the visual & logical correctness (no assertion). Tests: svg/clip-path/opacity-assertion-expected.svg svg/clip-path/opacity-assertion.svg * rendering/svg/SVGRenderSupport.cpp: (WebCore::isRenderingMaskImage): Extraced as sharable helper function. (WebCore::SVGRenderSupport::prepareToRenderSVGContent): Factor out isRenderingMaskImage() function. (WebCore::SVGRenderSupport::finishRenderSVGContent): Only call endTransparencyLayer(), if we actually called beginTL() first. 2012-02-22 Kenneth Rohde Christiansen Improve comments in tiling code. Rubberstamped by Simon Hausmann. * platform/graphics/TiledBackingStore.cpp: (WebCore::TiledBackingStore::createTiles): 2012-02-22 'Pavel Feldman' Not reviewed: build fix. * inspector/InspectorController.cpp: * inspector/InspectorController.h: (InspectorController): 2012-02-21 Pavel Feldman Web Inspector: do not filter out requestAnimationFrame from timeline, implement stop on animation events. https://bugs.webkit.org/show_bug.cgi?id=79116 Reviewed by Yury Semikhatsky. * English.lproj/localizedStrings.js: * dom/ScriptedAnimationController.cpp: (WebCore::ScriptedAnimationController::registerCallback): * inspector/InspectorInstrumentation.cpp: (WebCore): (WebCore::InspectorInstrumentation::didRequestAnimationFrameCallbackImpl): (WebCore::InspectorInstrumentation::didCancelAnimationFrameCallbackImpl): (WebCore::InspectorInstrumentation::willFireAnimationFrameEventImpl): * inspector/InspectorInstrumentation.h: (InspectorInstrumentation): (WebCore::InspectorInstrumentation::didRequestAnimationFrameCallback): * inspector/InspectorTimelineAgent.cpp: (TimelineRecordType): (WebCore::InspectorTimelineAgent::didRequestAnimationFrameCallback): (WebCore::InspectorTimelineAgent::didCancelAnimationFrameCallback): (WebCore::InspectorTimelineAgent::willFireAnimationFrameEvent): (WebCore::InspectorTimelineAgent::didFireAnimationFrameEvent): * inspector/InspectorTimelineAgent.h: (InspectorTimelineAgent): * inspector/front-end/BreakpointsSidebarPane.js: (WebInspector.EventListenerBreakpointsSidebarPane): (WebInspector.EventListenerBreakpointsSidebarPane.eventNameForUI): * inspector/front-end/TimelineAgent.js: * inspector/front-end/TimelinePanel.js: (WebInspector.TimelinePanel): (WebInspector.TimelinePanel.prototype.get _recordStyles): (WebInspector.TimelinePanel.prototype._findParentRecord): (WebInspector.TimelinePanel.prototype._innerAddRecordToTimeline): (WebInspector.TimelinePanel.prototype._onRecordsCleared): (WebInspector.TimelinePanel.FormattedRecord): (WebInspector.TimelinePanel.FormattedRecord.prototype._generatePopupContent): (WebInspector.TimelinePanel.FormattedRecord.prototype._getRecordDetails): 2012-02-22 Changhun Kang Remove unused class declaration in WebCore/page/scrolling/ScrollingCoordinator.h https://bugs.webkit.org/show_bug.cgi?id=79175 Reviewed by Kentaro Hara. * page/scrolling/ScrollingCoordinator.h: Remove PlatformGestureEvent class declaration. (WebCore): 2012-02-22 Andras Becsi [Qt][WK2] Fix the N9 build https://bugs.webkit.org/show_bug.cgi?id=79101 Reviewed by Simon Hausmann. Fixed the include order of the rolled out r108359 not to break the build with CONFIG+=force_static_libs_as_shared. * platform/graphics/OpenGLShims.h: Add missing include. 2012-02-22 Shinya Kawanaka firstRendererOf() should also return a fallback element renderer in NodeRenderingContext. https://bugs.webkit.org/show_bug.cgi?id=79180 Reviewed by Hajime Morita. Currently we have handled AttachingFallback in some special mannger, however if firstRendererOf and lastRendererOf return a fallback element renderer, we don't need to handle it in such a manner. We have introduced new attaching phase: AttachingFallbacked, and AttachingNotFallbacked. They are used for fallback elements. Added new test cases in: fast/dom/shadow/shadow-contents-fallback.html fast/dom/shadow/shadow-contents-fallback-dynamic.html * dom/NodeRenderingContext.cpp: (WebCore::NodeRenderingContext::NodeRenderingContext): (WebCore::firstRendererOf): (WebCore::lastRendererOf): (WebCore::NodeRenderingContext::nextRenderer): (WebCore::NodeRenderingContext::previousRenderer): (WebCore::NodeRenderingContext::shouldCreateRenderer): * dom/NodeRenderingContext.h: * html/shadow/InsertionPoint.h: (WebCore::isInsertionPoint): (WebCore): (WebCore::toInsertionPoint): 2012-02-22 Csaba Osztrogonác [Qt] Unreviewed gardening after r108464. * Target.pri: 2012-02-22 Sheriff Bot Unreviewed, rolling out r108468. http://trac.webkit.org/changeset/108468 https://bugs.webkit.org/show_bug.cgi?id=79219 Broke Chromium Win release build (Requested by bashi on #webkit). * CMakeLists.txt: * GNUmakefile.list.am: * Target.pri: * WebCore.gypi: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * websockets/WebSocket.cpp: (WebCore::WebSocket::didConnect): * websockets/WebSocketChannel.cpp: (WebCore::WebSocketChannel::connect): (WebCore::WebSocketChannel::fail): (WebCore::WebSocketChannel::processFrame): (WebCore::WebSocketChannel::sendFrame): * websockets/WebSocketChannel.h: * websockets/WebSocketDeflateFramer.cpp: Removed. * websockets/WebSocketDeflateFramer.h: Removed. 2012-02-20 Roland Steiner