Closed Bug 369402 Opened 18 years ago Closed 18 years ago

SVG files with nested SVG elements and viewBox don't render at all

Categories

(Core :: SVG, defect)

defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: a.neumann, Unassigned)

References

()

Details

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a2pre) Gecko/20070205 Minefield/3.0a2pre Build Identifier: Build identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a2pre) Gecko/2007020504 Minefield/3.0a2pre In the given example, but many other examples, nothing is rendered. Just a blank white screen. Here are other examples that fail to render with the current build: http://www.carto.net/papers/svg/navigationTools/index.svg http://www.carto.net/papers/svg/gui/scrollbar/index.svg http://www.carto.net/papers/svg/gui/slider/index.svg and many more ... Reproducible: Always Steps to Reproduce: 1. load any of the specified examples 2. compare to the rendering in Opera9 or Batik 3. Actual Results: nothing renders Expected Results: I'd expect it to correctly render like in Opera9 or Batik.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20070205 Minefield/3.0a2pre It is a weird problem for after reloading a couple of times the image finally appears.
A regression window would be useful.
Seems to point to Bug 18333. If that doesn't make sense I'll retry. I reloaded the 2007-01-30:11 build 40 times but could not make it fail.
wfm Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a2pre) Gecko/20070205 Minefield/3.0a2pre ID:2007020504 [cairo]
Bug 18333 was correct. Between the page reloads you can see the page turn white. That did not happen in previous builds. There are two bugs involved. The first one was Bug 18333 which made it fail sometimes and then Bug 369011 which made it fail nearly always.
Flags: blocking1.9?
Attached image testcase (obsolete) —
Note that you don't need to reload to get the SVG to display, you only need to resize the browser window.
Attachment #254553 - Attachment is obsolete: true
The testcase and slider example were broken by the incremental XML checkin (checked building right before and after), the other two examples must have been broken by something else.
Hmm, the examples are actually failing randomly in the "after" build.
A combination of the patch I'm working on for bug 353172 and a patch to nsXMLContentSink.cpp (bug to be filed) fixes both the testcases and the carto.net examples.
Depends on: 353172
nsXMLContentSink bug is bug 370210.
Status: UNCONFIRMED → NEW
Depends on: 370210
Ever confirmed: true
Both dependencies now in, all testcases here work.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
Flags: in-testsuite?
Flags: in-testsuite+
Flags: blocking1.9?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: