[Webkit-unassigned] [Bug 13666] Canvas: fill() blows away the current path

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 1 14:08:11 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=13666





------- Comment #5 from drj at pobox.com  2008-08-01 14:08 PDT -------
Moreover, fillRect() does not appear to disturbed the path:

<!DOCTYPE HTML>
<html>
 <head>
  <title>Filling and Stroking</title>
 </head>
 <body>
  <p>There should be a red cross.</p>
  <div><canvas width="200" height="200"
class="before">FAIL</canvas></div>
  <script>
   var canvas = document.getElementsByTagName('canvas')[0];
   var context = canvas.getContext('2d');
   context.fillStyle = 'red';
   context.rect(75, 25, 50, 150);
   context.fillRect(25,75,150,50)
   context.fill();
  </script>
 </body>
</html>


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list