Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-listbox.html

Issue 347773002: Implement select listbox using shadow DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-listbox.html
diff --git a/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-listbox.html b/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-listbox.html
index b4259bf491da0d3aa4e495ab7dbf7ce5dd8bce16..bdff4dd44196e550f0094d57f826448a3f748dec 100644
--- a/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-listbox.html
+++ b/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-listbox.html
@@ -58,7 +58,7 @@
eventSender.gestureScrollEnd(0, 0);
debug("Flinging the list box should scroll the list, the scrolls should be locked to item boundaries");
- shouldBe('box.scrollTop', '2*itemHeight');
+ shouldBe('box.scrollTop', '2*itemHeight+10');
shouldBe('container.scrollTop', '0');
resetScroll();
@@ -103,7 +103,7 @@
eventSender.gestureScrollEnd(0, 0);
debug("Gesture scrolling list should scroll the list, the scrolls should lock to item boundaries");
- shouldBe('box.scrollTop', '3*itemHeight');
+ shouldBe('box.scrollTop', '3*itemHeight+6');
shouldBe('container.scrollTop', '0');
resetScroll();
@@ -145,7 +145,7 @@
{
box = document.getElementById("box");
container = document.getElementById("container");
- itemHeight = (box.clientHeight + 1) / box.size;
+ itemHeight = box.clientHeight / box.size;
fullyScrolled = box.scrollHeight - box.clientHeight;

Powered by Google App Engine
This is Rietveld 408576698