<?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>292414</bug_id>
          
          <creation_ts>2025-05-01 18:30:25 -0700</creation_ts>
          <short_desc>Prevent resizing of video poster image while waiting for initial frame</short_desc>
          <delta_ts>2026-01-08 07:30:45 -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>Media</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, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ahmad Saleem">ahmad.saleem792</reporter>
          <assigned_to name="Ahmad Saleem">ahmad.saleem792</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>jean-yves.avenard</cc>
    
    <cc>jer.noble</cc>
    
    <cc>karlcow</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2114586</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-05-01 18:30:25 -0700</bug_when>
    <thetext>Hi Team,

While trying to do clean-up in test expectation by looking into tests which I can import from WPT, I noticed that we fail subtest in `video-size.html`:

Blink Commit: https://source.chromium.org/chromium/chromium/src/+/048c5c63908271582e4a36376d8c0e783b07523b

Test Case Expectations:

PASS no &apos;src&apos; and no &apos;poster&apos;, with &apos;width&apos; and &apos;height&apos; attributes
PASS no &apos;src&apos; and no &apos;poster&apos;, with no &apos;width&apos; and &apos;height&apos; attributes, should be default size
PASS &apos;poster&apos; but no &apos;src&apos;, should be &apos;poster&apos; size
FAIL &apos;poster&apos; and &apos;src&apos;, should be &apos;poster&apos; size before play assert_equals: expected 76 but got 320 &lt;---- fails
PASS &apos;poster&apos; and &apos;src&apos;, should be &apos;video&apos; size after play
PASS &apos;poster&apos; and invalid &apos;src&apos;, should be &apos;poster&apos; size

This test was added by above commit.

WebKit Source: https://searchfox.org/wubkat/rev/31a2e7171c54c5f7d395d7cf02ef0a8b5fca47d6/Source/WebCore/rendering/RenderVideo.cpp#119

It might be possible to fix the test by merging Blink patch but raising so we can track and fix it eventually.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2116013</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-05-08 18:38:32 -0700</bug_when>
    <thetext>&lt;rdar://problem/150975269&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2168858</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2026-01-02 00:01:41 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/55994</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2170278</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-01-08 07:30:43 -0800</bug_when>
    <thetext>Committed 305281@main (91c550440fa8): &lt;https://commits.webkit.org/305281@main&gt;

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

    </bug>

</bugzilla>