Backed out changeset cbf7a8294eae for lack of proper "r=".

This commit is contained in:
Cameron McCormack 2013-02-17 19:26:09 +11:00
parent d4d856c1a5
commit ee663f3053
3 changed files with 1 additions and 9 deletions

View File

@ -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

View File

@ -1,7 +0,0 @@
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg">
<text x="100" y="100" style="font: 16px sans-serif; pointer-events: none">hello</text>
</svg>

Before

Width:  |  Height:  |  Size: 255 B

View File

@ -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) ||