Bug 6724

Summary: Text copied from Web Inspector is different from actual text
Product: WebKit Reporter: Johan Bergström <bugs>
Component: Web Inspector (Deprecated)Assignee: Matt Lilek <dev+webkit>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs, dev+webkit, ian, joost, mitz
Priority: P3    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
patch
none
revised patch timothy: review+

Johan Bergström
Reported 2006-01-23 02:41:30 PST
1. When selecting everything within a field (for example style -> css elements applied) with command-a the above fields also gets included. Not sure if this is correct behaviour? 2. When copy pasting css data from style some data gets stripped. For example: "background-image: none;" turns into "background-imagenone"
Attachments
patch (3.51 KB, patch)
2006-11-30 11:09 PST, Matt Lilek
no flags
revised patch (3.59 KB, patch)
2006-11-30 13:00 PST, Matt Lilek
timothy: review+
Joost de Valk (AlthA)
Comment 1 2006-01-23 05:16:53 PST
Confirmed, marking P3 as i don't think this is an issue blocking anything.
Timothy Hatcher
Comment 2 2006-01-29 01:05:28 PST
This happens because we use CSS generated content for the style markup and WebKit doesn't copy generated content. We could move off of generated content or preferably make generated content copyable.
Matt Lilek
Comment 3 2006-11-30 11:09:03 PST
Created attachment 11685 [details] patch This patch moves the markup from css to javascript until bug 7562 is fixed.
mitz
Comment 4 2006-11-30 11:30:14 PST
Comment on attachment 11685 [details] patch - margin: 0.3em; I think it would be nice to preserve the space. You can put the "=" sign in its own span say with class "relation" and use the same margin rule for it.
Matt Lilek
Comment 5 2006-11-30 13:00:24 PST
Created attachment 11691 [details] revised patch revised patch with mitz's suggestion
Timothy Hatcher
Comment 6 2006-11-30 16:22:36 PST
Landed in r17953.
Note You need to log in before you can comment on or make changes to this bug.