<?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>142119</bug_id>
          
          <creation_ts>2015-02-27 17:53:59 -0800</creation_ts>
          <short_desc>fast/canvas/canvas-ellipse-zero-lineto.html failing on Apple Windows</short_desc>
          <delta_ts>2022-02-10 14:40:56 -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>Canvas</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dean Jackson">dino</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>dino</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1072942</commentid>
    <comment_count>0</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2015-02-27 17:53:59 -0800</bug_when>
    <thetext>This test is reproducibly failing on Windows.

fast/canvas/canvas-ellipse-zero-lineto.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072943</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-02-27 17:54:38 -0800</bug_when>
    <thetext>&lt;rdar://problem/19993919&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1072947</commentid>
    <comment_count>2</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2015-02-27 18:06:03 -0800</bug_when>
    <thetext>*** Bug 142120 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073166</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-03-01 10:36:15 -0800</bug_when>
    <thetext>Failure looks like the following:

--- /cygdrive/c/Projects/WebKit/OpenSource/WebKitBuild/Release/bin32/layout-test-results/fast/canvas/canvas-ellipse-zero-lineto-expected.txt
+++ /cygdrive/c/Projects/WebKit/OpenSource/WebKitBuild/Release/bin32/layout-test-results/fast/canvas/canvas-ellipse-zero-lineto-actual.txt
@@ -57,7 +57,7 @@
 PASS imageData.data[1] is 0
 PASS imageData.data[1] is 0
  2. sweepAngle &lt; PI
-PASS imageData.data[1] is 0
+FAIL imageData.data[1] should be 0. Was 7.
 PASS imageData.data[1] is 255
 PASS imageData.data[1] is 0
 PASS imageData.data[1] is 0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073167</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-03-01 10:44:27 -0800</bug_when>
    <thetext>Here is the failing sequence of commands:

debug(&quot; 2. sweepAngle &lt; PI&quot;);
ctx.translate(0, 30);
ctx.save();
ctx.beginPath();
ctx.lineTo(10, 0);
ctx.ellipse(20, 0, 20, zero, Math.PI / 6, -Math.PI / 4, Math.PI / 2, false);
ctx.lineTo(80, 0);
ctx.stroke();
ctx.restore();

imageData = ctx.getImageData(232, 69, 1, 1);
shouldBe(&quot;imageData.data[1]&quot;, &quot;0&quot;);
imageData = ctx.getImageData(238, 72, 1, 1);
shouldBe(&quot;imageData.data[1]&quot;, &quot;255&quot;);
imageData = ctx.getImageData(228, 65, 1, 1);
shouldBe(&quot;imageData.data[1]&quot;, &quot;0&quot;);
imageData = ctx.getImageData(242, 61, 1, 1);
shouldBe(&quot;imageData.data[1]&quot;, &quot;0&quot;);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073436</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-03-02 14:05:05 -0800</bug_when>
    <thetext>See the screenshot &quot;Comparison&quot; to see the slight differences between the two drawing libraries. The top &quot;arrow&quot; is the Mac version, the bottom is the WIndows one.

Antialiasing seems different on the two platforms.

The drawing commands are identical:

ctx.beginPath();
ctx.lineTo(10, 0);
ctx.ellipse(20, 0, 20, zero, Math.PI / 6, -Math.PI / 4, Math.PI / 2, false);
ctx.lineTo(80, 0);
ctx.stroke();
ctx.restore();

imageData = ctx.getImageData(232, 69, 1, 1); // Should be black, but WIndows is &apos;7&apos; (not &apos;0&apos;)
imageData = ctx.getImageData(238, 72, 1, 1); // Should be White, and both are.
imageData = ctx.getImageData(228, 65, 1, 1); // Should be black, and both are.
imageData = ctx.getImageData(242, 61, 1, 1); // Should be black, and both are.

This might be a drawing difference in the rendering libraries used on the two platforms.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073439</commentid>
    <comment_count>6</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-03-02 14:11:38 -0800</bug_when>
    <thetext>Unskipped and rebaselined test in r180895 &lt;https://trac.webkit.org/changeset/180895&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839964</commentid>
    <comment_count>7</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-02-10 14:40:56 -0800</bug_when>
    <thetext>The fix for this issue was needed outside the WebKit project, therefore this is being resolved as &apos;Moved&apos;.

This should now be fixed in shipping software.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>