<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [Cairo] SVG path not rendered with all-zero dasharray"
   href="https://bugs.webkit.org/show_bug.cgi?id=146997#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [Cairo] SVG path not rendered with all-zero dasharray"
   href="https://bugs.webkit.org/show_bug.cgi?id=146997">bug 146997</a>
              from <span class="vcard"><a class="email" href="mailto:hur.ims&#64;navercorp.com" title="Jinyoung Hur &lt;hur.ims&#64;navercorp.com&gt;"> <span class="fn">Jinyoung Hur</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=146997#c8">comment #8</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=257263&amp;action=diff" name="attach_257263" title="Patch">attachment 257263</a> <a href="attachment.cgi?id=257263&amp;action=edit" title="Patch">[details]</a></span>
&gt; Patch
&gt; 
&gt; Can the DashArray be empty?</span >

Yes. According to the comment in cairo.c, num_dashes=0 disables dashing.

/**
 * cairo_set_dash:
 * &#64;cr: a cairo context
 * &#64;dashes: an array specifying alternate lengths of on and off stroke portions
 * &#64;num_dashes: the length of the dashes array
 * &#64;offset: an offset into the dash pattern at which the stroke should start
 *
 * Sets the dash pattern to be used by cairo_stroke(). A dash pattern
 * is specified by &#64;dashes, an array of positive values. Each value
 * provides the length of alternate &quot;on&quot; and &quot;off&quot; portions of the
 * stroke. The &#64;offset specifies an offset into the pattern at which
 * the stroke begins.
 *
 * Each &quot;on&quot; segment will have caps applied as if the segment were a
 * separate sub-path. In particular, it is valid to use an &quot;on&quot; length
 * of 0.0 with %CAIRO_LINE_CAP_ROUND or %CAIRO_LINE_CAP_SQUARE in order
 * to distributed dots or squares along a path.
 *
 * Note: The length values are in user-space units as evaluated at the
 * time of stroking. This is not necessarily the same as the user
 * space at the time of cairo_set_dash().
 *
 * If &#64;num_dashes is 0 dashing is disabled.
 *
 * If &#64;num_dashes is 1 a symmetric pattern is assumed with alternating
 * on and off portions of the size specified by the single value in
 * &#64;dashes.
 *
 * If any value in &#64;dashes is negative, or if all values are 0, then
 * &#64;cr will be put into an error state with a status of
 * %CAIRO_STATUS_INVALID_DASH.
 *
 * Since: 1.0
 **/</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>