<?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>38429</bug_id>
          
          <creation_ts>2010-05-02 03:33:55 -0700</creation_ts>
          <short_desc>Web Inspector: cycle through tag name / attributes / new attribute on Tab.</short_desc>
          <delta_ts>2010-12-20 23:12:11 -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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pavel Feldman">pfeldman</reporter>
          <assigned_to name="Pavel Feldman">pfeldman</assigned_to>
          <cc>bweinstein</cc>
    
    <cc>commit-queue</cc>
    
    <cc>joepeck</cc>
    
    <cc>rik</cc>
    
    <cc>timothy</cc>
    
    <cc>yurys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>219811</commentid>
    <comment_count>0</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-05-02 03:33:55 -0700</bug_when>
    <thetext>I am usually adding attributes using following scenario:

- Double click on node to start editing random attribute
- Press Tab several times to get the &apos;add attribute&apos; placeholder

but sometimes, I am doing an extra click and editing mode vanishes. I think it&apos;d be better to cycle to the edit tag name instead. In the future, we can consider moving to the child nodes / text, but before that is ready, this seems to be a reasonable change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>219813</commentid>
    <comment_count>1</comment_count>
      <attachid>54867</attachid>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-05-02 03:38:24 -0700</bug_when>
    <thetext>Created attachment 54867
[PATCH] Proposed change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>225338</commentid>
    <comment_count>2</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2010-05-13 09:17:54 -0700</bug_when>
    <thetext>My concerns are that this creates an inconsistency with editing
Styles. The patch is simple enough. Have you been running into this
problem frequently?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>225356</commentid>
    <comment_count>3</comment_count>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-05-13 10:08:43 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; My concerns are that this creates an inconsistency with editing
&gt; Styles. The patch is simple enough. Have you been running into this
&gt; problem frequently?

Try tabbing through the attributes. First you reach new attr placeholder, then editing stops and subsequent tab kicks focus out of dom tree. Now you need mouse...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241031</commentid>
    <comment_count>4</comment_count>
      <attachid>54867</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-06-21 18:08:26 -0700</bug_when>
    <thetext>Comment on attachment 54867
[PATCH] Proposed change.

This patch has been up for review for a while, but you don&apos;t seem to have convinced the inspector front-end folks that this is worth doing.  Feel free to renominate for review when you have them onboard.

By the way, what is the testing strategy for the inspector front-end code?  There don&apos;t seem to be any test changes in this patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241114</commentid>
    <comment_count>5</comment_count>
      <attachid>54867</attachid>
    <who name="Pavel Feldman">pfeldman</who>
    <bug_when>2010-06-21 22:42:00 -0700</bug_when>
    <thetext>Comment on attachment 54867
[PATCH] Proposed change.

Adam, I don&apos;t think we should jump in and start r-ing each-others changes, should we. Or at least please tell me that this game has started and explain the rules so that I was prepared :) Now that Joe self-nominated to review this, I would expect him to do r+/- when he has a minute.  You cose a strange way of reminding him about the issue though.

Btw, please define &quot;the front-end folks&quot; - you must have some insight into the state of the front-end development I am missing. Ok, enough sarcasm...

&gt; By the way, what is the testing strategy for the inspector front-end code?  There don&apos;t seem to be any test changes in this patch.

You are right, we don&apos;t have tests for keyboard traversal since they are tricky to implement. In fact, we did not have tests at all a year ago. I think we are doing fair amount of progress in adding them now.

Anyways, Joe, I am not insisting on landing this, but I did run into the problem several times when tried adding attributes using keyboard only on elements with &gt; 5 existing attributes. Feel free to r- should you have concerns. I surely can get this reviewed / landed locally, but I&apos;d like to get your Ok given that you&apos;ve been working on keyboard traversal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241131</commentid>
    <comment_count>6</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2010-06-21 23:03:04 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (From update of attachment 54867 [details])
&gt; Now that Joe self-nominated to review this, I would expect him to do r+/-
&gt; when he has a minute.  You c[h]ose a strange way of reminding him about the
&gt; issue though.

Sorry that I forgot about this! When it was marked as read in my inbox I lost it!

I see nothing wrong with the patch, I just felt that it didn&apos;t go far enough.
I raised a concern on IRC (not logged here). I think that tabbed navigation
should be consistent in both the DOM Tree and the Styles Sidebar. What I mean
by that is:

  (1) tabbing in both should cycle or
  (2) tabbing in both should traverse the entire section. Traversing the
      entire section would be tag names, attributes, text nodes alike.
      And through all selectors, properties &amp; values.

Would you agree with that, or do you feel this consistency is not
as important as I think? I have respect for your front-end decisions,
as you have made a number of good decisions based on realistic
user scenarios (Edit as HTML for example).


&gt; In fact, we did not have tests at all a year ago. I think we are doing
&gt; fair amount of progress in adding them now.

Very true.


&gt; Anyways, Joe, I am not insisting on landing this, but I did run into the
&gt; problem several times when tried adding attributes using keyboard
&gt; only on elements with &gt; 5 existing attributes. Feel free to r- should
&gt; you have concerns. I surely can get this reviewed / landed locally,
&gt; but I&apos;d like to get your Ok given that you&apos;ve been working on keyboard
&gt; traversal.

This patch in no way detriments the UI, and it can only improve things
for users who run into the issue. So I will approve it.

One last question. Do you run into the same problem when editing styles?
Or is that not the case because you don&apos;t have to go through the &quot;tab
to create&quot; song and dance because you can just double click to create
a new property?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>262993</commentid>
    <comment_count>7</comment_count>
      <attachid>54867</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-08-10 22:06:10 -0700</bug_when>
    <thetext>Comment on attachment 54867
[PATCH] Proposed change.

This patch has been in pending-commit for a while.  Shall we commit it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>324794</commentid>
    <comment_count>8</comment_count>
      <attachid>54867</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-12-20 22:29:07 -0800</bug_when>
    <thetext>Comment on attachment 54867
[PATCH] Proposed change.

Going to try at least. :)  I think this bug mostly just needs to be closed as abandoned.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>324854</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-12-20 23:10:14 -0800</bug_when>
    <thetext>The commit-queue encountered the following flaky tests while processing attachment 54867:

inspector/extensions-eval.html bug 51383 (author: caseq@chromium.org)
The commit-queue is continuing to process your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>324855</commentid>
    <comment_count>10</comment_count>
      <attachid>54867</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-12-20 23:12:05 -0800</bug_when>
    <thetext>Comment on attachment 54867
[PATCH] Proposed change.

Clearing flags on attachment: 54867

Committed r74397: &lt;http://trac.webkit.org/changeset/74397&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>324856</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-12-20 23:12:11 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>54867</attachid>
            <date>2010-05-02 03:38:24 -0700</date>
            <delta_ts>2010-12-20 23:12:05 -0800</delta_ts>
            <desc>[PATCH] Proposed change.</desc>
            <filename>cycle_attrs</filename>
            <type>text/plain</type>
            <size>1973</size>
            <attacher name="Pavel Feldman">pfeldman</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYkNvcmUvQ2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXgg
OWYzODE0MC4uNGRlM2YwZSAxMDA2NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2Vi
Q29yZS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNCBAQAorMjAxMC0wNS0wMiAgUGF2ZWwgRmVsZG1h
biAgPHBmZWxkbWFuQGNocm9taXVtLm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkg
KE9PUFMhKS4KKworICAgICAgICBXZWIgSW5zcGVjdG9yOiBjeWNsZSB0aHJvdWdoIHRhZyBuYW1l
IC8gYXR0cmlidXRlcyAvIG5ldyBhdHRyaWJ1dGUgb24gVGFiLgorCisgICAgICAgIGh0dHBzOi8v
YnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0zODQyOQorCisgICAgICAgICogaW5zcGVj
dG9yL2Zyb250LWVuZC9FbGVtZW50c1RyZWVPdXRsaW5lLmpzOgorICAgICAgICAoV2ViSW5zcGVj
dG9yLkVsZW1lbnRzVHJlZUVsZW1lbnQucHJvdG90eXBlLl90YWdOYW1lRWRpdGluZ0NvbW1pdHRl
ZC5tb3ZlVG9OZXh0QXR0cmlidXRlSWZOZWVkZWQpOgorCiAyMDEwLTA0LTI4ICBQYXZlbCBGZWxk
bWFuICA8cGZlbGRtYW5AY2hyb21pdW0ub3JnPgogCiAgICAgICAgIFJldmlld2VkIGJ5IFRpbW90
aHkgSGF0Y2hlci4K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AgICAgICAgICAgICAgICAgICBlbHNlCisgICAgICAgICAgICAgICAg
ICAgICAgICBtb3ZlVG9UYWdOYW1lID0gdHJ1ZTsKKyAgICAgICAgICAgICAgICB9CiAgICAgICAg
ICAgICB9CiAgICAgICAgIH0KIApAQCAtMTA4Myw4ICsxMDg3LDEwIEBAIFdlYkluc3BlY3Rvci5F
bGVtZW50c1RyZWVFbGVtZW50LnByb3RvdHlwZSA9IHsKIAogICAgICAgICBmdW5jdGlvbiBtb3Zl
VG9OZXh0QXR0cmlidXRlSWZOZWVkZWQoKQogICAgICAgICB7Ci0gICAgICAgICAgICBpZiAobW92
ZURpcmVjdGlvbiAhPT0gImZvcndhcmQiKQorICAgICAgICAgICAgaWYgKG1vdmVEaXJlY3Rpb24g
IT09ICJmb3J3YXJkIikgeworICAgICAgICAgICAgICAgIHRoaXMuX2FkZE5ld0F0dHJpYnV0ZSgp
OwogICAgICAgICAgICAgICAgIHJldHVybjsKKyAgICAgICAgICAgIH0KIAogICAgICAgICAgICAg
dmFyIGF0dHJpYnV0ZXMgPSB0aGlzLnJlcHJlc2VudGVkT2JqZWN0LmF0dHJpYnV0ZXM7CiAgICAg
ICAgICAgICBpZiAoYXR0cmlidXRlcy5sZW5ndGggPiAwKQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>