WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
35104
Web Inspector: REGRESSION (Safari 4.0.5-TOT): Copying from the Content tab in Resources includes line numbers
https://bugs.webkit.org/show_bug.cgi?id=35104
Summary
Web Inspector: REGRESSION (Safari 4.0.5-TOT): Copying from the Content tab in...
Anthony Ricaud
Reported
2010-02-18 09:26:52 PST
If you copy the content of a resource in the Resources panel, you'll get the line numbers with it and that's not useful.
Attachments
[PATCH] Proposed change.
(1.74 KB, patch)
2010-03-30 10:11 PDT
,
Pavel Feldman
timothy
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Timothy Hatcher
Comment 1
2010-02-18 09:37:40 PST
Not only does it include the numbers, but any non-visible 50 line chunk shows an empty 49 rows then all the content is on the 50th row.
Timothy Hatcher
Comment 2
2010-02-18 09:38:48 PST
We can use css counters to generate the content. Generated content is not copied.
mitz
Comment 3
2010-03-29 20:36:46 PDT
<
rdar://problem/7807274
>
Pavel Feldman
Comment 4
2010-03-29 22:57:22 PDT
CSS did not work due to bucketing. I'll just introduce a separate table for line numbers and use absolute positioning for both: line and content tables. We are only using text viewer in absolute positioning since there are headers / content tabs in resources panel anyways.
Pavel Feldman
Comment 5
2010-03-30 10:11:27 PDT
Created
attachment 52050
[details]
[PATCH] Proposed change. It turned out to be more problematic than I thought: - I can't make a separate column for line numbers since row height might be defined by the messages in the right column - I can't make text transparent to the clipboard So I am re-using model's ability to copy its content...
Pavel Feldman
Comment 6
2010-03-30 10:43:19 PDT
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/ChangeLog M WebCore/inspector/front-end/TextViewer.js Committed
r56799
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug