<?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>223875</bug_id>
          
          <creation_ts>2021-03-28 23:40:20 -0700</creation_ts>
          <short_desc>WPT failures due to calc() serialization</short_desc>
          <delta_ts>2021-04-16 08:48:39 -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>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</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>224322</dependson>
    
    <dependson>224376</dependson>
    
    <dependson>224420</dependson>
    
    <dependson>224611</dependson>
    
    <dependson>224670</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Antoine Quint">graouts</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1744696</commentid>
    <comment_count>0</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2021-03-28 23:40:20 -0700</bug_when>
    <thetext>We fail several animation-related tests due to how calc() is serialized.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1744700</commentid>
    <comment_count>1</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2021-03-28 23:56:20 -0700</bug_when>
    <thetext>Some affected tests:

    - css-values/animations/calc-interpolation.html
    - css-transitions/animations/vertical-align-interpolation.html
    - css-backgrounds/animations/background-position-origin-interpolation.html
    - css-backgrounds/animations/border-image-width-interpolation.html

There may be more.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1744738</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-03-29 09:44:40 -0700</bug_when>
    <thetext>Linky?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1745087</commentid>
    <comment_count>3</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2021-03-30 05:16:43 -0700</bug_when>
    <thetext>It would probably be wise to start with https://wpt.fyi/results/css/css-values/animations/calc-interpolation.html?label=master&amp;label=experimental&amp;aligned. My guess is that other test failures are all due to issues that are present in this test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1745092</commentid>
    <comment_count>4</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2021-03-30 05:32:54 -0700</bug_when>
    <thetext>Other WPT tests under css/ which have calc-related issues:

    - css-backgrounds/animations/background-position-interpolation.html
    - css-backgrounds/animations/border-radius-interpolation.html
    - css-shapes/animation/shape-outside-interpolation.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1746902</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-04-04 23:41:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/76207315&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1748259</commentid>
    <comment_count>6</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2021-04-08 03:58:57 -0700</bug_when>
    <thetext>Bug 224322 will already improve the situation but not fix every case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1748290</commentid>
    <comment_count>7</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2021-04-08 06:42:46 -0700</bug_when>
    <thetext>Here&apos;s an example where we fail to simplify at all:

&lt;div style=&quot;border-top-left-radius: calc(5px + (0.5 * (100% - 80px)))&quot;&gt;
&lt;script&gt;
    console.assert(document.querySelector(&quot;div&quot;).style.borderTopLeftRadius == &quot;calc(50% - 35px)&quot;);
&lt;/script&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1748771</commentid>
    <comment_count>8</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2021-04-09 10:09:31 -0700</bug_when>
    <thetext>Bug 224376 will fix some more cases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1750644</commentid>
    <comment_count>9</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2021-04-15 09:32:33 -0700</bug_when>
    <thetext>Yet more cases will be fixed by bug 224611.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1751052</commentid>
    <comment_count>10</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2021-04-16 06:37:43 -0700</bug_when>
    <thetext>A few more cases are covered by bug 224670.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1751089</commentid>
    <comment_count>11</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2021-04-16 08:48:39 -0700</bug_when>
    <thetext>The issues I was tracking are all fixed by the fixed bugs this bug depended on. Closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>