haikuwebkit/LayoutTests/plugins/mouse-events-fixedpos-expec...

8 lines
315 B
Plaintext
Raw Permalink Normal View History

Unreviewed gardening after r104803. Remove unnecessary "line 0" from expected files. * fast/dom/exception-getting-event-handler-expected.txt: * fast/dom/javascript-url-exception-isolation-expected.txt: * fast/dom/nested-script-exceptions-expected.txt: * fast/events/window-onerror13-expected.txt: * fast/events/window-onerror16-expected.txt: * fast/js/global-recursion-on-full-stack-expected.txt: * fast/js/uncaught-exception-line-number-expected.txt: * fast/xmlhttprequest/xmlhttprequest-recursive-sync-event-expected.txt: * http/tests/appcache/404-resource-expected.txt: * http/tests/appcache/manifest-redirect-expected.txt: * http/tests/appcache/origin-quota-expected.txt: * http/tests/appcache/resource-redirect-2-expected.txt: * http/tests/appcache/resource-redirect-expected.txt: * http/tests/appcache/wrong-signature-2-expected.txt: * http/tests/appcache/wrong-signature-expected.txt: * http/tests/history/cross-origin-replace-history-object-child-expected.txt: * http/tests/inspector/appcache/appcache-manifest-with-non-existing-file-expected.txt: * http/tests/loading/cross-origin-XHR-willLoadRequest-expected.txt: * http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked-expected.txt: * http/tests/security/cross-frame-access-getOwnPropertyDescriptor-expected.txt: * http/tests/security/mixedContent/insecure-plugin-in-iframe-expected.txt: * http/tests/security/window-onerror-exception-in-iframe-expected.txt: * http/tests/security/xss-DENIED-defineProperty-expected.txt: * http/tests/security/xss-eval-expected.txt: * http/tests/xmlhttprequest/workers/shared-worker-access-control-basic-get-fail-non-simple-expected.txt: * inspector/console/alert-toString-exception-expected.txt: * platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt: * platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt: * platform/qt/http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt: * platform/qt/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt: * platform/qt/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt: * platform/qt/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt: * platform/qt/http/tests/security/contentSecurityPolicy/xsl-img-blocked-expected.txt: * platform/qt/http/tests/security/cross-frame-access-put-expected.txt: * platform/qt/http/tests/security/xss-DENIED-xsl-document-securityOrigin-expected.txt: * platform/qt/http/tests/security/xssAuditor/script-tag-with-fancy-unicode-expected.txt: * platform/qt/plugins/document-open-expected.txt: * platform/qt/plugins/plugin-initiate-popup-window-expected.txt: * plugins/keyboard-events-expected.txt: * plugins/mouse-events-expected.txt: * plugins/mouse-events-fixedpos-expected.txt: * plugins/nested-plugin-objects-expected.txt: * plugins/netscape-destroy-plugin-script-objects-expected.txt: * plugins/npp-set-window-called-during-destruction-expected.txt: * storage/sql-error-codes-expected.txt: * storage/statement-error-callback-expected.txt: * storage/transaction-callback-exception-crash-expected.txt: Canonical link: https://commits.webkit.org/92972@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@104810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-01-12 12:19:21 +00:00
CONSOLE MESSAGE: PLUGIN: getFocusEvent
CONSOLE MESSAGE: PLUGIN: mouseDown at (50, 50)
CONSOLE MESSAGE: PLUGIN: mouseUp at (50, 50)
CONSOLE MESSAGE: PLUGIN: mouseDown at (60, 60)
CONSOLE MESSAGE: PLUGIN: mouseUp at (70, 60)
2010-01-20 Simon Fraser <simon.fraser@apple.com> Reviewed by Dave Hyatt. Hit testing on composited plugins is broken https://bugs.webkit.org/show_bug.cgi?id=33927 <rdar://problem/7559069> RenderWidget::paint()'s strategy of moving widgets at paint time, using tx and ty, was flawed because tx,ty are not always root-relative, especially when painting into compositing layers. This would move widgets to the wrong location, which caused hit testing issues. Widgets are usually positioned by layout. The one time this was not true was scrolling fixed-position elements, so we now reposition widgets after scrolling too. There was a related problem, which was that widgets expect the graphics context to be set up for root-relative painting. To fix this, adjust the CTM and the paintRect when the widget's frameRect is in a different coordinate system to the painting offset. Test: plugins/mouse-events-fixedpos.html * page/FrameView.cpp: (WebCore::FrameView::scrollPositionChanged): Update widget positions, to handle widgets in fixed position elements, but only if we're not already inside of layout. * platform/graphics/GraphicsContext.h: (WebCore::GraphicsContext::translate): Add a translate() convenience method that takes a FloatSize. * platform/graphics/IntSize.h: (WebCore::IntSize::isZero): Add a convenience method for testing for a zero size. * platform/mac/WidgetMac.mm: (WebCore::Widget::paint): Adjust a comment. * rendering/RenderWidget.cpp: (WebCore::RenderWidget::paint): Detect when the widget's frame is in a different coordinate system to painting, and adjust the CTM and paintRect in that case. Canonical link: https://commits.webkit.org/45036@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-01-21 20:19:10 +00:00
Tests for widget positions being correctly updated after scrolling. rdar://problem/7559069