<?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>9052</bug_id>
          
          <creation_ts>2006-05-22 17:57:57 -0700</creation_ts>
          <short_desc>&lt;canvas&gt; content prints at screen resolution instead of printer resolution</short_desc>
          <delta_ts>2008-06-30 09:39:41 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andpoul</cc>
    
    <cc>ian</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>43230</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-05-22 17:57:57 -0700</bug_when>
    <thetext>&lt;canvas&gt; content prints at screen resolution instead of printer resolution

We should use some sort of PDFContext instead of the current BitmapContext for the &lt;canvas&gt; backend, to allow canvas content to print nicely.

We have a Radar for this already, I don&apos;t remember the number (and don&apos;t have radar on this machine).  I believe it was filed by Martin Ott.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59805</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Pouliot">andpoul</who>
    <bug_when>2007-10-29 12:27:06 -0700</bug_when>
    <thetext>I think this is not possible due to the philosophy of &lt;canvas&gt; as a bitmap graphics context (with vector input). Authors of &lt;canvas&gt; pages are relying on the fact that certain operations take a small amout of time when done with limited numbers of pixels, and the fact that when overwritten, pixels &quot;go away&quot; meaning require no further storage.

However, if every drawing operation performed on the canvas is cached and then replayed for printing, there could be a ton of drawing commands that essentially make some pages non-printable because it would take forever to compute what actually needed to be drawn for printing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84623</commentid>
    <comment_count>2</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2008-06-27 21:24:37 -0700</bug_when>
    <thetext>This doesn&apos;t make sense in the context of the canvas element (especially given it now includes actual raw bitmap access).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84640</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-06-28 01:30:09 -0700</bug_when>
    <thetext>&lt;rdar://problem/4364207&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84757</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-06-30 09:39:41 -0700</bug_when>
    <thetext>Well, it would still be possible to support both. :)  But it&apos;s also fine to close this.  We have many many many more things to fix with printing first. :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>