<?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>28217</bug_id>
          
          <creation_ts>2015-03-15 14:18:28 +0000</creation_ts>
          <short_desc>&lt;canvas&gt;: not clear if two polygon paths with a common edge should have no line visible</short_desc>
          <delta_ts>2019-03-29 21:33:03 +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>MOVED</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-fill</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>d</cc>
    
    <cc>junov</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      <flag name="needinfo"
          id="156"
          type_id="3"
          status="?"
          setter="annevk"
          requestee="junov"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>118608</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2015-03-15 14:18:28 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/multipage/scripting.html
Multipage: https://html.spec.whatwg.org/multipage/#drawing-paths-to-the-canvas:dom-context-2d-fill
Complete: https://html.spec.whatwg.org/#drawing-paths-to-the-canvas:dom-context-2d-fill
Referrer: https://html.spec.whatwg.org/multipage/scripting.html

Comment:
It&apos;s not clear from the spec if two paths which describe two poligons with a
common edge, when render as a single solid polygon when using fill() on them.
In particular the spec does not seem to explain what implementation of
anti-aliasing should be used on edges, to make sure that there is no gap
between incident shapes.
For example http://jsfiddle.net/xgd03fyb/ in Chrome shows two triangles with a
visible artifact between them, while clearly the intention was to draw them as
a square. Is it a bug or a feature?

Posted from: 78.8.147.90
User agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.89 Safari/537.36</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129056</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2018-01-29 14:30:24 +0000</bug_when>
    <thetext>As all browsers show two triangles I suspect that&apos;s what we should define. Not sure how though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129700</commentid>
    <comment_count>2</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2019-03-29 21:33:03 +0000</bug_when>
    <thetext>https://github.com/whatwg/html/issues/4485</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>