Bug 579276. Part 10: add a couple of scrolling tests to ensure that text looks good when scrolled in an overflow:auto div. a=blocking

This commit is contained in:
Robert O'Callahan 2010-09-02 21:19:24 +12:00
parent ec75a459d4
commit b2b43745af
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<!DOCTYPE HTML>
<html>
<body style="height:2000px; overflow:hidden; background:url(repeatable-diagonal-gradient.png) fixed;">
<script src="scrolling.js"></script>
<p>Hello Kitty
</body>
</html>

View File

@ -1,5 +1,7 @@
HTTP == fixed-1.html fixed-1.html?ref
HTTP == fixed-text-1.html fixed-text-1.html?ref
HTTP == opacity-mixed-scrolling-1.html opacity-mixed-scrolling-1.html?ref
HTTP == simple-1.html simple-1.html?ref
HTTP == text-1.html text-1.html?ref
== uncovering-1.html uncovering-1-ref.html
== uncovering-2.html uncovering-2-ref.html

View File

@ -0,0 +1,10 @@
<!DOCTYPE HTML>
<html>
<body>
<script src="scrolling.js"></script>
<div class="scrollTop" style="height:100px; overflow:auto;">
<div style="margin-top:30px;">Hello Kitty</div>
<div style="height:400px;"></div>
</div>
</body>
</html>