[Webkit-unassigned] [Bug 22986] Loading external SVG using <image> doesn't have transparent background

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 1 04:45:30 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=22986


Nikolas Zimmermann <zimmermann at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zimmermann at kde.org




--- Comment #7 from Nikolas Zimmermann <zimmermann at kde.org>  2011-06-01 04:45:30 PST ---
(In reply to comment #6)
> Jeff Schiller. Sorry, I really made a mistake.

Another note regarding testcase from Konstantin:
The expected result is indeed a red background, and the word "TEST" twice, but only if the <object> is correctly closed:

<object width="100" height="100" type="image/svg+xml" data="1.svg"></object>

In the testcase you'll see:
<object width="100" height="100" type="image/svg+xml" data="1.svg"/>

When saving Konstantins testcase as .html file Firefox and WebKit will only show the word "TEST" once.
This is because the second div is not present in the DOM tree at all, because self-closing tags aren't valid in pure HTML.

If you properly close both <object></object>s then the testcase will show "TEXT" two times, both in Firefox and WebKit.

We still need a testcase for the original bug reported by Dustin.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list