<?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>225648</bug_id>
          
          <creation_ts>2021-05-11 04:15:09 -0700</creation_ts>
          <short_desc>Many canvas/media aspect-ratio failures</short_desc>
          <delta_ts>2021-05-18 04:16:18 -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>CSS</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          <dependson>217529</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne van Kesteren">annevk</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cathiechen</cc>
    
    <cc>gsnedders</cc>
    
    <cc>rbuis</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1758870</commentid>
    <comment_count>0</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2021-05-11 04:15:09 -0700</bug_when>
    <thetext>In cleaning up some aspects of the specification around aspect-ratio, I found that WebKit fails a bunch of tests: https://github.com/web-platform-tests/wpt/pull/28932. Cleanup happening in https://github.com/whatwg/html/pull/6529.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759015</commentid>
    <comment_count>1</comment_count>
    <who name="Rob Buis">rbuis</who>
    <bug_when>2021-05-11 11:55:45 -0700</bug_when>
    <thetext>Cathie, IIRC you implemented this for one of video, image or canvas? We probably have existing bugs for these, which if fixed would fix these tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759016</commentid>
    <comment_count>2</comment_count>
    <who name="Rob Buis">rbuis</who>
    <bug_when>2021-05-11 12:01:40 -0700</bug_when>
    <thetext>I think bugs like this have to be fixed first:
https://bugs.webkit.org/show_bug.cgi?id=217529</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759163</commentid>
    <comment_count>3</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2021-05-11 22:27:44 -0700</bug_when>
    <thetext>Ah thanks for finding that Rob! that might be the whole issue here for all I know.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1759216</commentid>
    <comment_count>4</comment_count>
    <who name="cathiechen">cathiechen</who>
    <bug_when>2021-05-12 01:59:53 -0700</bug_when>
    <thetext>(In reply to Rob Buis from comment #1)
&gt; Cathie, IIRC you implemented this for one of video, image or canvas? We
&gt; probably have existing bugs for these, which if fixed would fix these tests.

Yeah, I&apos;m working on implementing this for video and picture.
It seems most failures are `test_computed_style_aspect_ratio` which is related to bug 217529, i.e. implement mapping width height to aspect ratio by using CSS aspect-ratio.
Currently, the implementation in WebKit does not depend on CSS aspect-ratio.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1761123</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-05-18 04:16:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/78149269&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>