<?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>85309</bug_id>
          
          <creation_ts>2012-05-01 14:15:43 -0700</creation_ts>
          <short_desc>supportsExpandedScrollbars() should check for the method we actually call rather than a related method</short_desc>
          <delta_ts>2012-05-02 12:47:47 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Beth Dakin">bdakin</reporter>
          <assigned_to name="Beth Dakin">bdakin</assigned_to>
          <cc>andersca</cc>
    
    <cc>bdakin</cc>
    
    <cc>darin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>613662</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2012-05-01 14:15:43 -0700</bug_when>
    <thetext>In ScrollbarThemeMac, supportsExpandedScrollbars() checked if NSScrollerImp responds to isExpanded. The result of this function is used to determine whether or not is it safe to call setExpanded. We should just check for setExpanded instead.

&lt;rdar://problem/11065691&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>613668</commentid>
    <comment_count>1</comment_count>
      <attachid>139678</attachid>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2012-05-01 14:18:11 -0700</bug_when>
    <thetext>Created attachment 139678
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614247</commentid>
    <comment_count>2</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2012-05-02 06:42:32 -0700</bug_when>
    <thetext>Thanks Anders! http://trac.webkit.org/changeset/115823</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614464</commentid>
    <comment_count>3</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2012-05-02 11:19:58 -0700</bug_when>
    <thetext>This patch was wrong! The selector is setExpanded: with the colon, not setExpanded without a colon!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614479</commentid>
    <comment_count>4</comment_count>
    <who name="Anders Carlsson">andersca</who>
    <bug_when>2012-05-02 11:35:53 -0700</bug_when>
    <thetext>Oops!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>614549</commentid>
    <comment_count>5</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2012-05-02 12:46:52 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; This patch was wrong! The selector is setExpanded: with the colon, not setExpanded without a colon!

Thanks for noticing that! Added the colon here: http://trac.webkit.org/changeset/115868</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>139678</attachid>
            <date>2012-05-01 14:18:11 -0700</date>
            <delta_ts>2012-05-01 15:51:29 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>for-review.txt</filename>
            <type>text/plain</type>
            <size>1590</size>
            <attacher name="Beth Dakin">bdakin</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDExNTc0Nyk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KysgU291cmNlL1dlYkNvcmUvcGxhdGZvcm0vbWFjL1Njcm9sbGJhclRoZW1lTWFjLm1tCSh3
b3JraW5nIGNvcHkpCkBAIC0xNDAsNyArMTQwLDcgQEAgc3RhdGljIFNjcm9sbGJhckJ1dHRvbnNQ
bGFjZW1lbnQgZ0J1dHRvbgogc3RhdGljIGJvb2wgc3VwcG9ydHNFeHBhbmRlZFNjcm9sbGJhcnMo
KQogewogICAgIC8vIEZJWE1FOiBUaGlzIGlzIHRlbXBvcmFyeSB1bnRpbCBhbGwgcGxhdGZvcm1z
IHRoYXQgc3VwcG9ydCBTY3JvbGxiYXJQYWludGVyIHN1cHBvcnQgdGhpcyBwYXJ0IG9mIHRoZSBB
UEkuCi0gICAgc3RhdGljIGJvb2wgZ2xvYmFsU3VwcG9ydHNFeHBhbmRlZFNjcm9sbGJhcnMgPSBb
TlNDbGFzc0Zyb21TdHJpbmcoQCJOU1Njcm9sbGVySW1wIikgaW5zdGFuY2VzUmVzcG9uZFRvU2Vs
ZWN0b3I6QHNlbGVjdG9yKGlzRXhwYW5kZWQpXTsKKyAgICBzdGF0aWMgYm9vbCBnbG9iYWxTdXBw
b3J0c0V4cGFuZGVkU2Nyb2xsYmFycyA9IFtOU0NsYXNzRnJvbVN0cmluZyhAIk5TU2Nyb2xsZXJJ
bXAiKSBpbnN0YW5jZXNSZXNwb25kVG9TZWxlY3RvcjpAc2VsZWN0b3Ioc2V0RXhwYW5kZWQpXTsK
ICAgICByZXR1cm4gZ2xvYmFsU3VwcG9ydHNFeHBhbmRlZFNjcm9sbGJhcnM7CiB9CiAK
</data>
<flag name="review"
          id="145351"
          type_id="1"
          status="+"
          setter="andersca"
    />
          </attachment>
      

    </bug>

</bugzilla>