From 4f55fcf37a48ebe62d204e0ddb0b43a73135c82c Mon Sep 17 00:00:00 2001 From: Shawn Wilsher Date: Thu, 11 Jun 2009 16:57:09 -0700 Subject: [PATCH] Backed out changeset f3fcd36fcbd1 (bug 119061) for linux orange. --- content/svg/content/test/Makefile.in | 1 - .../content/test/test_moveUnderMouse.xhtml | 97 ------------------- .../reftests/svg/dynamic-move-under-mouse.svg | 71 -------------- layout/reftests/svg/reftest.list | 1 - layout/svg/base/src/nsSVGOuterSVGFrame.cpp | 9 -- 5 files changed, 179 deletions(-) delete mode 100644 content/svg/content/test/test_moveUnderMouse.xhtml delete mode 100644 layout/reftests/svg/dynamic-move-under-mouse.svg diff --git a/content/svg/content/test/Makefile.in b/content/svg/content/test/Makefile.in index dcdf8bccee70..f03403536fa5 100644 --- a/content/svg/content/test/Makefile.in +++ b/content/svg/content/test/Makefile.in @@ -62,7 +62,6 @@ _TEST_FILES = \ test_valueLeaks.xhtml \ viewport-helper.svg \ test_viewport.html \ - test_moveUnderMouse.xhtml \ $(NULL) libs:: $(_TEST_FILES) diff --git a/content/svg/content/test/test_moveUnderMouse.xhtml b/content/svg/content/test/test_moveUnderMouse.xhtml deleted file mode 100644 index 3c00df234bc5..000000000000 --- a/content/svg/content/test/test_moveUnderMouse.xhtml +++ /dev/null @@ -1,97 +0,0 @@ - - - Test :hover styling when an element is moved under the mouse - - - - - - - - - - - - - - - - You user-agent does not have the necessary support for synthesizing mouse events. - - - You moved your mouse! That can cause this test to appear to fail. - - -

-

-
-
-
-
- - diff --git a/layout/reftests/svg/dynamic-move-under-mouse.svg b/layout/reftests/svg/dynamic-move-under-mouse.svg deleted file mode 100644 index e348ad4058fd..000000000000 --- a/layout/reftests/svg/dynamic-move-under-mouse.svg +++ /dev/null @@ -1,71 +0,0 @@ - - - Test :hover styling when an element is moved under the mouse - - - - - - - - - - You user-agent does not have the necessary support for synthesizing mouse events. - - - You moved your mouse! That can cause this test to appear to fail. - - diff --git a/layout/reftests/svg/reftest.list b/layout/reftests/svg/reftest.list index d97499f0491e..23c92f9b9604 100644 --- a/layout/reftests/svg/reftest.list +++ b/layout/reftests/svg/reftest.list @@ -30,7 +30,6 @@ include moz-only/reftest.list == dynamic-link-style-01.svg pass.svg == dynamic-marker-01.svg pass.svg == dynamic-mask-contents-01.svg pass.svg -skip == dynamic-move-under-mouse.svg pass.svg # disabled for now - needs privileges == dynamic-pattern-01.svg pass.svg == dynamic-pattern-02.svg pass.svg == dynamic-pattern-contents-01.svg pass.svg diff --git a/layout/svg/base/src/nsSVGOuterSVGFrame.cpp b/layout/svg/base/src/nsSVGOuterSVGFrame.cpp index 021609e9a117..7d1790160afd 100644 --- a/layout/svg/base/src/nsSVGOuterSVGFrame.cpp +++ b/layout/svg/base/src/nsSVGOuterSVGFrame.cpp @@ -53,7 +53,6 @@ #include "nsIObjectLoadingContent.h" #include "nsIInterfaceRequestorUtils.h" #include "nsSVGMatrix.h" -#include "nsIViewManager.h" class nsSVGMutationObserver : public nsStubMutationObserver { @@ -628,10 +627,6 @@ nsSVGOuterSVGFrame::GetType() const void nsSVGOuterSVGFrame::InvalidateCoveredRegion(nsIFrame *aFrame) { - // Make sure elements styled by :hover get updated if they've moved under or - // out from under the mouse: - PresContext()->PresShell()->GetViewManager()->SynthesizeMouseMove(PR_FALSE); - nsISVGChildFrame *svgFrame = do_QueryFrame(aFrame); if (!svgFrame) return; @@ -643,10 +638,6 @@ nsSVGOuterSVGFrame::InvalidateCoveredRegion(nsIFrame *aFrame) PRBool nsSVGOuterSVGFrame::UpdateAndInvalidateCoveredRegion(nsIFrame *aFrame) { - // Make sure elements styled by :hover get updated if they've moved under or - // out from under the mouse: - PresContext()->PresShell()->GetViewManager()->SynthesizeMouseMove(PR_FALSE); - nsISVGChildFrame *svgFrame = do_QueryFrame(aFrame); if (!svgFrame) return PR_FALSE;