<?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>310211</bug_id>
          
          <creation_ts>2026-03-18 13:56:40 -0700</creation_ts>
          <short_desc>[macOS] imported/w3c/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue/background_shorthand_css_relative_url.html is a flaky image diff</short_desc>
          <delta_ts>2026-04-06 12:27:01 -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 De La Toba">d_delatoba</reporter>
          <assigned_to name="Diego De La Toba">d_delatoba</assigned_to>
          <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>2191447</commentid>
    <comment_count>0</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-03-18 13:56:40 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue/background_shorthand_css_relative_url.html is a flaky image diff on macOS


HISTORY:
https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fwebvtt%2Frendering%2Fcues-with-video%2Fprocessing-model%2Fselectors%2Fcue%2Fbackground_shorthand_css_relative_url.html


DIFF:
https://build.webkit.org/results/Apple-Tahoe-Debug-AppleSilicon-WK2-Tests/309478@main%20(1348)/imported/w3c/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue/background_shorthand_css_relative_url-diffs.html


IMAGES:
See attached.


REPRODUCTION:
I was able to reproduce this on macOS Tahoe Release and Debug with the following:

run-webkit-tests --no-build --no-retry --no-show-results --exit-after-n-failures=1 --expect-pass --iterations=469 --force -f --debug imported/w3c/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/selectors/cue/background_shorthand_css_relative_url.html

I am going to mark expectations as imageOnlyFailure Pass while this pends investigation</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2191449</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2026-03-18 13:56:51 -0700</bug_when>
    <thetext>&lt;rdar://problem/172860387&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2191451</commentid>
    <comment_count>2</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-03-18 14:00:14 -0700</bug_when>
    <thetext>Test gardening pull request: https://github.com/WebKit/WebKit/pull/60882</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2191455</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-03-18 14:06:35 -0700</bug_when>
    <thetext>Test gardening commit 309501@main (ca7657d68d24): &lt;https://commits.webkit.org/309501@main&gt;

Reviewed commits have been landed. Closing PR #60882 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2191466</commentid>
    <comment_count>4</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-03-18 14:37:01 -0700</bug_when>
    <thetext>The test is flaky because the onplaying event handler called takeScreenshot() immediately after pausing the video. This results in a blank screenshot (no cue text visible) compared against the reference that always shows the text due to video rendering times being slower on debug and release builds under load. The fix is to add a 10ms delay before the screenshot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2191472</commentid>
    <comment_count>5</comment_count>
    <who name="Diego De La Toba">d_delatoba</who>
    <bug_when>2026-03-18 14:39:49 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/60886</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2197335</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-06 12:26:59 -0700</bug_when>
    <thetext>Committed 310661@main (c580efceede5): &lt;https://commits.webkit.org/310661@main&gt;

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

    </bug>

</bugzilla>