<?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>196215</bug_id>
          
          <creation_ts>2019-03-25 14:13:49 -0700</creation_ts>
          <short_desc>Web Inspector: Green highlight disappears from edited properties when adding a new property</short_desc>
          <delta_ts>2019-04-14 19:02:39 -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>All</rep_platform>
          <op_sys>All</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="Nikita Vasilyev">nvasilyev</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>inspector-bugzilla-changes</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1521010</commentid>
    <comment_count>0</comment_count>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2019-03-25 14:13:49 -0700</bug_when>
    <thetext># STEPS TO REPRODUCE:
1. inspect any page (https://devinrousso.com/demo/WebKit/test.html)
2. open the Elements tab
3. select any element that has at least one rule with at least two properties
4. disable (e.g. comment out) the first property of the rule with at least two properties
5. add a new property immediately after the first property
 =&gt; the green &quot;modified&quot; border/highlight next to the first property disappears

NOTES:
The problem is that properties get recreated (when they shouldn&apos;t be) and the recreated properties no longer have initialState.

Technically, this broke with https://trac.webkit.org/changeset/243256/webkit. However, reverting it is unlikely to be the correct solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1521022</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-03-25 14:25:01 -0700</bug_when>
    <thetext>&lt;rdar://problem/49229170&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1527131</commentid>
    <comment_count>2</comment_count>
    <who name="Nikita Vasilyev">nvasilyev</who>
    <bug_when>2019-04-14 19:02:39 -0700</bug_when>
    <thetext>This should be addressed by the patch in https://bugs.webkit.org/show_bug.cgi?id=195264#c17.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>