<?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>25392</bug_id>
          
          <creation_ts>2009-04-25 02:54:02 -0700</creation_ts>
          <short_desc>Wrong window size/position for &apos;target&apos; links after JavaScript size/position change</short_desc>
          <delta_ts>2009-04-25 02:54:02 -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>New Bugs</component>
          <version>525.x (Safari 3.2)</version>
          <rep_platform>Mac (PowerPC)</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://links.open.ac.uk/window/</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="Neville Hillyer">n.hillyer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>118826</commentid>
    <comment_count>0</comment_count>
    <who name="Neville Hillyer">n.hillyer</who>
    <bug_when>2009-04-25 02:54:02 -0700</bug_when>
    <thetext>I have tested with Safari Version 3.2.1 (5525.27.1) and iCab 4.5.0 on a 733 MHz G4 with OS X 10.5.6 but I doubt that it is restricted to this hardware/software.

WebKit has an annoying habit of using an earlier window size and position for target=_blank etc links following a JavaScript change of size or position.

The page at http://links.open.ac.uk/ uses &lt;base target=&quot;_blank&quot;&gt; but once JavaScript has been used to alter window size or position Sari and iCab stop inheriting size/position for its links. Safari appears to use window parameters from an earlier &apos;session&apos;. This is totally repeatable.

To test go to javascript:moveTo(10,10);resizeTo(1000,700) and then hit one of the links at http://links.open.ac.uk/ - restart the browser and try the same link again without first using JavaScript to position or resize the window.

Facilities and information at the following may be helpful:
http://links.open.ac.uk/window/
http://www.macosxhints.com/article.php?story=20090421162146583</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>