<?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>208182</bug_id>
          
          <creation_ts>2020-02-25 00:08:45 -0800</creation_ts>
          <short_desc>[GTK] fast/repaint/backgroundSizeRepaint.html is failing since r255477</short_desc>
          <delta_ts>2026-04-26 06:55:13 -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>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="Diego Pino">dpino</reporter>
          <assigned_to name="Diego Pino">dpino</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1622522</commentid>
    <comment_count>0</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-02-25 00:08:45 -0800</bug_when>
    <thetext>Test is failing since r255477 ([Cairo] Use CAIRO_FILTER_BILINEAR for image tile painting with InterpolationQuality::Default https://bugs.webkit.org/show_bug.cgi?id=201326):

  * fast/repaint/backgroundSizeRepaint.html [ ImageOnlyFailure ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2183305</commentid>
    <comment_count>1</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2026-02-20 00:35:19 -0800</bug_when>
    <thetext>This test is a flaky test both for WPE and GTK:

https://results.webkit.org/?suite=layout-tests&amp;test=fast%2Frepaint%2FbackgroundSizeRepaint.html&amp;platform=GTK&amp;platform=WPE

It&apos;s possible to reproduce the flaky failure by running the test at least 2 times:

```
$ Tools/Scripts/run-webkit-tests --no-show-results --no-new-test-results --no-sample-on-timeout --results-directory layout-test-results --debug-rwt-logging --no-retry-failures --release --gtk --force --repeat 2 fast/repaint/backgroundSizeRepaint.html
```

When the test fails, the results show that the actual image is not fully completed (compared to the expected image).

Introducing a delay of at least 1000 ms before calling `notifyDone`, makes the test always pass (no flakies):

```diff
diff --git a/LayoutTests/fast/repaint/backgroundSizeRepaint.html b/LayoutTests/fast/repaint/backgroundSizeRepaint.html
index 5c241cb6c6c8..853b42d0e3ad 100644
--- a/LayoutTests/fast/repaint/backgroundSizeRepaint.html
+++ b/LayoutTests/fast/repaint/backgroundSizeRepaint.html
@@ -12,8 +12,10 @@
         {
            document.getElementById(&apos;a&apos;).style.height = &apos;40px&apos;;
            document.getElementById(&apos;b&apos;).style.height = &apos;60px&apos;;
-            if (window.testRunner)
-                testRunner.notifyDone();
+           setTimeout(() =&gt; {
+               if (window.testRunner)
+                   testRunner.notifyDone();
+           }, 1000);
         }
     &lt;/script&gt;
 &lt;/head&gt;
```

It doesn&apos;t seem other ports need a delay.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2204586</commentid>
    <comment_count>2</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2026-04-26 04:03:19 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/63628</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2204600</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-26 06:54:51 -0700</bug_when>
    <thetext>Committed 312038@main (a776836d2d8d): &lt;https://commits.webkit.org/312038@main&gt;

Reviewed commits have been landed. Closing PR #63628 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2204601</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-04-26 06:55:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/175622397&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>