<?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>43655</bug_id>
          
          <creation_ts>2010-08-06 17:13:01 -0700</creation_ts>
          <short_desc>selection on a display:none iframe returns different value than Gecko</short_desc>
          <delta_ts>2012-01-10 12:19:27 -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>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>
          <dependson>45049</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ojan Vafai">ojan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ayg</cc>
    
    <cc>eric</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>261583</commentid>
    <comment_count>0</comment_count>
      <attachid>63785</attachid>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-08-06 17:13:01 -0700</bug_when>
    <thetext>Created attachment 63785
test case

See test case. Opera/WebKit agree. Not sure who is wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261584</commentid>
    <comment_count>1</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-08-06 17:16:09 -0700</bug_when>
    <thetext>https://bugzilla.mozilla.org/show_bug.cgi?id=585229

On further thought, the WebKit/Opera behavior seems more correct to me, but I&apos;ll leave this open till we hear from Mozilla folk. Would be nice to be consistent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>371830</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-03-22 17:02:11 -0700</bug_when>
    <thetext>See bug 45049.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>518534</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-12-09 14:35:55 -0800</bug_when>
    <thetext>Seems related to bug 40338.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>518590</commentid>
    <comment_count>4</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2011-12-09 15:41:13 -0800</bug_when>
    <thetext>http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2010-August/027767.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>518598</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-12-09 15:47:24 -0800</bug_when>
    <thetext>See: http://dvcs.w3.org/hg/editing/raw-file/tip/editing.html

I&apos;ve filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=15134 asking for spec clarification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>533286</commentid>
    <comment_count>6</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-01-10 12:16:32 -0800</bug_when>
    <thetext>IE, Webkit, and Opera all seem to agree that every Window has a Selection.  This is what the spec says too.  Gecko&apos;s behavior is more complicated and in the minority, so I haven&apos;t changed the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>533288</commentid>
    <comment_count>7</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-01-10 12:19:27 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; IE, Webkit, and Opera all seem to agree that every Window has a Selection.  This is what the spec says too.  Gecko&apos;s behavior is more complicated and in the minority, so I haven&apos;t changed the spec.

Thanks! Won&apos;t fix this bug per Aryeh&apos;s spec.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>63785</attachid>
            <date>2010-08-06 17:13:01 -0700</date>
            <delta_ts>2010-08-06 17:13:01 -0700</delta_ts>
            <desc>test case</desc>
            <filename>scratch.html</filename>
            <type>text/html</type>
            <size>237</size>
            <attacher name="Ojan Vafai">ojan</attacher>
            
              <data encoding="base64">PGlmcmFtZSBpZD1mb28gc3R5bGU9ImRpc3BsYXk6bm9uZSI+PC9pZnJhbWU+CjxzY3JpcHQ+Ci8v
IFdlYktpdC9PcGVyYSByZXR1cm4gYW4gZW1wdHkgU2VsZWN0aW9uIG9iamVjdCBhbmQgR2Vja28g
cmV0dXJucyBudWxsIApzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgewogIGFsZXJ0KGRvY3VtZW50Lmdl
dEVsZW1lbnRCeUlkKCdmb28nKS5jb250ZW50V2luZG93LmdldFNlbGVjdGlvbigpKQp9LCAwKTsK
PC9zY3JpcHQ+
</data>

          </attachment>
      

    </bug>

</bugzilla>