<?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>89709</bug_id>
          
          <creation_ts>2012-06-21 16:51:24 -0700</creation_ts>
          <short_desc>Many canvas layout tests fail when deviceScaleFactor is not 1</short_desc>
          <delta_ts>2012-06-21 16:52:28 -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>Canvas</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Dakin">bdakin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bdakin</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>655030</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2012-06-21 16:51:24 -0700</bug_when>
    <thetext>If you run the layout tests on a Retina MacBook Pro (or any Mac simulating HiDPI mode), many canvas tests fail. There were many intentional changes made to canvas for a HiDPI environment, so these failures are not necessarily bugs, but they will probably have to be investigated individually to determine that.

At a high level, we need to decide if we want to have a new directory like the platform directory for test results that are specific to different deviceScaleFactors. Or perhaps tests can change to accommodate evaluating results for each platform. A directory would be a nice short-term solution. 

Anyway, these are all of the canvas tests that I see failing:

canvas/philip/tests/2d.imageData.get.order.cols.html
canvas/philip/tests/2d.imageData.get.order.rows.html
canvas/philip/tests/2d.imageData.put.unchanged.html
canvas/philip/tests/2d.text.draw.baseline.ideographic.html

fast/canvas/2d.backingStorePixelRatio.html
fast/canvas/canvas-alphaImageData-behavior.html
fast/canvas/canvas-copyPixels.html
fast/canvas/canvas-fillPath-shadow.html
fast/canvas/canvas-getImageData-negative-source.html
fast/canvas/canvas-lineWidth-intact-after-strokeRect.html
fast/canvas/canvas-scale-strokePath-shadow.html
fast/canvas/canvas-state-intact-after-putImageData.html
fast/canvas/canvas-strokePath-cap-join.html
fast/canvas/canvas-strokePath-gradient-shadow.html
fast/canvas/canvas-strokeRect-alpha-shadow.html
fast/canvas/canvas-strokeRect-gradient-shadow.html
fast/canvas/canvas-style-intact-after-text.html
fast/canvas/webgl/gl-pixelstorei.html
fast/canvas/webgl/tex-image-and-sub-image-2d-with-canvas-rgb565.html
fast/canvas/webgl/tex-image-and-sub-image-2d-with-canvas-rgba4444.html
fast/canvas/webgl/tex-image-and-sub-image-2d-with-canvas-rgba5551.html
fast/canvas/webgl/tex-image-and-sub-image-2d-with-canvas.html
fast/canvas/webgl/tex-image-and-sub-image-2d-with-image-rgb565.html
fast/canvas/webgl/tex-image-and-sub-image-2d-with-image-rgba4444.html
fast/canvas/webgl/tex-image-and-sub-image-2d-with-image-rgba5551.html
fast/canvas/webgl/tex-image-and-sub-image-2d-with-image.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>655031</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2012-06-21 16:52:28 -0700</bug_when>
    <thetext>&lt;rdar://problem/11723534&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>