<?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>171972</bug_id>
          
          <creation_ts>2017-05-11 06:15:10 -0700</creation_ts>
          <short_desc>[GTK] Tests fast/images/async-image-background-image-repeated.html and fast/images/sprite-sheet-image-draw.html fail since r216450</short_desc>
          <delta_ts>2017-08-14 02:45:53 -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>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>174459</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk, LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>magomez</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>yoon</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1307248</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-05-11 06:15:10 -0700</bug_when>
    <thetext>The problem is the change in sprite-sheet-red-green-blue.png. We now fail to render that png, I don&apos;t know why. I&apos;ve tried with other programs:

 - Firefox shows an error message saying the png has errors
 - eog crashes with BadAlloc X error.
 - chromium and gimp render the png just fine
 - gdk-pixbuf also fails to render it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1307250</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-05-11 06:21:40 -0700</bug_when>
    <thetext>Tried eog in wayland and we get this warning:

(eog:12294): Gtk-WARNING **: drawing failure for widget &apos;GtkDrawingArea&apos;: invalid value (typically too big) for the size of the input (surface, pattern, etc.)

So, maybe this is another cairo limitation, and we can&apos;t create an image surface for the size of the png.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1307252</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-05-11 06:25:44 -0700</bug_when>
    <thetext>Exactly:

/* Limit on the width / height of an image surface in pixels.  This is                                                                                                                        
 * mainly determined by coordinates of things sent to pixman at the                                                                                                                           
 * moment being in 16.16 format. */
#define MAX_IMAGE_SIZE 32767

Said, would it be possible to test the same thing with a png &lt;= 32766 instead of 33100?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1307255</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-05-11 06:33:26 -0700</bug_when>
    <thetext>Expectations updated in r216676.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1309076</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-05-16 02:01:54 -0700</bug_when>
    <thetext>(In reply to Carlos Garcia Campos from comment #2)
&gt; Exactly:
&gt; 
&gt; /* Limit on the width / height of an image surface in pixels.  This is      
&gt; 
&gt;  * mainly determined by coordinates of things sent to pixman at the         
&gt; 
&gt;  * moment being in 16.16 format. */
&gt; #define MAX_IMAGE_SIZE 32767
&gt; 
&gt; Said, would it be possible to test the same thing with a png &lt;= 32766
&gt; instead of 33100?

Said?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1338300</commentid>
    <comment_count>5</comment_count>
    <who name="Ms2ger (he/him; ⌚ UTC+1/+2)">Ms2ger</who>
    <bug_when>2017-08-14 02:45:53 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 174459 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>