<?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>23249</bug_id>
          
          <creation_ts>2009-01-12 05:49:22 -0800</creation_ts>
          <short_desc>display does not jump horizontally to a name anchor</short_desc>
          <delta_ts>2013-09-30 11:47:17 -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>Accessibility</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>116046</dup_id>
          
          <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>j-k-a-p</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jcraig</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>105324</commentid>
    <comment_count>0</comment_count>
    <who name="">j-k-a-p</who>
    <bug_when>2009-01-12 05:49:22 -0800</bug_when>
    <thetext>With a page broader than the current window and containing a name anchor like &lt;a name=&quot;expecttoseethisanchor&quot;&gt; (e.g. attached to a location somewhere in a paragraph in the right corner of a table), calling it&apos;s URL with one of those anchors like 
http://www.mysite.xy/broadpage.html#expecttoseethisanchor
will just move the page vertically, not horizontally to that anchor.
If the anchor is outside of the current view, this behaviour is disturbing and annoying.

(Apple&apos;s Safari ONCE had this correct behaviour (as the only browser, if I remember), then lost part of this functionality (the anchor only appeared in the top right corner with a left-to-right script where it once appeared in the top left corner, as it should) but also Safari it dropped some time ago.)

I would expect a jump both vertical and horizontal, at least if the anchor position is outside the current window. The jump could be reduced to a move sufficient to completely display the paragraph or a different entity, like a table cell or else.

So, the position of the anchor should also represent the script direction (left-to-right or right-to-left) of the surrounding context.

Sorry, English is not my mother tongue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105337</commentid>
    <comment_count>1</comment_count>
    <who name="">j-k-a-p</who>
    <bug_when>2009-01-12 10:44:13 -0800</bug_when>
    <thetext>Firefox 3.0.5 has the intermediate behaviour, still wrong:
The anchor appears in the top-right corner (with a regular left-to-right script), so the text is still outside the window.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105775</commentid>
    <comment_count>2</comment_count>
      <attachid>26727</attachid>
    <who name="">j-k-a-p</who>
    <bug_when>2009-01-14 13:27:13 -0800</bug_when>
    <thetext>Created attachment 26727
very broad page, having an anchor (probably) outside the window.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>934703</commentid>
    <comment_count>3</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2013-09-30 11:47:17 -0700</bug_when>
    <thetext>New repro link.
https://bug-23249-attachments.webkit.org/attachment.cgi?id=26727#expecttoseethisanchor

Duping to bug 116046 which covers fragment ID links in more detail.

*** This bug has been marked as a duplicate of bug 116046 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>26727</attachid>
            <date>2009-01-14 13:27:13 -0800</date>
            <delta_ts>2009-01-14 13:27:13 -0800</delta_ts>
            <desc>very broad page, having an anchor (probably) outside the window.</desc>
            <filename>broadpage.html</filename>
            <type>text/html</type>
            <size>1063</size>
            <attacher>j-k-a-p</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgVHJhbnNpdGlvbmFs
Ly9FTiI+CjxodG1sPgo8aGVhZD4KCTxtZXRhIGh0d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