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)
Core
SVG
Tracking
()
RESOLVED
FIXED
People
(Reporter: a.neumann, Unassigned)
References
()
Details
Attachments
(1 file, 1 obsolete file)
457 bytes,
image/svg+xml
|
Details |
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.
Comment 1•18 years ago
|
||
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.
Comment 3•18 years ago
|
||
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.
Comment 4•18 years ago
|
||
wfm
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a2pre) Gecko/20070205 Minefield/3.0a2pre ID:2007020504 [cairo]
Comment 5•18 years ago
|
||
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.
Updated•18 years ago
|
Blocks: incrementalxml, 369011
Updated•18 years ago
|
Flags: blocking1.9?
Comment 6•18 years ago
|
||
Comment 7•18 years ago
|
||
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.
Comment 10•18 years ago
|
||
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.
Comment 11•18 years ago
|
||
nsXMLContentSink bug is bug 370210.
Comment 13•18 years ago
|
||
Both dependencies now in, all testcases here work.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Flags: in-testsuite?
Comment 14•18 years ago
|
||
Checked in reftest:
http://lxr.mozilla.org/seamonkey/source/layout/reftests/svg/nested-viewBox-01.svg
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.
Description
•