[Webkit-unassigned] [Bug 16396] HTML in Inspector window cannot be copied from DOM view

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 14 11:04:29 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16396





------- Comment #9 from ddkilzer at webkit.org  2007-12-14 11:04 PDT -------
(In reply to comment #7)
> Clicking an item in the DOM tree or breadcrumb then typing Command-C will copy
> it.
> 
> Are you copying with the context menu or the keyboard command? You might be
> hitting bug 16439.

Yes, I was using the contextual menu in the DOM view, not the breadcrumbs.

If we were to allow selections in the DOM view (as in Comment #8), there should
be a way to expand all nodes under a given node (or the copy operation should
just magically pick them up without being expanded, IMO).

Right now, I'm using a JavaScript alert dialog to get the current DOM for a
page, e.g.:

1. Load page.
2. Type in URL:  javascript:alert(document.documentElement.outerHTML)
3. Hit Enter
4. Click in alert sheet.
5. Hit Cmd-A to select all.
6. Hit Cmd-C to copy the HTML.
7. Click "Okay" to dismiss the alert sheet.
8. Paste your HTML somewhere useful.


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



More information about the webkit-unassigned mailing list