<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>23528</bug_id>
          
          <creation_ts>2013-10-15 22:07:34 +0000</creation_ts>
          <short_desc>&lt;canvas&gt;: Aligning dashes with specific points in the path</short_desc>
          <delta_ts>2019-03-29 20:31:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Needs Impl Interest</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ian &apos;Hixie&apos; Hickson">ian</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>adrianba</cc>
    
    <cc>cabanier</cc>
    
    <cc>cabanier</cc>
    
    <cc>d</cc>
    
    <cc>ian</cc>
    
    <cc>james</cc>
    
    <cc>junov</cc>
    
    <cc>junov</cc>
    
    <cc>mike</cc>
    
    <cc>mjs</cc>
    
    <cc>roc</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>94796</commentid>
    <comment_count>0</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-10-15 22:07:34 +0000</bug_when>
    <thetext>Consider: http://jsfiddle.net/ZxR6P/1/ http://goo.gl/rPN5Eg

It would be useful to be able to control, on a per-point basis (including points that are at the end/start of subpaths), when stroking a path with a pattern, whether:

 - the dash pattern should continue at that point
 - the dash pattern should reset at that point
 - the dash pattern should be adjusted somehow so that between this point
   and a subsequent point, the pattern is aligned so that the point coincide with
   the start/end (respectively) of an &quot;on&quot; dash in the pattern</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94830</commentid>
    <comment_count>1</comment_count>
    <who name="Justin Novosad">junov</who>
    <bug_when>2013-10-16 13:37:20 +0000</bug_when>
    <thetext>A potential use case: To have sides of a box that begin and end with whole dashes *and* the dashes at the corners of the box are joined.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109448</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-07-29 00:03:08 +0000</bug_when>
    <thetext>What&apos;s the implementor interest on this? It&apos;s mostly a convenience API, though certainly the convenience is substantial compared to doing the calculation manually, especially for anything that isn&apos;t a rectangle...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109521</commentid>
    <comment_count>3</comment_count>
    <who name="Justin Novosad">junov</who>
    <bug_when>2014-07-29 19:37:09 +0000</bug_when>
    <thetext>Mixed feelings. I believe the feature makes a lot of sense and it is relatively low hanging fruit, but I am not seeing any web developer driven interest for it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109522</commentid>
    <comment_count>4</comment_count>
    <who name="rcabanie">cabanier</who>
    <bug_when>2014-07-29 19:43:42 +0000</bug_when>
    <thetext>(In reply to Justin Novosad from comment #3)
&gt; Mixed feelings. I believe the feature makes a lot of sense and it is
&gt; relatively low hanging fruit, but I am not seeing any web developer driven
&gt; interest for it.

I also don&apos;t see much interest.

I would be more interested in providing an API that adjusts dashes along a path so the corners look nice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129678</commentid>
    <comment_count>5</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2019-03-29 20:31:42 +0000</bug_when>
    <thetext>W3C Bugzilla is closing down, and as such we&apos;re closing all feature request bugs against HTML as &quot;WONTFIX&quot;, at least wontfix-in-this-bugtracker.

If you still think this feature is valuable, please feel free to open a new issue against https://github.com/whatwg/html/issues ; the community has gotten much more active and involved since the Bugzilla days, and you might get a more useful dialogue there.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>