[Webkit-unassigned] [Bug 16079] No way to view source for SVGImage resources in inspector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 16 08:22:15 PDT 2010


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


Alexei Masterov <masterov at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |masterov at chromium.org




--- Comment #6 from Alexei Masterov <masterov at chromium.org>  2010-09-16 08:22:15 PST ---
There are at least two ways that I know of that and SVG can be included into page:

1. <img="name.svg">

2. <object data="name.svg">

in the first case - the browser treats it as a static image and renders it as such, in the second case - the browser treats it as an organic part of the page, allows javascript that is inside it to interact with the page DOM, etc.

Inspector is consistent with the browser in a way that it displays the content of an SVG in both cases.  In the first case it treats it as an image, in the second case it treats it as a source file, allows javascript debugging, and includes it's DOM as a subtree into the DOM of the page.

Can you please provide a reason for why it would be beneficial to the end user to show more than what the browser sees in the first case?

-- 
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