<?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>223214</bug_id>
          
          <creation_ts>2021-03-15 14:02:04 -0700</creation_ts>
          <short_desc>Likely copy/paste error in CSSProperty.js</short_desc>
          <delta_ts>2021-04-08 16:56:46 -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</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>inspector-bugzilla-changes</cc>
    
    <cc>nvasilyev</cc>
    
    <cc>pangle</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1739656</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2021-03-15 14:02:04 -0700</bug_when>
    <thetext>This looks pretty suspicious:

Error: COPY_PASTE_ERROR (CWE-398): [#def48]
webkitgtk-2.31.1/Source/WebInspectorUI/UserInterface/Models/CSSProperty.js:363: original: &quot;styleTextRange.startLine&quot; looks like the original copy.
webkitgtk-2.31.1/Source/WebInspectorUI/UserInterface/Models/CSSProperty.js:364: copy_paste_error: &quot;startLine&quot; in &quot;styleTextRange.startLine&quot; looks like a copy-paste error.
webkitgtk-2.31.1/Source/WebInspectorUI/UserInterface/Models/CSSProperty.js:364: remediation: Should it say &quot;endLine&quot; instead?
#  362|   
#  363|           var startLine = this._styleSheetTextRange.startLine - styleTextRange.startLine;
#  364|-&gt;         var endLine = this._styleSheetTextRange.endLine - styleTextRange.startLine;
#  365|   
#  366|           var startColumn = this._styleSheetTextRange.startColumn;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1742458</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-03-22 14:03:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/75707881&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>