<?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>207439</bug_id>
          
          <creation_ts>2020-02-09 06:32:11 -0800</creation_ts>
          <short_desc>conic-gradient() incorrectly accepts unitless zero angles</short_desc>
          <delta_ts>2020-02-10 10:44:03 -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>CSS</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=205733</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Emilio Cobos Álvarez (:emilio)">emilio</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>koivisto</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1616666</commentid>
    <comment_count>0</comment_count>
    <who name="Emilio Cobos Álvarez (:emilio)">emilio</who>
    <bug_when>2020-02-09 06:32:11 -0800</bug_when>
    <thetext>Safari accepts `document.body.style.backgroundImage = &quot;conic-gradient(yellow 0, blue 360deg)&quot;` and so on.

I think that&apos;s invalid per spec. I don&apos;t see anything in https://drafts.csswg.org/css-images-4/#funcdef-conic-gradient which would say that zero is a valid angle value in this context.

See https://bugs.chromium.org/p/chromium/issues/detail?id=1050395 too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1616667</commentid>
    <comment_count>1</comment_count>
    <who name="Emilio Cobos Álvarez (:emilio)">emilio</who>
    <bug_when>2020-02-09 06:36:51 -0800</bug_when>
    <thetext>Err, apparently https://drafts.csswg.org/css-images-4/#valdef-conic-gradient-angle does mention unitless zero. Oh well, kinda unfortunate.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>