<?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>34697</bug_id>
          
          <creation_ts>2010-02-07 23:28:06 -0800</creation_ts>
          <short_desc>Web Inspector: REGRESSION: Pressing up/down arrow key to change numeric value in CSS property takes focus away</short_desc>
          <delta_ts>2010-03-09 22:13:14 -0800</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>Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Pavel Feldman">pfeldman</assigned_to>
          <cc>bweinstein</cc>
    
    <cc>joepeck</cc>
    
    <cc>keishi</cc>
    
    <cc>pfeldman</cc>
    
    <cc>pmuellr</cc>
    
    <cc>rik</cc>
    
    <cc>timothy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>188575</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2010-02-07 23:28:06 -0800</bug_when>
    <thetext>When editing a numeric value of a CSS property, pressing the up arrow key or the down arrow key increments or decrements the value as expected, but then takes focuses the outline view on the left pane and terminates editing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197637</commentid>
    <comment_count>1</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-03-09 09:44:18 -0800</bug_when>
    <thetext>It works for me. Any particular use case?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197641</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2010-03-09 10:04:36 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; It works for me. Any particular use case?

For example, in &lt;data:text/html,%3Cbody%20style=%22margin-top:%201px%22%3E&gt;

editing the margin property of the body element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197654</commentid>
    <comment_count>3</comment_count>
      <attachid>50325</attachid>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-03-09 10:25:31 -0800</bug_when>
    <thetext>Created attachment 50325
[PATCH] Proposed fix.

I just removed elements panel&apos;s update that was revealing and selecting currently selected node (that was stealing focus due to generic implementation).
I am not sure why that update was there at the first place - we&apos;ve never reflected style updates in elements&apos; attributes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197716</commentid>
    <comment_count>4</comment_count>
      <attachid>50325</attachid>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2010-03-09 12:15:30 -0800</bug_when>
    <thetext>Comment on attachment 50325
[PATCH] Proposed fix.

Do we loose anything by not doing this anymore?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197731</commentid>
    <comment_count>5</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-03-09 13:02:34 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; (From update of attachment 50325 [details])
&gt; Do we loose anything by not doing this anymore?

I can&apos;t think of anything. Was hoping for you to bring something up.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197733</commentid>
    <comment_count>6</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2010-03-09 13:03:34 -0800</bug_when>
    <thetext>It might predate the time when we had the DOM attrs update when changed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197735</commentid>
    <comment_count>7</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-03-09 13:05:46 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; It might predate the time when we had the DOM attrs update when changed.

This must have been prior to 4.0.4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197890</commentid>
    <comment_count>8</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-03-09 22:13:14 -0800</bug_when>
    <thetext>Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebCore/ChangeLog
	M	WebCore/inspector/front-end/StylesSidebarPane.js
Committed r55764</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>50325</attachid>
            <date>2010-03-09 10:25:31 -0800</date>
            <delta_ts>2010-03-09 13:03:00 -0800</delta_ts>
            <desc>[PATCH] Proposed fix.</desc>
            <filename>style_edits</filename>
            <type>text/plain</type>
            <size>1553</size>
            <attacher name="Pavel Feldman">pfeldman</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
MWZlZTlhMi4uYzgxNDBmMyAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNCBAQAorMjAxMC0wMy0wOSAgUGF2ZWwgRmVsZG1h
biAgPHBmZWxkbWFuQGNocm9taXVtLm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkg
KE9PUFMhKS4KKworICAgICAgICBXZWIgSW5zcGVjdG9yOiBSRUdSRVNTSU9OOiBQcmVzc2luZyB1
cC9kb3duIGFycm93IGtleSB0byBjaGFuZ2UgbnVtZXJpYworICAgICAgICB2YWx1ZSBpbiBDU1Mg
cHJvcGVydHkgdGFrZXMgZm9jdXMgYXdheS4KKworICAgICAgICAqIGluc3BlY3Rv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nNwZWN0b3IuU3R5bGVQ
cm9wZXJ0eVRyZWVFbGVtZW50LnByb3RvdHlwZSA9IHsKIAogICAgICAgICAgICAgaWYgKHVwZGF0
ZUludGVyZmFjZSkKICAgICAgICAgICAgICAgICBzZWxmLnVwZGF0ZUFsbCh0cnVlKTsKLQotICAg
ICAgICAgICAgaWYgKCFzZWN0aW9uLnJ1bGUpCi0gICAgICAgICAgICAgICAgV2ViSW5zcGVjdG9y
LnBhbmVscy5lbGVtZW50cy50cmVlT3V0bGluZS51cGRhdGUoKTsKICAgICAgICAgfQogCiAgICAg
ICAgIEluamVjdGVkU2NyaXB0QWNjZXNzLmdldCh0aGlzLnN0eWxlLmluamVjdGVkU2NyaXB0SWQp
LmFwcGx5U3R5bGVUZXh0KHRoaXMuc3R5bGUuaWQsIHN0eWxlVGV4dC50cmltKCksIHRoaXMubmFt
ZSwgY2FsbGJhY2spOwo=
</data>
<flag name="review"
          id="33433"
          type_id="1"
          status="+"
          setter="timothy"
    />
    <flag name="commit-queue"
          id="33458"
          type_id="3"
          status="+"
          setter="pfeldman"
    />
          </attachment>
      

    </bug>

</bugzilla>