Bug 11580 - REGRESSION(r16284-r16288): SVGs embedded in an XHTML document do not repaint properly, position wrong, corrupt general HTML rendering
Summary: REGRESSION(r16284-r16288): SVGs embedded in an XHTML document do not repaint ...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 420+
Hardware: Mac (PowerPC) OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.bitxtender.com/webkitsvg/
Keywords: NeedsReduction, Regression
Depends on:
Blocks:
 
Reported: 2006-11-12 03:32 PST by dzuelke
Modified: 2007-06-12 11:09 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dzuelke 2006-11-12 03:32:54 PST
http://www.bitxtender.com/webkitsvg/ contains description, test cases and screenshots.

As mentioned there, this used to work some time ago, I'd say four weeks or so. If necessary, I could try to find the specific nightly where it broke, but I'm very busy at the moment, sorry, so I couldn't do that today. Let me know if you need any further assistance.

Tested with the latest nightly, of course ;)

P.S: the situation where the SVG graphics are rendered black only happens on localhost for me, not if I load the page from the above web server or via file:///.
Comment 1 Mark Rowe (bdash) 2006-11-12 05:26:07 PST
It seems very likely that the problem is caused by r16286 (<http://trac.webkit.org/projects/webkit/changeset/16286>).

I've built both r16285 and r16286, and the problem does not occur in the former.  For a reduced test case that demonstrates a repaint issue that appears to have been introduced at the same revision, take a look at <http://trac.webkit.org/projects/webkit/browser/trunk/LayoutTests/svg/custom/simpleCDF.xml?format=raw>.  The paragraph saying "You should see an SVG image above this!" does not appear until you make a selection that includes it.  It will then disappear when you resize the window, etc.
Comment 2 Eric Seidel (no email) 2006-11-12 13:42:09 PST
IIRC, this regressed about a month before I left apple.  It's been broken long before the NSGraphicsContext change... I think.
Comment 3 Mark Rowe (bdash) 2006-11-12 14:01:14 PST
Eric, if you download r16284.dmg">http://nightly.webkit.org/builds/WebKit-SVN-r16284.dmg and r16288.dmg">http://nightly.webkit.org/builds/WebKit-SVN-r16288.dmg you can quite clearly see that it regressed between r16284 and r16288.  I checked out and built r16285 and r16286 manually, and they show the same behaviour:  working in the former, broken in the latter.
Comment 4 Eric Seidel (no email) 2006-11-12 14:22:08 PST
Sorry, I looked at your comment to quickly.  Yes, if the build shows that's the regression... then that's the regression. ;)
Comment 5 dzuelke 2006-12-11 23:30:51 PST
I just checked it again with r18159, and it works flawlessly now, this bug may probably be closed.
Comment 6 Eric Seidel (no email) 2007-06-12 11:09:37 PDT
Looks fixed.