<?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>286507</bug_id>
          
          <creation_ts>2025-01-24 14:42:48 -0800</creation_ts>
          <short_desc>[ iOS ] compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html is flakily failing.</short_desc>
          <delta_ts>2026-01-09 13:22:46 -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>Compositing</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Yasmin Karimi">y_karimi</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>ben_schwartz</cc>
    
    <cc>jbedard</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2089650</commentid>
    <comment_count>0</comment_count>
    <who name="Yasmin Karimi">y_karimi</who>
    <bug_when>2025-01-24 14:42:48 -0800</bug_when>
    <thetext>compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html

This test is flakily failing on iOS. 

HISTORY:

https://results.webkit.org/?suite=layout-tests&amp;test=compositing%2Fgeometry%2Ffixed-position-composited-page-scale-smaller-than-viewport.html

TEXT DIFF:

@@ -5,11 +5,12 @@
 
 PASS rectsBeforeStyleChange.length is 1
 PASS rectsBeforeStyleChange.length is rectsAfterStyleChange.length
-PASS rectsBeforeStyleChange[0].top is rectsAfterStyleChange[0].top
-PASS rectsBeforeStyleChange[0].left is rectsAfterStyleChange[0].left
+FAIL rectsBeforeStyleChange[0].top should be 47. Was 46.99999713897705.
+FAIL rectsBeforeStyleChange[0].left should be 74. Was 74.0000057220459.
 PASS rectsBeforeStyleChange[0].width is rectsAfterStyleChange[0].width
 PASS rectsBeforeStyleChange[0].height is rectsAfterStyleChange[0].height
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE

DIFF URL:

https://build.webkit.org/results/Apple-iPadOS-18-Simulator-Release-WK2-Tests/289317@main%20(266)/editing/selection/ios/selection-moves-between-composited-layers-pretty-diff.html

REPRODUCIBILITY:

I was able to reproduce this issue on the iOS 18.2 simulator at ToT using the following command:

run-webkit-tests --ios-simulator compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html --iterations 15</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2089651</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-01-24 14:42:58 -0800</bug_when>
    <thetext>&lt;rdar://problem/143593144&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2089664</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-01-24 16:10:25 -0800</bug_when>
    <thetext>Test gardening commit 289373@main (99cc0d3dc30a): &lt;https://commits.webkit.org/289373@main&gt;

Reviewed commits have been landed. Closing PR #39523 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2090741</commentid>
    <comment_count>3</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2025-01-30 08:41:17 -0800</bug_when>
    <thetext>I suspect this regressed at 282170@main -- that was a pretty big structural change that touches code paths related to this test. I believe that&apos;s most likely causing a race condition in a layout tests setting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2165151</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2025-12-11 10:40:18 -0800</bug_when>
    <thetext>This test appears to be an ImageDiff test, and I don&apos;t understand the original analysis from Yasmin.

Today, compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html only fails with ImageDiff, if you look at https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;test=compositing%2Fgeometry%2Ffixed-position-composited-page-scale-smaller-than-viewport.html. When you look into the diffs, it seems like we&apos;re not focusing correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2165155</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2025-12-11 10:47:44 -0800</bug_when>
    <thetext>Removing the &quot;Regression&quot; tag because I think this is about taking a snapshot too quickly. I have a speculative fix, which I will upload, but I haven&apos;t gotten a chance to validate because I don&apos;t have an iOS Simulator handy right this moment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2165156</commentid>
    <comment_count>6</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2025-12-11 10:51:03 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/55258</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2170745</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-09 13:22:43 -0800</bug_when>
    <thetext>Committed 305376@main (6c3e4e8af893): &lt;https://commits.webkit.org/305376@main&gt;

Reviewed commits have been landed. Closing PR #55258 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>