<?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>135037</bug_id>
          
          <creation_ts>2014-07-17 18:25:20 -0700</creation_ts>
          <short_desc>iOS WK2: visibleBounds should return the unobscured content rect</short_desc>
          <delta_ts>2014-07-17 19:08:35 -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>WebKit2</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="Enrica Casucci">enrica</reporter>
          <assigned_to name="Enrica Casucci">enrica</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1023166</commentid>
    <comment_count>0</comment_count>
    <who name="Enrica Casucci">enrica</who>
    <bug_when>2014-07-17 18:25:20 -0700</bug_when>
    <thetext>This is needed to properly clip the position of the menu bar.

&lt;rdar://problem/15980307&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023167</commentid>
    <comment_count>1</comment_count>
      <attachid>235106</attachid>
    <who name="Enrica Casucci">enrica</who>
    <bug_when>2014-07-17 18:28:09 -0700</bug_when>
    <thetext>Created attachment 235106
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023177</commentid>
    <comment_count>2</comment_count>
    <who name="Enrica Casucci">enrica</who>
    <bug_when>2014-07-17 18:58:20 -0700</bug_when>
    <thetext>After discussing this with Ben, we agreed that this is not the right thing to do here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023178</commentid>
    <comment_count>3</comment_count>
    <who name="Enrica Casucci">enrica</who>
    <bug_when>2014-07-17 18:58:54 -0700</bug_when>
    <thetext>After discussing this with Ben, we agreed that this is not the right thing to do here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023182</commentid>
    <comment_count>4</comment_count>
      <attachid>235106</attachid>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2014-07-17 19:08:35 -0700</bug_when>
    <thetext>Comment on attachment 235106
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=235106&amp;action=review

&gt; Source/WebKit2/UIProcess/ios/WKContentViewInteraction.mm:365
&gt; +- (CGRect)visibleBounds
&gt; +{
&gt; +    return [self unobscuredContentRect];
&gt; +}

Can you add a comment explaining how &quot;visibleBounds&quot; is used by UIKit?
I think the name is quite bad, but we don&apos;t have much freedom here since this is part of the UIView&apos;s interface.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>235106</attachid>
            <date>2014-07-17 18:28:09 -0700</date>
            <delta_ts>2014-07-17 19:08:35 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>clipcallout.txt</filename>
            <type>text/plain</type>
            <size>1452</size>
            <attacher name="Enrica Casucci">enrica</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDE3MTIwOSkKKysrIFNvdXJjZS9XZWJLaXQyL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLD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
ZS9XZWJLaXQyL1VJUHJvY2Vzcy9pb3MvV0tDb250ZW50Vmlld0ludGVyYWN0aW9uLm1tCSh3b3Jr
aW5nIGNvcHkpCkBAIC0zNTksNiArMzU5LDExIEBAIC0gKENHUmVjdCl1bm9ic2N1cmVkQ29udGVu
dFJlY3QKICAgICByZXR1cm4gX3BhZ2UtPnVub2JzY3VyZWRDb250ZW50UmVjdCgpOwogfQogCist
IChDR1JlY3QpdmlzaWJsZUJvdW5kcworeworICAgIHJldHVybiBbc2VsZiB1bm9ic2N1cmVkQ29u
dGVudFJlY3RdOworfQorCiAtICh2b2lkKW9ic2VydmVWYWx1ZUZvcktleVBhdGg6KE5TU3RyaW5n
ICopa2V5UGF0aCBvZk9iamVjdDooaWQpb2JqZWN0IGNoYW5nZTooTlNEaWN0aW9uYXJ5ICopY2hh
bmdlIGNvbnRleHQ6KHZvaWQgKiljb250ZXh0CiB7CiAgICAgQVNTRVJUKFtrZXlQYXRoIGlzRXF1
YWxUb1N0cmluZzpAInRyYW5zZm9ybSJdKTsK
</data>

          </attachment>
      

    </bug>

</bugzilla>