WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
14142
SVG text gradients are busted on feature-branch
https://bugs.webkit.org/show_bug.cgi?id=14142
Summary
SVG text gradients are busted on feature-branch
Eric Seidel (no email)
Reported
2007-06-14 12:21:51 PDT
SVG text gradients are busted on feature-branch This happened due to my adding painting outline support. The one-line fix is thus: Index: rendering/SVGRootInlineBox.cpp =================================================================== --- rendering/SVGRootInlineBox.cpp (revision 23529) +++ rendering/SVGRootInlineBox.cpp (working copy) @@ -112,7 +113,7 @@ void SVGRootInlineBox::paint(RenderObject::PaintInfo& paintInfo, int tx, int ty) { - if (paintInfo.context->paintingDisabled()) + if (paintInfo.context->paintingDisabled() || paintInfo.phase != PaintPhaseForeground) return; FloatRect boundingBox; I don't think the root inline box needs to ever paint in any other phase. I also did a small amount of clenaup in this patch.
Attachments
the fix
(10.62 KB, patch)
2007-06-14 12:23 PDT
,
Eric Seidel (no email)
zimmermann
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2007-06-14 12:23:22 PDT
Created
attachment 15027
[details]
the fix
Nikolas Zimmermann
Comment 2
2007-06-14 12:26:31 PDT
Comment on
attachment 15027
[details]
the fix Looks good. Nice work!
Nikolas Zimmermann
Comment 3
2007-06-14 15:38:29 PDT
Landed in
r23533
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug