<?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>29050</bug_id>
          
          <creation_ts>2009-09-08 14:03:09 -0700</creation_ts>
          <short_desc>PageUp in at top of multi-line text box scrolls page</short_desc>
          <delta_ts>2017-07-18 08:29:38 -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>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://gmail.com</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="jasneet">jasneet</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jasneet</cc>
    
    <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>145525</commentid>
    <comment_count>0</comment_count>
    <who name="jasneet">jasneet</who>
    <bug_when>2009-09-08 14:03:09 -0700</bug_when>
    <thetext>I Steps:
1. Login to gmail.com
2. reply to a message with a long thread
3. in the compose box, hit PageDown to page down a few times
4. hit PageUp a few times to go back to the top

II Issue:
Page up the top of the text box, and then when it&apos;s at the top, the next PageUp scrolls the window.
Expected : Page up to the top of the text box, then stop.

III Other Browsers:
IE7: ok
FF3: ok

IV Nightly tested : 48037

Bug in Chromium : http://code.google.com/p/chromium/issues/detail?id=20549</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145542</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2009-09-08 14:39:04 -0700</bug_when>
    <thetext>I believe that this is the expected behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145573</commentid>
    <comment_count>2</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2009-09-08 15:34:00 -0700</bug_when>
    <thetext>pageup/pagedown should have the same expected behavior as up/down, no? Why does it make sense for pageup to scroll the page, but no the up arrow?

Is this platform specific somehow? FWIW, Firefox on the Mac does not scroll the page on Mac or Windows.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145631</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2009-09-08 19:36:44 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; pageup/pagedown should have the same expected behavior as up/down, no?

On Mac OS X, up/down move the caret while pageup/pagedown do not.  These are quite different behaviors.  Pageup/pagedown are more equivalent to scrolling via the scrollwheel, which will scroll the area under the cursor until it reaches the top/bottom and then scroll the containing area.

&gt; Why does it make sense for pageup to scroll the page, but no the up arrow?

The caret clearly cannot move beyond the start of the editable region.  Pageup doesn&apos;t move the caret.

&gt; Is this platform specific somehow? FWIW, Firefox on the Mac does not scroll the
&gt; page on Mac or Windows.

It may be.  I don&apos;t know what the Windows behavior is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145647</commentid>
    <comment_count>4</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2009-09-08 21:59:28 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; pageup/pagedown should have the same expected behavior as up/down, no?
&gt; 
&gt; On Mac OS X, up/down move the caret while pageup/pagedown do not.  These are
&gt; quite different behaviors.  Pageup/pagedown are more equivalent to scrolling
&gt; via the scrollwheel, which will scroll the area under the cursor until it
&gt; reaches the top/bottom and then scroll the containing area.

Ah. Right. I forgot about that. I buy the argument that it&apos;s more like the scroll wheel on Mac. On Win/Linux pageup/pagedown do (should!) move the cursor, so it seems like it should match up/down. Seem reasonable?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>