<?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>50352</bug_id>
          
          <creation_ts>2010-12-01 14:57:13 -0800</creation_ts>
          <short_desc>[Chromium] New test fast/dom/vertical-scrollbar-in-rtl fater 73063</short_desc>
          <delta_ts>2010-12-07 00:59:49 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Victor Wang">victorw</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hyatt</cc>
    
    <cc>mrobinson</cc>
    
    <cc>ojan</cc>
    
    <cc>victorw</cc>
    
    <cc>xji</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>315889</commentid>
    <comment_count>0</comment_count>
    <who name="Victor Wang">victorw</who>
    <bug_when>2010-12-01 14:57:13 -0800</bug_when>
    <thetext>Test added by patch http://trac.webkit.org/changeset/73063. Maybe need scrollbar related change in chromium side?
fast/dom/vertical-scrollbar-in-rtl.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>315895</commentid>
    <comment_count>1</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2010-12-01 15:13:00 -0800</bug_when>
    <thetext>I&apos;m not sure I understand what this test is doing. 

Here&apos;s the diff for chromium-linux:
@@ -4,6 +4,6 @@
 zoom in and out preserve scroll position: Success
 resize preserves scroll position: Success
 wheel scroll preserves vertical scroll position: Success
-KeyDown HOME move y-scroll position to bottom for RTL page: 0
+KeyDown HOME move y-scroll position to bottom for RTL page: -3425
 KeyDown END move y-scroll position to bottom for RTL page: 0
 selectAll selects all document: Success

I see the following comment in the test above the failing line:
          // Not using assert equal here since the behavior is different in each port. 
          // For example, in Mac, HOME/END key reset both x and y scroll position. 
          // In Chromium, HOME/END key only reset y scroll position, and x scroll position is preserved.

1. This describes the correct Chromium linux/win behavior, it&apos;s a bug that Chromium-mac does not do the Mac behavior with home/end.
2. Not sure what causes us to get the wrong value on linux. Maybe something RTL related?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>315960</commentid>
    <comment_count>2</comment_count>
    <who name="Xiaomei Ji">xji</who>
    <bug_when>2010-12-01 17:28:47 -0800</bug_when>
    <thetext>Following is from dhyatt. So, we will just rebaseline it for now.

dhyatt: xji: technically home/end are complicated, since in a vertical document they should be moving the x value and not the y value

xji: dhyatt: is the y-value expected in http://build.webkit.org/results/Chromium%20Win%20Release%20(Tests)/r73063%20(5875)/fast/dom/vertical-scrollbar-in-rtl-diff.txt ?
[4:45pm] dhyatt: xji: technically it&apos;s wrong, but just check in bad results for now
[4:45pm] dhyatt: xji: we have to teach home/end that they&apos;re moving the x-axis in vertical text documents and not the y
[4:45pm] dhyatt: there&apos;s a separate bug about that though
[4:45pm] dhyatt: so just check in the bad results
[4:46pm] xji: dhyatt: got it.
[4:46pm] dhyatt: mac just gets lucky since it resets the opposite axis position
[4:46pm] dhyatt: but really it&apos;s not doing it right either</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>316364</commentid>
    <comment_count>3</comment_count>
    <who name="Xiaomei Ji">xji</who>
    <bug_when>2010-12-02 12:52:04 -0800</bug_when>
    <thetext>Committed r73186: &lt;http://trac.webkit.org/changeset/73186&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>316481</commentid>
    <comment_count>4</comment_count>
    <who name="Xiaomei Ji">xji</who>
    <bug_when>2010-12-02 15:56:12 -0800</bug_when>
    <thetext>HOME/END result is not consistent across different run.
we probably should disable the HOME/END test for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>317267</commentid>
    <comment_count>5</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2010-12-04 06:23:26 -0800</bug_when>
    <thetext>Committed r73328: &lt;http://trac.webkit.org/changeset/73328&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>318065</commentid>
    <comment_count>6</comment_count>
    <who name="Xiaomei Ji">xji</who>
    <bug_when>2010-12-06 22:49:47 -0800</bug_when>
    <thetext>horizontal-scrollbar-in-rtl result is correct for GTK.

HOME/END for vertical writing mode is not implemented, so, the result might be flaky.

But many other results in vertical-scrollbar-in-rtl in GTK are not correct either. Is vertical writing mode completely implemented in GTK?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>318083</commentid>
    <comment_count>7</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2010-12-07 00:59:49 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; horizontal-scrollbar-in-rtl result is correct for GTK.
&gt; HOME/END for vertical writing mode is not implemented, so, the result might be flaky.
&gt; But many other results in vertical-scrollbar-in-rtl in GTK are not correct either. Is vertical writing mode completely implemented in GTK?

As far as I know characters rendered in vertical writing mode have the incorrect orientation, so I believe this feature is not implemented currently</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>