<?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>126051</bug_id>
          
          <creation_ts>2013-12-19 21:52:48 -0800</creation_ts>
          <short_desc>Determination of horizontal overflow incorrect when direction:rtl</short_desc>
          <delta_ts>2022-09-26 08:09:15 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BlinkMergeCandidate</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>bdakin</cc>
    
    <cc>dino</cc>
    
    <cc>mitz</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>sanjoy.pal</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>961738</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2013-12-19 21:52:48 -0800</bug_when>
    <thetext>Consider merging https://chromium.googlesource.com/chromium/blink/+/a3908e1d2aec2bbb08b0d17bc15831b60a2ebf5f
if the bug exists in WebKit

Correction to layoutOverflowRect calculation in case of direction:rtl</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1900846</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-09-24 03:19:29 -0700</bug_when>
    <thetext>Change in RenderBlock.cpp -&gt; already done:

https://github.com/WebKit/WebKit/blob/48936aafec37b3b17c182f210f46e65bf6df9ba9/Source/WebCore/rendering/RenderBlock.cpp#L788

Change in RenderBox.cpp -&gt; It seems to be missing:

https://github.com/WebKit/WebKit/blob/cfb088fd56631a371a89d06697cfba363583d33d/Source/WebCore/rendering/RenderBox.cpp#L5261

and this as well is not changed:

https://github.com/WebKit/WebKit/blob/cfb088fd56631a371a89d06697cfba363583d33d/Source/WebCore/rendering/RenderBox.cpp#L5273

Also missing changes in RenderLayerScrollableArea.cpp:

https://github.com/WebKit/WebKit/blob/71af797599da12fa56a502b6f23501f31e289dc2/Source/WebCore/rendering/RenderLayerScrollableArea.cpp#L1071</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1900847</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-09-24 03:22:14 -0700</bug_when>
    <thetext>Although despite the changes missing - if I take the testcase added (new) from the Blink patch and change it into JSFiddle:

https://jsfiddle.net/kj9opwhL/show

Safari 16 passes all test.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>