Issue #2112 - Part 1: Remove Stylo tests

This commit is contained in:
FranklinDM 2022-05-24 02:04:10 +08:00 committed by roytam1
commit 656ee639c5
97 changed files with 0 additions and 2835 deletions

View file

@ -1,22 +0,0 @@
# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
# BMP 1BPP tests
# Images of various sizes
fails == bmp-size-1x1-1bpp.bmp bmp-size-1x1-1bpp.bmp
fails == bmp-size-2x2-1bpp.bmp bmp-size-2x2-1bpp.bmp
fails == bmp-size-3x3-1bpp.bmp bmp-size-3x3-1bpp.bmp
fails == bmp-size-4x4-1bpp.bmp bmp-size-4x4-1bpp.bmp
fails == bmp-size-5x5-1bpp.bmp bmp-size-5x5-1bpp.bmp
fails == bmp-size-6x6-1bpp.bmp bmp-size-6x6-1bpp.bmp
fails == bmp-size-7x7-1bpp.bmp bmp-size-7x7-1bpp.bmp
fails == bmp-size-8x8-1bpp.bmp bmp-size-8x8-1bpp.bmp
fails == bmp-size-9x9-1bpp.bmp bmp-size-9x9-1bpp.bmp
fails == bmp-size-15x15-1bpp.bmp bmp-size-15x15-1bpp.bmp
fails == bmp-size-16x16-1bpp.bmp bmp-size-16x16-1bpp.bmp
fails == bmp-size-17x17-1bpp.bmp bmp-size-17x17-1bpp.bmp
fails == bmp-size-31x31-1bpp.bmp bmp-size-31x31-1bpp.bmp
fails == bmp-size-32x32-1bpp.bmp bmp-size-32x32-1bpp.bmp
fails == bmp-size-33x33-1bpp.bmp bmp-size-33x33-1bpp.bmp
fails == bmp-not-square-1bpp.bmp bmp-not-square-1bpp.bmp
fails == os2bmp-size-32x32-1bpp.bmp os2bmp-size-32x32-1bpp.bmp
fails == top-to-bottom-16x16-1bpp.bmp top-to-bottom-16x16-1bpp.bmp

View file

@ -1,22 +0,0 @@
# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
# BMP 24BPP tests
# Images of various sizes
fails == bmp-size-1x1-24bpp.bmp bmp-size-1x1-24bpp.bmp
fails == bmp-size-2x2-24bpp.bmp bmp-size-2x2-24bpp.bmp
fails == bmp-size-3x3-24bpp.bmp bmp-size-3x3-24bpp.bmp
fails == bmp-size-4x4-24bpp.bmp bmp-size-4x4-24bpp.bmp
fails == bmp-size-5x5-24bpp.bmp bmp-size-5x5-24bpp.bmp
fails == bmp-size-6x6-24bpp.bmp bmp-size-6x6-24bpp.bmp
fails == bmp-size-7x7-24bpp.bmp bmp-size-7x7-24bpp.bmp
fails == bmp-size-8x8-24bpp.bmp bmp-size-8x8-24bpp.bmp
fails == bmp-size-9x9-24bpp.bmp bmp-size-9x9-24bpp.bmp
fails == bmp-size-15x15-24bpp.bmp bmp-size-15x15-24bpp.bmp
fails == bmp-size-16x16-24bpp.bmp bmp-size-16x16-24bpp.bmp
fails == bmp-size-17x17-24bpp.bmp bmp-size-17x17-24bpp.bmp
fails == bmp-size-31x31-24bpp.bmp bmp-size-31x31-24bpp.bmp
fails == bmp-size-32x32-24bpp.bmp bmp-size-32x32-24bpp.bmp
fails == bmp-size-33x33-24bpp.bmp bmp-size-33x33-24bpp.bmp
fails == bmp-not-square-24bpp.bmp bmp-not-square-24bpp.bmp
fails == os2bmp-size-32x32-24bpp.bmp os2bmp-size-32x32-24bpp.bmp
fails == top-to-bottom-16x16-24bpp.bmp top-to-bottom-16x16-24bpp.bmp

View file

@ -1,25 +0,0 @@
# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
# BMP 4BPP tests
# Images of various sizes
fails == bmp-size-1x1-4bpp.bmp bmp-size-1x1-4bpp.bmp
fails == bmp-size-2x2-4bpp.bmp bmp-size-2x2-4bpp.bmp
fails == bmp-size-3x3-4bpp.bmp bmp-size-3x3-4bpp.bmp
fails == bmp-size-4x4-4bpp.bmp bmp-size-4x4-4bpp.bmp
fails == bmp-size-5x5-4bpp.bmp bmp-size-5x5-4bpp.bmp
fails == bmp-size-6x6-4bpp.bmp bmp-size-6x6-4bpp.bmp
fails == bmp-size-7x7-4bpp.bmp bmp-size-7x7-4bpp.bmp
fails == bmp-size-8x8-4bpp.bmp bmp-size-8x8-4bpp.bmp
fails == bmp-size-9x9-4bpp.bmp bmp-size-9x9-4bpp.bmp
fails == bmp-size-15x15-4bpp.bmp bmp-size-15x15-4bpp.bmp
skip == bmp-size-16x16-4bpp.bmp bmp-size-16x16-4bpp.bmp
fails == bmp-size-17x17-4bpp.bmp bmp-size-17x17-4bpp.bmp
fails == bmp-size-31x31-4bpp.bmp bmp-size-31x31-4bpp.bmp
fails == bmp-size-32x32-4bpp.bmp bmp-size-32x32-4bpp.bmp
fails == bmp-size-33x33-4bpp.bmp bmp-size-33x33-4bpp.bmp
fails == bmp-not-square-4bpp.bmp bmp-not-square-4bpp.bmp
fails == os2bmp-size-32x32-4bpp.bmp os2bmp-size-32x32-4bpp.bmp
fails == top-to-bottom-16x16-4bpp.bmp top-to-bottom-16x16-4bpp.bmp
# test that delta skips are drawn as transparent
# taken from http://bmptestsuite.sourceforge.net/
== rle4-delta-320x240.bmp rle4-delta-320x240.bmp

View file

@ -1,25 +0,0 @@
# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
# BMP 8BPP tests
# Images of various sizes
fails == bmp-size-1x1-8bpp.bmp bmp-size-1x1-8bpp.bmp
fails == bmp-size-2x2-8bpp.bmp bmp-size-2x2-8bpp.bmp
fails == bmp-size-3x3-8bpp.bmp bmp-size-3x3-8bpp.bmp
fails == bmp-size-4x4-8bpp.bmp bmp-size-4x4-8bpp.bmp
fails == bmp-size-5x5-8bpp.bmp bmp-size-5x5-8bpp.bmp
fails == bmp-size-6x6-8bpp.bmp bmp-size-6x6-8bpp.bmp
fails == bmp-size-7x7-8bpp.bmp bmp-size-7x7-8bpp.bmp
fails == bmp-size-8x8-8bpp.bmp bmp-size-8x8-8bpp.bmp
fails == bmp-size-9x9-8bpp.bmp bmp-size-9x9-8bpp.bmp
fails == bmp-size-15x15-8bpp.bmp bmp-size-15x15-8bpp.bmp
fails == bmp-size-16x16-8bpp.bmp bmp-size-16x16-8bpp.bmp
fails == bmp-size-17x17-8bpp.bmp bmp-size-17x17-8bpp.bmp
fails == bmp-size-31x31-8bpp.bmp bmp-size-31x31-8bpp.bmp
fails == bmp-size-32x32-8bpp.bmp bmp-size-32x32-8bpp.bmp
fails == bmp-size-33x33-8bpp.bmp bmp-size-33x33-8bpp.bmp
fails == bmp-not-square-8bpp.bmp bmp-not-square-8bpp.bmp
random == rle-bmp-not-square-8bpp.bmp rle-bmp-not-square-8bpp.bmp
fails == os2-bmp-size-32x32-8bpp.bmp os2-bmp-size-32x32-8bpp.bmp
random == rle-bmp-size-32x32-8bpp.bmp rle-bmp-size-32x32-8bpp.bmp
== top-to-bottom-rle-bmp-size-32x32-8bpp.bmp top-to-bottom-rle-bmp-size-32x32-8bpp.bmp
fails == top-to-bottom-16x16-8bpp.bmp top-to-bottom-16x16-8bpp.bmp

View file

@ -1,19 +0,0 @@
# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
# Corrupted BMP tests
skip == wrapper.html?invalid-signature.bmp wrapper.html?invalid-signature.bmp
skip == wrapper.html?invalid-bpp.bmp wrapper.html?invalid-bpp.bmp
skip == wrapper.html?os2-invalid-bpp.bmp wrapper.html?os2-invalid-bpp.bmp
# Tests for an unsupported compression value
skip == wrapper.html?invalid-compression.bmp wrapper.html?invalid-compression.bmp
# Tests for RLE4 with an invalid BPP
skip == wrapper.html?invalid-compression-RLE4.bmp wrapper.html?invalid-compression-RLE4.bmp
# Tests for RLE8 with an invalid BPP
skip == wrapper.html?invalid-compression-RLE8.bmp wrapper.html?invalid-compression-RLE8.bmp
# Test for BITFIELDS with an invalid BIH size. (This is the obscure
# BITMAPV3INFOHEADER variant mentioned in
# https://en.wikipedia.org/wiki/BMP_file_format which we don't accept.)
skip == wrapper.html?invalid-compression-BITFIELDS.bmp wrapper.html?invalid-compression-BITFIELDS.bmp
skip == wrapper.html?invalid-truncated-metadata.bmp wrapper.html?invalid-truncated-metadata.bmp

View file

@ -1,85 +0,0 @@
# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
# bmpsuite "bad" tests
# See ../README.mozilla for details.
# BMP: bihsize=40, 127 x 64, bpp=30000, compression=0, colors=2
# "Header indicates an absurdly large number of bits/pixel."
# [We reject it. So does Chromium.]
skip == wrapper.html?badbitcount.bmp wrapper.html?badbitcount.bmp
# BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=2
# "Header incorrectly indicates that the bitmap is several GB in size."
# [We accept it. So does Chromium.]
fails == badbitssize.bmp badbitssize.bmp
# BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=2
# BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=2
# "Density (pixels per meter) suggests the image is much larger in one
# dimension than the other."
# [We accept them. So does Chromium.]
fails == baddens1.bmp baddens1.bmp
fails == baddens2.bmp baddens2.bmp
# BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=2
# "Header incorrectly indicates that the file is several GB in size."
# [We accept it. So does Chromium.]
fails == badfilesize.bmp badfilesize.bmp
# BMP: <no "BMP:" output is produced for files with bad header sizes>
# "Header size is 66 bytes, which is not a valid size for any known BMP
# version."
# [We reject it. So does Chromium.]
skip == wrapper.html?badheadersize.bmp wrapper.html?badheadersize.bmp
# BMP: bihsize=40, 127 x 64, bpp=8, compression=0, colors=305402420
# "Header incorrectly indicates that the palette contains an absurdly large
# number of colors."
# [We reject it. Chromium accepts it but draws nothing. Rejecting seems
# preferable give that the data is clearly untrustworthy.]
skip == wrapper.html?badpalettesize.bmp wrapper.html?badpalettesize.bmp
# BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=2
# "The 'planes' setting, which is required to be 1, is not 1."
# [We accept it. So does Chromium.]
fails == badplanes.bmp badplanes.bmp
# BMP: bihsize=40, 127 x 64, bpp=8, compression=1, colors=253
# "An invalid RLE-compressed image that tries to cause buffer overruns."
# [We accept it, drawing the valid first part and leaving the rest black.
# Chromium accepts it, drawing the valid first part and leaving the rest
# transparent. Using black for the invalid part is arguably better because it
# makes the image edges more obvious.]
== badrle.bmp badrle.bmp
# BMP: bihsize=40, -127 x 64, bpp=1, compression=0, colors=2
# "The image claims to be a negative number of pixels in width."
# [We reject it. So does Chromium.]
skip == wrapper.html?badwidth.bmp wrapper.html?badwidth.bmp
# BMP: bihsize=40, 127 x 64, bpp=8, compression=0, colors=101
# "Many of the palette indices used in the image are not present in the
# palette."
# [We accept it and use black for the missing colors. So does Chromium.]
fails == pal8badindex.bmp pal8badindex.bmp
# BMP: bihsize=40, 3000000 x 2000000, bpp=24, compression=0, colors=0
# "An image with a very large reported width and height."
# [We reject it. So does Chromium.]
skip == wrapper.html?reallybig.bmp wrapper.html?reallybig.bmp
# BMP: bihsize=40, 127 x -64, bpp=8, compression=1, colors=252
# "An RLE-compressed image that tries to use top-down orientation, which isnt
# allowed."
# [We accept it. Chromium rejects it. Accepting seems better given that we can
# decode it perfectly well.]
== rletopdown.bmp rletopdown.bmp
# BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=2
# "A file that has been truncated in the middle of the bitmap."
# [We accept it, drawing the part that is present and leaving the rest black.
# Chromium draws the part that is present and leaves the rest transparent.
# Using black for the invalid part is arguably better because it makes the
# image edges more obvious.]
fails == shortfile.bmp shortfile.bmp

View file

@ -1,113 +0,0 @@
# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
# bmpsuite "good" tests
# See ../README.mozilla for details.
# BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=2
# "1 bit/pixel paletted image, in which black is the first color in the
# palette."
fails == pal1.bmp pal1.bmp
# BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=2
# "1 bit/pixel paletted image, in which white is the first color in the
# palette."
fails == pal1wb.bmp pal1wb.bmp
# BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=2
# "1 bit/pixel paletted image, with colors other than black and white."
fails == pal1bg.bmp pal1bg.bmp
# BMP: bihsize=40, 127 x 64, bpp=4, compression=0, colors=12
# "Paletted image with 12 palette colors, and 4 bits/pixel."
fails == pal4.bmp pal4.bmp
# BMP: bihsize=40, 127 x 64, bpp=4, compression=2, colors=12
# "4-bit image that uses RLE compression."
== pal4rle.bmp pal4rle.bmp
# BMP: bihsize=40, 127 x 64, bpp=8, compression=0, colors=252
# "Our standard paletted image, with 252 palette colors, and 8 bits/pixel."
fails == pal8.bmp pal8.bmp
# BMP: bihsize=40, 127 x 64, bpp=8, compression=0, colors=0
# "Every field that can be set to 0 is set to 0: pixels/meter=0; colors used=0
# (meaning the default 256); size-of-image=0."
fails == pal8-0.bmp pal8-0.bmp
# BMP: bihsize=40, 127 x 64, bpp=8, compression=1, colors=252
# "8-bit image that uses RLE compression."
== pal8rle.bmp pal8rle.bmp
# BMP: bihsize=40, 126 x 63, bpp=8, compression=0, colors=252
# BMP: bihsize=40, 125 x 62, bpp=8, compression=0, colors=252
# BMP: bihsize=40, 124 x 61, bpp=8, compression=0, colors=252
# "Images with different widths and heights. In BMP format, rows are padded to
# a multiple of four bytes, so we test all four possibilities."
fails == pal8w126.bmp pal8w126.bmp
fails == pal8w125.bmp pal8w125.bmp
fails == pal8w124.bmp pal8w124.bmp
# BMP: bihsize=40, 127 x -64, bpp=8, compression=0, colors=252
# "BMP images are normally stored from the bottom up, but there is a way to
# store them from the top down."
fails == pal8topdown.bmp pal8topdown.bmp
# BMP: bihsize=40, 127 x 32, bpp=8, compression=0, colors=252
# "An image with non-square pixels: the X pixels/meter is twice the Y
# pixels/meter. Image editors can be expected to leave the image 'squashed';
# image viewers should consider stretching it to its correct proportions."
# [We leave it squashed, as does Chromium.]
fails == pal8nonsquare.bmp pal8nonsquare.bmp
# BMP: bihsize=12, 127 x 64, bpp=8, compression=0, colors=0
# "An OS/2-style bitmap."
fails == pal8os2.bmp pal8os2.bmp
# BMP: bihsize=108, 127 x 64, bpp=8, compression=0, colors=252
# "A v4 bitmap. Im not sure that the gamma and chromaticity values in this
# file are sensible, because I cant find any detailed documentation of them."
fails == pal8v4.bmp pal8v4.bmp
# BMP: bihsize=124, 127 x 64, bpp=8, compression=0, colors=252
# "A v5 bitmap. Version 5 has additional colorspace options over v4, so it is
# easier to create, and ought to be more portable."
fails == pal8v5.bmp pal8v5.bmp
# BMP: bihsize=40, 127 x 64, bpp=16, compression=0, colors=0
# "A 16-bit image with the default color format: 5 bits each for red, green, and
# blue, and 1 unused bit. The whitest colors should (I assume) be displayed as
# pure white: (255,255,255), not (248,248,248)."
fails == rgb16.bmp rgb16.bmp
# BMP: bihsize=40, 127 x 64, bpp=16, compression=3, colors=0
# "A 16-bit image with a BITFIELDS segment indicating 5 red, 6 green, and 5 blue
# bits. This is a standard 16-bit format, even supported by old versions of
# Windows that dont support any other non-default 16-bit formats. The whitest
# colors should be displayed as pure white: (255,255,255), not (248,252,248)."
== rgb16.bmp rgb16.bmp
# BMP: bihsize=40, 127 x 64, bpp=16, compression=3, colors=256
# "A 16-bit image with both a BITFIELDS segment and a palette."
== rgb16.bmp rgb16.bmp
# BMP: bihsize=40, 127 x 64, bpp=24, compression=0, colors=0
# "A perfectly ordinary 24-bit (truecolor) image."
fails == rgb24.bmp rgb24.bmp
# BMP: bihsize=40, 127 x 64, bpp=24, compression=0, colors=256
# "A 24-bit image, with a palette containing 256 colors. There is little if any
# reason for a truecolor image to contain a palette, but it is legal."
fails == rgb24pal.bmp rgb24pal.bmp
# BMP: bihsize=40, 127 x 64, bpp=32, compression=0, colors=0
# "A 32-bit image using the default color format for 32-bit images (no
# BITFIELDS segment). There are 8 bits per color channel, and 8 unused bits.
# The unused bits are set to 0."
skip == rgb32.bmp rgb32.bmp
# BMP: bihsize=40, 127 x 64, bpp=32, compression=3, colors=0
# "A 32-bit image with a BITFIELDS segment. As usual, there are 8 bits per color
# channel, and 8 unused bits. But the color channels are in an unusual order,
# so the viewer must read the BITFIELDS, and not just guess."
fails == rgb32bf.bmp rgb32bf.bmp

View file

@ -1,131 +0,0 @@
# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
# bmpsuite "questionable" tests
# See ../README.mozilla for details.
# BMP: bihsize=40, 127 x 64, bpp=1, compression=0, colors=1
# "1 bit/pixel paletted image, with only one color in the palette. The
# documentation says that 1-bpp images have a palette size of 2 (not 'up to
# 2'), but it would be silly for a viewer not to support a size of 1."
# [We accept it. So does Chromium.]
fails == pal1p1.bmp pal1p1.bmp
# BMP: bihsize=40, 127 x 64, bpp=2, compression=0, colors=4
# "A paletted image with 2 bits/pixel. Usually only 1, 4, and 8 are allowed,
# but 2 is legal on Windows CE."
# [We reject it. So does Chromium.]
skip == wrapper.html?pal2.bmp wrapper.html?pal2.bmp
# BMP: bihsize=40, 127 x 64, bpp=4, compression=2, colors=13
# "An RLE-compressed image that used 'delta' codes to skip over some pixels,
# leaving them undefined. Some viewers make undefined pixels transparent,
# others make them black, and others assign them palette color 0 (purple, in
# this case)."
# [We make the undefined pixels transparent. So does Chromium.]
== pal4rletrns.bmp pal4rletrns.bmp
# BMP: bihsize=40, 127 x 64, bpp=8, compression=1, colors=253
# "8-bit version of q/pal4rletrns.bmp."
# [Ditto.]
== pal8rletrns.bmp pal8rletrns.bmp
# BMP: bihsize=40, 127 x 64, bpp=8, compression=0, colors=252
# "A file with some unused bytes between the palette and the image. This is
# probably valid, but Im not 100% sure."
# [We accept it. So does Chromium.]
fails == pal8offs.bmp pal8offs.bmp
# BMP: bihsize=40, 127 x 64, bpp=8, compression=0, colors=300
# "An 8-bit image with 300 palette colors. This may be invalid, because the
# documentation could be interpreted to imply that 8-bit images arent allowed
# to have more than 256 colors."
# [We accept it. So does Chromium.]
fails == pal8oversizepal.bmp pal8oversizepal.bmp
# BMP: bihsize=12, 127 x 64, bpp=8, compression=0, colors=0
# "An OS/2v1 with a less-than-full-sized palette. Probably not valid, but such
# files have been seen in the wild."
# [We reject it. Chromium accepts it but draws nothing. Rejecting seems
# preferable given that the color and pixel data must overlap, which can only
# lead to rubbish results.]
skip == wrapper.html?pal8os2sp.bmp wrapper.html?pal8os2sp.bmp
# BMP: bihsize=64, 127 x 64, bpp=8, compression=0, colors=252
# "My attempt to make an OS/2v2 bitmap."
# [We accept it. So does Chromium.]
fails == pal8os2v2.bmp pal8os2v2.bmp
# BMP: bihsize=16, 127 x 64, bpp=8, compression=0, colors=0
# "An OS/2v2 bitmap whose header has only 16 bytes, instead of the full 64."
# [We accept it. So does Chromium.]
fails == pal8os2v2-16.bmp pal8os2v2-16.bmp
# BMP: bihsize=40, 127 x 64, bpp=16, compression=3, colors=0
# "An unusual and silly 16-bit image, with 2 red bits, 3 green bits, and 1 blue
# bit. Most viewers do support this image, but the colors may be darkened with
# a yellow-green shadow. Thats because theyre doing simple bit-shifting
# (possibly including one round of bit replication), instead of proper
# scaling."
fails == rgb16-231.bmp rgb16-231.bmp
# BMP: bihsize=124, 127 x 64, bpp=16, compression=3, colors=0
# "A 16-bit image with an alpha channel. There are 4 bits for each color
# channel, and 4 bits for the alpha channel. Its not clear if this is valid,
# but I cant find anything that suggests it isnt."
== rgba16-4444.bmp rgba16-4444.bmp
# BMP: bihsize=40, 127 x 64, bpp=24, compression=0, colors=300
# "A 24-bit image, with a palette containing 300 colors. The fact that the
# palette has more than 256 colors may cause some viewers to complain, but the
# documentation does not mention a size limit."
# [We accept it. So does Chromium.]
fails == rgb24largepal.bmp rgb24largepal.bmp
# BMP: bihsize=124, 127 x 64, bpp=24, compression=0, colors=0
# "My attempt to make a BMP file with an embedded color profile."
# [We support it, though we don't do anything with the color profile. Chromium
# also handles it.]
fails == rgb24prof.bmp rgb24prof.bmp
# BMP: bihsize=124, 127 x 64, bpp=24, compression=0, colors=0
# "My attempt to make a BMP file with a linked color profile."
# [We accept it, though we don't do anything with the color profile. Chromium
# also handles it.]
fails == rgb24lprof.bmp rgb24lprof.bmp
# BMP: bihsize=124, 127 x 64, bpp=0, compression=4, colors=0
# BMP: bihsize=124, 127 x 64, bpp=0, compression=5, colors=0
# "My attempt to make BMP files with embedded JPEG and PNG images. These are
# not likely to be supported by much of anything (theyre intended for
# printers)."
# [We reject them. So does Chromium.]
skip == wrapper.html?rgb24jpeg.bmp wrapper.html?rgb24jpeg.bmp
skip == wrapper.html?rgb24png.bmp wrapper.html?rgb24png.bmp
# BMP: bihsize=40, 127 x 64, bpp=32, compression=0, colors=0
# "Same as g/rgb32.bmp, except that the unused bits are set to something other
# than 0. If the image becomes transparent toward the bottom, it probably means
# the viewer uses heuristics to guess whether the undefined data represents
# transparency."
# [We don't apply transparency here. Chromium does the same.]
fails == rgb32fakealpha.bmp rgb32fakealpha.bmp
# BMP: bihsize=40, 127 x 64, bpp=32, compression=3, colors=0
# "A 32 bits/pixel image, with all 32 bits used: 11 each for red and green, and
# 10 for blue. As far as I know, this is perfectly valid, but it is unusual."
fails == rgb32-111110.bmp rgb32-111110.bmp
# BMP: bihsize=124, 127 x 64, bpp=32, compression=3, colors=0
# "A BMP with an alpha channel. Transparency is barely documented, so its
# possible that this file is not correctly formed. The color channels are in an
# unusual order, to prevent viewers from passing this test by making a lucky
# guess."
== rgba32.bmp rgba32.bmp
# BMP: bihsize=40, 127 x 64, bpp=32, compression=6, colors=0
# "An image of type BI_ALPHABITFIELDS. Supposedly, this was used on Windows CE.
# I dont know whether it is constructed correctly."
# [We reject it. So does Chromium.]
skip == wrapper.html?rgba32abf.bmp wrapper.html?rgba32abf.bmp

View file

@ -1,8 +0,0 @@
# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
# bmpsuite tests
# See README.mozilla for details about these tests.
include g/reftest-stylo.list
include q/reftest-stylo.list
include b/reftest-stylo.list

View file

@ -1,17 +0,0 @@
# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
# BMP tests
include bmp-1bpp/reftest-stylo.list
include bmp-4bpp/reftest-stylo.list
include bmp-8bpp/reftest-stylo.list
include bmp-24bpp/reftest-stylo.list
include bmp-corrupted/reftest-stylo.list
include bmpsuite/reftest-stylo.list
# Two bmp files where the offset to the start of the image data in the file
# is past the end of the file. In 1240629-1.bmp the offset us uint32_max,
# so we are testing that we don't try to allocate a buffer that size (and
# fail on 32 bit platforms) and declare the image in error state. If in the
# future we decide that such bmps (offset past the end of the file) are
# invalid the test will still pass, but won't be testing much.
fails == 1240629-1.bmp 1240629-1.bmp