<?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>72803</bug_id>
          
          <creation_ts>2011-11-19 10:38:47 -0800</creation_ts>
          <short_desc>Web Inspector: remove addStyleClass, removeStyleClass and hasStyleClass</short_desc>
          <delta_ts>2014-12-13 15:55:28 -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>0</everconfirmed>
          <reporter name="Timothy Hatcher">timothy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>apavlov</cc>
    
    <cc>burg</cc>
    
    <cc>bweinstein</cc>
    
    <cc>joepeck</cc>
    
    <cc>keishi</cc>
    
    <cc>loislo</cc>
    
    <cc>pfeldman</cc>
    
    <cc>pmuellr</cc>
    
    <cc>rik</cc>
    
    <cc>yurys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>506422</commentid>
    <comment_count>0</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2011-11-19 10:38:47 -0800</bug_when>
    <thetext>These functions are just thin wrappers around classList now. We should use classList cirectly instead of these functions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>510391</commentid>
    <comment_count>1</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2011-11-28 18:36:09 -0800</bug_when>
    <thetext>I did TreeOutline in r101313 because I had done it internally on a copy we use in Safari and I upstreamed our changes.

We should do the rest of the Inspector next!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>510400</commentid>
    <comment_count>2</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2011-11-28 18:59:21 -0800</bug_when>
    <thetext>There was a comment in:
&lt;http://webkit.org/b/55758&gt; Web Inspector: Make use of element.classList in utilities.js

&gt; Bug 56096 fixes the first item, and we have agreed with pfeldman that the
&gt; add/remove/hasStyleClass improve readability, so the classList methods will
&gt; not be inlined. We have reached our primary goal of getting rid of regex-based
&gt; operations and the className property modification (which is slow).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>510401</commentid>
    <comment_count>3</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2011-11-28 19:05:09 -0800</bug_when>
    <thetext>I think reducing out own wrappers is a good idea, especially if they are so thin as these are.

We should also remove Function.prototype.bind, which is native in JSC at least not sure about V8.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>510402</commentid>
    <comment_count>4</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2011-11-28 19:05:36 -0800</bug_when>
    <thetext>reducing our own*</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>