diff --git a/layout/reftests/svg/text/reftest.list b/layout/reftests/svg/text/reftest.list index 175e6ad817e..7ab8aebfa85 100644 --- a/layout/reftests/svg/text/reftest.list +++ b/layout/reftests/svg/text/reftest.list @@ -29,7 +29,6 @@ default-preferences pref(svg.text.css-frames.enabled,true) == simple-fill-color.svg simple-fill-color-ref.html HTTP(../..) == simple-fill-gradient.svg simple-fill-gradient-ref.svg == simple-fill-none.svg simple.svg -== simple-pointer-events.svg simple.svg == simple-multiple-dx.svg simple-multiple-dx-ref.html == simple-multiple-dx-2.svg simple-multiple-dx.svg diff --git a/layout/reftests/svg/text/simple-pointer-events.svg b/layout/reftests/svg/text/simple-pointer-events.svg deleted file mode 100644 index 6c572418bb9..00000000000 --- a/layout/reftests/svg/text/simple-pointer-events.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - hello - diff --git a/layout/svg/nsSVGTextFrame2.cpp b/layout/svg/nsSVGTextFrame2.cpp index 7c2c253d708..138e8b406ba 100644 --- a/layout/svg/nsSVGTextFrame2.cpp +++ b/layout/svg/nsSVGTextFrame2.cpp @@ -3333,7 +3333,7 @@ nsSVGTextFrame2::ReflowSVG() uint16_t hitTestFlags = nsSVGUtils::GetGeometryHitTestFlags(run.mFrame); if ((hitTestFlags & SVG_HIT_TEST_FILL) || - run.mFrame->StyleSVG()->mFill.mType != eStyleSVGPaintType_None) { + run.mFrame->StyleSVG()->mFill.mType == eStyleSVGPaintType_None) { runFlags |= TextRenderedRun::eIncludeFill; } if ((hitTestFlags & SVG_HIT_TEST_STROKE) ||