Bug 611498 - Add a test for transparent areas overdrawing when repeatedly drawn. r=jrmuizel a=b

--HG--
extra : rebase_source : 42a63d58e136368a595ba1714ceac47134a0e1bf
This commit is contained in:
Joe Drew 2010-11-12 18:34:43 -05:00
Родитель 2ffec50cc0
Коммит 8a4afadd7a
6 изменённых файлов: 29 добавлений и 0 удалений

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

@ -0,0 +1,19 @@
<!doctype html>
<html class="reftest-wait">
<script type="text/javascript">
function done()
{
document.documentElement.className = "";
}
function move()
{
elem = document.getElementById("moving");
elem.addEventListener("transitionend", done, true);
elem.style.position = "relative";
elem.style.top = 0;
}
</script>
<body style="background: url('bwinton.jpg'); background-attachment: fixed" onload="move()">
<div id="moving" style="position: absolute; top: 50px; background-image: url('blacktrans.png'); width: 100px; height: 100px; -moz-transition: top 0.1s">blah blah blah</div>
</body>
</html>

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

@ -0,0 +1,6 @@
<!doctype html>
<html>
<body style="background: url('bwinton.jpg'); background-attachment: fixed">
<div style="background: url('blacktrans.png'); width: 100px; height: 100px">blah blah blah</div>
</body>
</html>

Двоичные данные
gfx/tests/reftest/blacktrans.png Normal file

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

После

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

Двоичные данные
gfx/tests/reftest/bwinton.jpg Normal file

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

После

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

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

@ -0,0 +1 @@
== 611498-1.html 611498-ref.html

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

@ -143,6 +143,9 @@ include font-matching/reftest.list
# forms
include forms/reftest.list
# gfx
include ../../gfx/tests/reftest/reftest.list
# block-inside-inline splits
include ib-split/reftest.list