Bug 1234077 - Test that GIFs are still drawn correctly when their frame rects are truncated - r=seth

This commit is contained in:
Edwin Flores 2016-03-14 18:26:38 +00:00
Родитель 84248389f9
Коммит 3a94cf4328
7 изменённых файлов: 65 добавлений и 0 удалений

Просмотреть файл

@ -25,6 +25,10 @@ skip == test_bug641198.html animation2a-finalframe.gif # Disabled; see bug 1120
# Bug 1068230
== tile-transform.html tile-transform-ref.html
# Bug 1234077
# will fail until 1247152 lands
fails == truncated-framerect.html truncated-framerect-ref.html
# webcam-simulacrum.mgif is a hand-edited file containing red.gif and blue.gif,
# concatenated together with the relevant headers for
# multipart/x-mixed-replace. Specifically, with the headers in

Двоичные данные
image/test/reftest/gif/truncated-framerect-interlaced-ref.gif Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 927 B

Двоичные данные
image/test/reftest/gif/truncated-framerect-interlaced.gif Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 927 B

Двоичные данные
image/test/reftest/gif/truncated-framerect-ref.gif Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 929 B

Просмотреть файл

@ -0,0 +1,33 @@
<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
- http://creativecommons.org/publicdomain/zero/1.0/ -->
<html>
<head>
<title>Bug 1234077 - Make sure GIFs still render correctly with a truncated frameRect</title>
<style type="text/css">
div, img {
padding: 0;
margin: 0;
border: 0;
overflow: hidden;
width: 200px;
height: 200px;
}
div img {
margin: 136px 0 0 136px;
}
</style>
</head>
<body>
<img src="truncated-framerect-interlaced-ref.gif" />
<div>
<img src="truncated-framerect-ref.gif" />
</div>
<div>
<img src="truncated-framerect-interlaced-ref.gif" />
</div>
</body>
</html>

Двоичные данные
image/test/reftest/gif/truncated-framerect.gif Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 929 B

Просмотреть файл

@ -0,0 +1,28 @@
<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
- http://creativecommons.org/publicdomain/zero/1.0/ -->
<html>
<head>
<title>Bug 1234077 - Make sure GIFs still render correctly with a truncated frameRect</title>
<style type="text/css">
div, img {
padding: 0;
margin: 0;
border: 0;
width: 200px;
height: 200px;
}
</style>
</head>
<body>
<img src="truncated-framerect-ref.gif" />
<div>
<img src="truncated-framerect.gif" />
</div>
<div>
<img src="truncated-framerect-interlaced.gif" />
</div>
</body>
</html>