]> source.dussan.org Git - vaadin-framework.git/commitdiff
camelCasify CSS property names
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Fri, 11 May 2012 10:56:06 +0000 (10:56 +0000)
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Fri, 11 May 2012 10:56:06 +0000 (10:56 +0000)
svn changeset:23715/svn branch:6.8

src/com/vaadin/terminal/gwt/client/ui/TouchScrollDelegate.java

index 580313f433d093c9f363998160a81028dee578b7..171ec2838dab46710ed12afd326a2e8a019ad723 100644 (file)
@@ -125,15 +125,15 @@ public class TouchScrollDelegate implements NativePreviewHandler {
         public void debug(Element e) {
             VConsole.log("Classes: " + e.getClassName() + " overflow: "
                     + e.getStyle().getProperty("overflow") + " w-o-s: "
-                    + e.getStyle().getProperty("-webkit-overflow-scrolling"));
+                    + e.getStyle().getProperty("WebkitOverflowScrolling"));
         }
 
         public void addElement(Element scrollable) {
             scrollable.addClassName("v-scrollable");
-            scrollable.getStyle().setProperty("-webkit-overflow-scrolling",
+            scrollable.getStyle().setProperty("WebkitOverflowScrolling",
                     "touch");
-            scrollable.getStyle().setProperty("overflow-y", "auto");
-            scrollable.getStyle().setProperty("overflow-x", "hidden");
+            scrollable.getStyle().setProperty("overflowY", "auto");
+            scrollable.getStyle().setProperty("overflowX", "auto");
             if (requiresDelegate) {
                 delegate.scrollableElements.add(scrollable);
             }