<?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>260310</bug_id>
          
          <creation_ts>2023-08-16 15:07:43 -0700</creation_ts>
          <short_desc>REGRESSION(266775@main): [ iOS ] 2 tests under imported/w3c/web-platform-tests/css/cssom-view/ (scrollIntoView-sideways-rl-writing-mode-and-rtl-direction.html and scrollIntoView-sideways-rl-writing-mode.html) are constant text failures.</short_desc>
          <delta_ts>2026-04-06 11:52:27 -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>Text</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=260012</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ben Schwartz">ben_schwartz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mmaxfield</cc>
    
    <cc>ntim</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1971643</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2023-08-16 15:07:43 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-sideways-rl-writing-mode.html
imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-sideways-rl-writing-mode-and-rtl-direction.html

These tests are constant failures on iOS 16.

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fcss%2Fcssom-view%2FscrollIntoView-sideways-rl-writing-mode.html&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fcss%2Fcssom-view%2FscrollIntoView-sideways-rl-writing-mode-and-rtl-direction.html

TEXT DIFF (both equivalent):

-PASS scrollIntoView({&quot;block&quot;:&quot;start&quot;,&quot;inline&quot;:&quot;start&quot;})
-PASS scrollIntoView({&quot;block&quot;:&quot;start&quot;,&quot;inline&quot;:&quot;center&quot;})
-PASS scrollIntoView({&quot;block&quot;:&quot;start&quot;,&quot;inline&quot;:&quot;end&quot;})
-PASS scrollIntoView({&quot;block&quot;:&quot;center&quot;,&quot;inline&quot;:&quot;start&quot;})
-PASS scrollIntoView({&quot;block&quot;:&quot;center&quot;,&quot;inline&quot;:&quot;center&quot;})
-PASS scrollIntoView({&quot;block&quot;:&quot;center&quot;,&quot;inline&quot;:&quot;end&quot;})
-PASS scrollIntoView({&quot;block&quot;:&quot;end&quot;,&quot;inline&quot;:&quot;start&quot;})
-PASS scrollIntoView({&quot;block&quot;:&quot;end&quot;,&quot;inline&quot;:&quot;center&quot;})
-PASS scrollIntoView({&quot;block&quot;:&quot;end&quot;,&quot;inline&quot;:&quot;end&quot;})
+FAIL scrollIntoView({&quot;block&quot;:&quot;start&quot;,&quot;inline&quot;:&quot;start&quot;}) assert_approx_equals: scrollX expected -200 +/- 0.5 but got -185
+FAIL scrollIntoView({&quot;block&quot;:&quot;start&quot;,&quot;inline&quot;:&quot;center&quot;}) assert_approx_equals: scrollX expected -200 +/- 0.5 but got -185
+FAIL scrollIntoView({&quot;block&quot;:&quot;start&quot;,&quot;inline&quot;:&quot;end&quot;}) assert_approx_equals: scrollX expected -200 +/- 0.5 but got -185
+FAIL scrollIntoView({&quot;block&quot;:&quot;center&quot;,&quot;inline&quot;:&quot;start&quot;}) assert_approx_equals: scrollX expected -157.5 +/- 0.5 but got -143
+FAIL scrollIntoView({&quot;block&quot;:&quot;center&quot;,&quot;inline&quot;:&quot;center&quot;}) assert_approx_equals: scrollX expected -157.5 +/- 0.5 but got -143
+FAIL scrollIntoView({&quot;block&quot;:&quot;center&quot;,&quot;inline&quot;:&quot;end&quot;}) assert_approx_equals: scrollX expected -157.5 +/- 0.5 but got -143
+FAIL scrollIntoView({&quot;block&quot;:&quot;end&quot;,&quot;inline&quot;:&quot;start&quot;}) assert_approx_equals: scrollX expected -115 +/- 0.5 but got -100
+FAIL scrollIntoView({&quot;block&quot;:&quot;end&quot;,&quot;inline&quot;:&quot;center&quot;}) assert_approx_equals: scrollX expected -115 +/- 0.5 but got -100
+FAIL scrollIntoView({&quot;block&quot;:&quot;end&quot;,&quot;inline&quot;:&quot;end&quot;}) assert_approx_equals: scrollX expected -115 +/- 0.5 but got -100
 
DIFF URL (both equivalent):

https://build.webkit.org/results/Apple-iOS-16-Simulator-Release-GPUProcess-WK2-Tests/266776@main%20(2149)/imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-sideways-rl-writing-mode-and-rtl-direction-pretty-diff.html

REPRODUCIBILITY:

I was able to reproduce this bug on the iOS 16 Simulator ToT running the test as follows:

run-webkit-tests --clobber-old-results --ios-simulator --iterations 5 --verbose imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-sideways-rl-writing-mode-and-rtl-direction.html imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-sideways-rl-writing-mode.html

REGRESSION:

I was able to bisect a regression point using the flakiness dashboard. This test reproduced at 266775@main, but it did not reproduce at 266774@main. Changes at 266775@main appear to be directly related to this error, and is likely what caused the failure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1971644</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-08-16 15:07:53 -0700</bug_when>
    <thetext>&lt;rdar://problem/113990281&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1971652</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-08-16 15:14:43 -0700</bug_when>
    <thetext>Test gardening commit 266966@main (facb8c70c640): &lt;https://commits.webkit.org/266966@main&gt;

Reviewed commits have been landed. Closing PR #16762 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2197307</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2026-04-06 11:52:27 -0700</bug_when>
    <thetext>These are off by the scrollbar width (15px) because, on iOS, we don&apos;t respect the &quot;RTL scrollbars are on the left&quot; preference.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>