Fix new layout tests for images with color profiles by using fixed size

https://bugs.webkit.org/show_bug.cgi?id=87542

Patch by Tony Payne <tpayne@chromium.org> on 2012-05-29
Reviewed by Kent Tamura.

* fast/images/jpeg-with-color-profile.html: Use width=400px instead of 50% to make sure size is consistent across ports.
* fast/images/png-with-color-profile.html: Use width=40px instead of 50% to make sure size is consistent across ports.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@118779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 43d0ef36
2012-05-29 Tony Payne <tpayne@chromium.org>
Fix new layout tests for images with color profiles by using fixed size
https://bugs.webkit.org/show_bug.cgi?id=87542
Reviewed by Kent Tamura.
* fast/images/jpeg-with-color-profile.html: Use width=400px instead of 50% to make sure size is consistent across ports.
* fast/images/png-with-color-profile.html: Use width=40px instead of 50% to make sure size is consistent across ports.
2012-05-29 Ilya Tikhonovsky <loislo@chromium.org>
Unreviewed: Web Inspector: single line fix.
......
The red sector of the image should be at the 12 o'clock position.</p>
<img src="resources/red-at-12-oclock-with-color-profile.jpg" width="50%">
<img src="resources/red-at-12-oclock-with-color-profile.jpg" width="400px">
<script>
if (window.layoutTestController)
window.layoutTestController.dumpAsText(pixelTest = true);
......
The red sector of the image should be at the 12 o'clock position.</p>
<img src="resources/red-at-12-oclock-with-color-profile.png" width="50%">
<img src="resources/red-at-12-oclock-with-color-profile.png" width="400px">
<script>
if (window.layoutTestController)
window.layoutTestController.dumpAsText(pixelTest = true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment