[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198
weinig at apple.com
weinig at apple.com
Sun Feb 20 23:52:30 UTC 2011
The following commit has been merged in the webkit-1.3 branch:
commit 078ee947221ad82838e43613ab2146f880348ea2
Author: weinig at apple.com <weinig at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Jan 26 05:41:57 2011 +0000
Make this test a bit more robust agains different scrollbar widths.
* fast/overflow/overflow-rtl-vertical-origin.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 0c24ef1..f5a3708 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,5 +1,11 @@
2011-01-25 Sam Weinig <sam at webkit.org>
+ Make this test a bit more robust agains different scrollbar widths.
+
+ * fast/overflow/overflow-rtl-vertical-origin.html:
+
+2011-01-25 Sam Weinig <sam at webkit.org>
+
Reviewed by David Hyatt.
Scrollbars don't work correctly for top-to-bottom text in an overflow: scroll area
diff --git a/LayoutTests/fast/overflow/overflow-rtl-vertical-origin.html b/LayoutTests/fast/overflow/overflow-rtl-vertical-origin.html
index 478ac0e..0026c6a 100644
--- a/LayoutTests/fast/overflow/overflow-rtl-vertical-origin.html
+++ b/LayoutTests/fast/overflow/overflow-rtl-vertical-origin.html
@@ -15,9 +15,16 @@
layoutTestController.dumpAsText();
var t = document.getElementById("test");
- if (t.scrollTop == 115)
+ var initialTop = t.scrollTop;
+
+ // Scroll as far as you can.
+ t.scrollTop = 1000;
+
+ var newTop = t.scrollTop
+
+ if (initialTop == newTop)
log("PASS: test.scrollTop is correct.")
else
- log("FAIL: test.scrollTop is incorrect. It is " + t.scrollTop + " but should be 115.");
+ log("FAIL: test.scrollTop is incorrect. It is " + initialTop + " but should be " + newTop + ".");
</script>
</body>
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list