<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>35104</bug_id>
          
          <creation_ts>2010-02-18 09:26:52 -0800</creation_ts>
          <short_desc>Web Inspector: REGRESSION (Safari 4.0.5-TOT): Copying from the Content tab in Resources includes line numbers</short_desc>
          <delta_ts>2010-03-30 10:43:19 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector (Deprecated)</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anthony Ricaud">rik</reporter>
          <assigned_to name="Pavel Feldman">pfeldman</assigned_to>
          <cc>bweinstein</cc>
    
    <cc>joepeck</cc>
    
    <cc>keishi</cc>
    
    <cc>mitz</cc>
    
    <cc>pfeldman</cc>
    
    <cc>pmuellr</cc>
    
    <cc>rik</cc>
    
    <cc>squidinc</cc>
    
    <cc>timothy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>191632</commentid>
    <comment_count>0</comment_count>
    <who name="Anthony Ricaud">rik</who>
    <bug_when>2010-02-18 09:26:52 -0800</bug_when>
    <thetext>If you copy the content of a resource in the Resources panel, you&apos;ll get the line numbers with it and that&apos;s not useful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>191639</commentid>
    <comment_count>1</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2010-02-18 09:37:40 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>191640</commentid>
    <comment_count>2</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2010-02-18 09:38:48 -0800</bug_when>
    <thetext>We can use css counters to generate the content. Generated content is not copied.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>205824</commentid>
    <comment_count>3</comment_count>
    <who name="">mitz</who>
    <bug_when>2010-03-29 20:36:46 -0700</bug_when>
    <thetext>&lt;rdar://problem/7807274&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>205859</commentid>
    <comment_count>4</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-03-29 22:57:22 -0700</bug_when>
    <thetext>CSS did not work due to bucketing. I&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206053</commentid>
    <comment_count>5</comment_count>
      <attachid>52050</attachid>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-03-30 10:11:27 -0700</bug_when>
    <thetext>Created attachment 52050
[PATCH] Proposed change.

It turned out to be more problematic than I thought:
- I can&apos;t make a separate column for line numbers since row height might be defined by the messages in the right column
- I can&apos;t make text transparent to the clipboard

So I am re-using model&apos;s ability to copy its content...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>206070</commentid>
    <comment_count>6</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-03-30 10:43:19 -0700</bug_when>
    <thetext>Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebCore/ChangeLog
	M	WebCore/inspector/front-end/TextViewer.js
Committed r56799</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>52050</attachid>
            <date>2010-03-30 10:11:27 -0700</date>
            <delta_ts>2010-03-30 10:28:58 -0700</delta_ts>
            <desc>[PATCH] Proposed change.</desc>
            <filename>copy_no_lines</filename>
            <type>text/plain</type>
            <size>1782</size>
            <attacher name="Pavel Feldman">pfeldman</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
Y2E5MGNjZS4uOTg4YzlkNSAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNiBAQAorMjAxMC0wMy0zMCAgUGF2ZWwgRmVsZG1h
biAgPHBmZWxkbWFuQGNocm9taXVtLm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkg
KE9PUFMhKS4KKworICAgICAgICBXZWIgSW5zcGVjdG9yOiBDb3B5aW5nIGZyb20gdGhlIENvbnRl
bnQgdGFiIGluIFJlc291cmNlcyBpbmNsdWRlcyBsaW5lIG51bWJlcnMuCisKKyAgICAgICAgaHR0
cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTM1MTA0CisKKyAgICAgICAgKiBp
bnNwZWN0b3IvZnJvbnQtZW5kL1RleHRWaWV3ZXIuanM6CisgICAgICAgIChXZWJJbnNwZWN0b3Iu
VGV4dFZpZXdlcik6CisgICAgICAgIChXZWJJbnNwZWN0b3IuVGV4dFZpZXdlci5wcm90b3R5cGUu
X2JlZm9yZUNvcHkpOgorICAgICAgICAoV2ViSW5zcGVjdG9yLlRleHRWaWV3ZXIucHJvdG90eXBl
Ll9jb3B5KToKKwogMjAxMC0wMy0zMCAgQWxleGFuZGVyIFBhdmxvdiAgPGFwYXZsb3ZAY2hyb21p
dW0ub3JnPgogCiA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bihlKQorICAgIHsKKyAgICAgICAgZS5wcmV2ZW50RGVmYXVsdCgpOworICAgIH0s
CisKKyAgICBfY29weTogZnVuY3Rpb24oZSkKKyAgICB7CisgICAgICAgIHZhciByYW5nZSA9IHRo
aXMuX2dldFNlbGVjdGlvbigpOworICAgICAgICB2YXIgdGV4dCA9IHRoaXMuX3RleHRNb2RlbC5j
b3B5UmFuZ2UocmFuZ2UpOworICAgICAgICBJbnNwZWN0b3JGcm9udGVuZEhvc3QuY29weVRleHQo
dGV4dCk7CisgICAgICAgIGUucHJldmVudERlZmF1bHQoKTsKKyAgICB9LAorCiAgICAgYmVnaW5V
cGRhdGVzOiBmdW5jdGlvbihlbmFibGVkKQogICAgIHsKICAgICAgICAgdGhpcy5fcGFpbnRDb2Fs
ZXNjaW5nTGV2ZWwrKzsK
</data>
<flag name="review"
          id="35439"
          type_id="1"
          status="+"
          setter="timothy"
    />
          </attachment>
      

    </bug>

</bugzilla>