mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-02 05:17:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
BIN
image/test/reftest/color-management/color-curv.png
Normal file
BIN
image/test/reftest/color-management/color-curv.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
BIN
image/test/reftest/color-management/color-lin.png
Normal file
BIN
image/test/reftest/color-management/color-lin.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
BIN
image/test/reftest/color-management/color-table.png
Normal file
BIN
image/test/reftest/color-management/color-table.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
BIN
image/test/reftest/color-management/invalid-chrm-ref.png
Normal file
BIN
image/test/reftest/color-management/invalid-chrm-ref.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
image/test/reftest/color-management/invalid-chrm.png
Normal file
BIN
image/test/reftest/color-management/invalid-chrm.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
BIN
image/test/reftest/color-management/invalid-whitepoint.png
Normal file
BIN
image/test/reftest/color-management/invalid-whitepoint.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
8
image/test/reftest/color-management/reftest-stylo.list
Normal file
8
image/test/reftest/color-management/reftest-stylo.list
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
|
||||
# Colormangement
|
||||
|
||||
# test for bug 489133, test for bug 460520
|
||||
fails == invalid-chrm.png invalid-chrm.png
|
||||
fails == invalid-whitepoint.png invalid-whitepoint.png
|
||||
# test for bug 488955
|
||||
== trc-type.html trc-type.html
|
||||
7
image/test/reftest/color-management/reftest.list
Normal file
7
image/test/reftest/color-management/reftest.list
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Colormangement
|
||||
|
||||
# test for bug 489133, test for bug 460520
|
||||
== invalid-chrm.png invalid-chrm-ref.png
|
||||
== invalid-whitepoint.png invalid-chrm-ref.png
|
||||
# test for bug 488955
|
||||
== trc-type.html trc-type-ref.html
|
||||
8
image/test/reftest/color-management/trc-type-ref.html
Normal file
8
image/test/reftest/color-management/trc-type-ref.html
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<img src="color-lin.png">
|
||||
<img src="color-curv.png">
|
||||
<img src="color-table.png">
|
||||
</body>
|
||||
</html>
|
||||
53
image/test/reftest/color-management/trc-type.html
Normal file
53
image/test/reftest/color-management/trc-type.html
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<!-- All of these images should render the same
|
||||
they all have icc profiles with different
|
||||
but equivalent tone reproduction curves.
|
||||
|
||||
The profiles were generated with the following code and added to the images using pngcrush.
|
||||
|
||||
cmsHPROFILE profile = cmsCreate_sRGBProfile();
|
||||
|
||||
cmsAddTag(profile, icSigDeviceMfgDescTag, (LPVOID) "(lcms moz internal)");
|
||||
cmsAddTag(profile, icSigDeviceModelDescTag, (LPVOID) "linear");
|
||||
cmsAddTag(profile, icSigProfileDescriptionTag, (LPVOID) "linear");
|
||||
|
||||
GAMMATABLE linear_trc;
|
||||
linear_trc.nEntries = 0;
|
||||
|
||||
cmsAddTag(profile, icSigRedTRCTag, &linear_trc);
|
||||
cmsAddTag(profile, icSigGreenTRCTag, &linear_trc);
|
||||
cmsAddTag(profile, icSigBlueTRCTag, &linear_trc);
|
||||
|
||||
_cmsSaveProfile(profile, "linear_gen.icc");
|
||||
|
||||
GAMMATABLE linear_curve_trc;
|
||||
linear_curve_trc.nEntries = 1;
|
||||
linear_curve_trc.GammaTable[0] = 0x0100;
|
||||
|
||||
cmsAddTag(profile, icSigRedTRCTag, &linear_curve_trc);
|
||||
cmsAddTag(profile, icSigGreenTRCTag, &linear_curve_trc);
|
||||
cmsAddTag(profile, icSigBlueTRCTag, &linear_curve_trc);
|
||||
|
||||
_cmsSaveProfile(profile, "linear_curve_gen.icc");
|
||||
|
||||
GAMMATABLE *linear_table_trc = malloc(sizeof(GAMMATABLE) + sizeof(short)*2);
|
||||
linear_table_trc->nEntries = 2;
|
||||
linear_table_trc->GammaTable[0] = 0x0;
|
||||
linear_table_trc->GammaTable[1] = 0xffff;
|
||||
|
||||
cmsAddTag(profile, icSigRedTRCTag, linear_table_trc);
|
||||
cmsAddTag(profile, icSigGreenTRCTag, linear_table_trc);
|
||||
cmsAddTag(profile, icSigBlueTRCTag, linear_table_trc);
|
||||
|
||||
_cmsSaveProfile(profile, "linear_table_gen.icc");
|
||||
|
||||
free(linear_table_trc);
|
||||
|
||||
-->
|
||||
<img src="color-curv.png">
|
||||
<img src="color-table.png">
|
||||
<img src="color-lin.png">
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue