Bug 97170 - [Mac] Should pass http/tests/images/png-partial-load-no-alpha.html
Summary: [Mac] Should pass http/tests/images/png-partial-load-no-alpha.html
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.6
: P2 Normal
Assignee: noel gordon
URL:
Keywords:
Depends on: 96064
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-19 22:37 PDT by noel gordon
Modified: 2013-05-31 00:16 PDT (History)
2 users (show)

See Also:


Attachments
Patch (1.49 KB, patch)
2013-05-24 00:16 PDT, noel gordon
no flags Details | Formatted Diff | Diff
Patch (1.56 KB, patch)
2013-05-30 23:02 PDT, noel gordon
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description noel gordon 2012-09-19 22:37:49 PDT
For this test, the Mac port paints a black background when partially loading PNG images that have no alpha.  A green background is expected.  Synopsis: the image frame containing the decoded image should be 1) initialized with transparent black rgba(0,0,0,0) and 2) marked as having alpha channel until the image if fully decoded.  Partial loading implies partial decoding, so this test reveals the state of the image frame before the image is fully decoded to see if conditions 1) and 2) are upheld.
Comment 1 noel gordon 2013-05-24 00:16:09 PDT
I think this test started passing after http://trac.webkit.org/changeset/150340 ?
Comment 2 noel gordon 2013-05-24 00:16:32 PDT
Created attachment 202774 [details]
Patch
Comment 3 noel gordon 2013-05-30 23:02:17 PDT
Created attachment 203409 [details]
Patch
Comment 4 noel gordon 2013-05-31 00:16:07 PDT
Submitted http://trac.webkit.org/changeset/151010