<?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>143471</bug_id>
          
          <creation_ts>2015-04-07 02:53:48 -0700</creation_ts>
          <short_desc>[GTK] Layout Test canvas/philip/tests/2d.drawImage.animated.poster.html is failing</short_desc>
          <delta_ts>2023-01-25 19:36:28 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Marcos Chavarría Teijeiro (irc: chavaone)">chavarria1991</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>chavarria1991</cc>
    
    <cc>maxstepin</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1083277</commentid>
    <comment_count>0</comment_count>
    <who name="Marcos Chavarría Teijeiro (irc: chavaone)">chavarria1991</who>
    <bug_when>2015-04-07 02:53:48 -0700</bug_when>
    <thetext>The canvas/philip/tests/2d.drawImage.animated.poster.html layout test is failing on GTK+ after r181553 (https://trac.webkit.org/changeset/181553).

This revision implements APNG support.

The diff is the following:

--- /home/ch01/jhbuild/src/WebKit/WebKitBuild/Release/layout-test-results/canvas/philip/tests/2d.drawImage.animated.poster-expected.txt
+++ /home/ch01/jhbuild/src/WebKit/WebKitBuild/Release/layout-test-results/canvas/philip/tests/2d.drawImage.animated.poster-actual.txt
@@ -1,2 +1,2 @@ 
-Passed
+Failed assertion: got pixel [255,0,0,255] at (50,25), expected [0,255,0,255] +/- 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1083922</commentid>
    <comment_count>1</comment_count>
    <who name="Max Stepin">maxstepin</who>
    <bug_when>2015-04-09 02:01:36 -0700</bug_when>
    <thetext>According to APNG specs, the first frame can be marked hidden.

This test:
Frame 0: green (hidden)
Frame 1: red

This test assumes canvas drawImage() is sophisticated enough be able to return hidden apng frame (green).

Instead the image decoders in both Firefox and WebKit prefer not to keep the useless hidden frame in memory, so both return the first *visible* frame.

You can see Firefox draws red frame too:
http://w3c-test.org/2dcontext/drawing-images-to-the-canvas/2d.drawImage.animated.poster.html

So I think we should simply mark this test accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1928436</commentid>
    <comment_count>2</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2023-01-25 19:33:07 -0800</bug_when>
    <thetext>There are no references to this bug in any TestExpectations. It&apos;s probable this bug was solved at some point but it wasn&apos;t marked as closed. I&apos;m closing this bug now. If you think this bug report is still valid, please reopen it and add an entry to TestExpectations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1928470</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-01-25 19:36:28 -0800</bug_when>
    <thetext>&lt;rdar://problem/104678760&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>