LayoutTests/ChangeLog

 12012-05-24 Tony Payne <tpayne@chromium.org>
 2
 3 Add tests for JPEG and PNG images with a non-generic RGB color profile
 4 https://bugs.webkit.org/show_bug.cgi?id=87437
 5
 6 No layout test currently covers a color transform except for the no-op case of a
 7 Generic RGB profile (image) -> Generic RGB profile (screen) color transform. Add
 8 tests for JPEG and PNG images with a non-identity color correction transform, in
 9 particular, use test images with a (non-generic) RGB color profile.
 10
 11 Reviewed by NOBODY (OOPS!).
 12
 13 * fast/images/jpeg-with-color-profile-expected.txt: Added.
 14 * fast/images/jpeg-with-color-profile.html: Added.
 15 * fast/images/png-with-color-profile-expected.txt: Added.
 16 * fast/images/png-with-color-profile.html: Added.
 17 * fast/images/resources/red-at-12-oclock-with-color-profile.jpg: Added. The image
 18 has an RGB color profile (non-generic). If color correction is correctly applied,
 19 the image red sector appears at the 12 o'clock position. If color correction fails,
 20 the red sector appears at 4 o'clock.
 21 * fast/images/resources/red-at-12-oclock-with-color-profile.png: Added, and ditto
 22 for the expected image red sector position and image color profile type.
 23 * platform/chromium/test_expectations.txt: Add MISSING expectations.
 24 * platform/mac-snowleopard/fast/images/jpeg-with-color-profile-expected.png: Added.
 25 * platform/mac-snowleopard/fast/images/png-with-color-profile-expected.png: Added.
 26
1272012-05-24 Philippe Normand <pnormand@igalia.com>
228
329 Unreviewed, GTK rebaselines after r118448 and r118353.

LayoutTests/fast/images/jpeg-with-color-profile-expected.txt

 1The red sector of the image should be at the 12 o'clock position.
 2

LayoutTests/fast/images/jpeg-with-color-profile.html

 1The red sector of the image should be at the 12 o'clock position.</p>
 2<img src="resources/red-at-12-oclock-with-color-profile.jpg" width="50%">
 3<script>
 4if (window.layoutTestController)
 5 window.layoutTestController.dumpAsText(pixelTest = true);
 6</script>

LayoutTests/fast/images/png-with-color-profile-expected.txt

 1The red sector of the image should be at the 12 o'clock position.
 2

LayoutTests/fast/images/png-with-color-profile.html

 1The red sector of the image should be at the 12 o'clock position.</p>
 2<img src="resources/red-at-12-oclock-with-color-profile.png" width="50%">
 3<script>
 4if (window.layoutTestController)
 5 window.layoutTestController.dumpAsText(pixelTest = true);
 6</script>

LayoutTests/fast/images/resources/red-at-12-oclock-with-color-profile.jpg


Added


LayoutTests/fast/images/resources/red-at-12-oclock-with-color-profile.png


Added


LayoutTests/platform/chromium/test_expectations.txt

@@BUGCR11153 LINUX WIN : platform/chromium/virtual/gpu/fast/canvas/canvas-incremen
11611161// test_shell, DRT do not correctly schedule paints when invalidating.
11621162BUGCR62433 WIN : fast/images/gif-loop-count.html = IMAGE
11631163
 1164// Implement color profile support.
 1165BUGCR143 : fast/images/jpeg-with-color-profile.html = MISSING
 1166BUGCR143 : fast/images/png-with-color-profile.html = MISSING
 1167
11641168// -----------------------------------------------------------------
11651169// SVG TESTS
11661170// -----------------------------------------------------------------

LayoutTests/platform/mac-snowleopard/fast/images/jpeg-with-color-profile-expected.png


Added

84af78ad030e3e6c3e200a59a9921efe

LayoutTests/platform/mac-snowleopard/fast/images/png-with-color-profile-expected.png


Added

677ed4aafca934a3ebbe27f885dcf568