Reviewers: ,

Description:
Issue 7457

Please review this at http://gwt-code-reviews.appspot.com/1762803/

Affected files:
  user/src/com/google/gwt/dom/client/Style.java


Index: user/src/com/google/gwt/dom/client/Style.java
===================================================================
--- user/src/com/google/gwt/dom/client/Style.java       (revision 11152)
+++ user/src/com/google/gwt/dom/client/Style.java       (working copy)
@@ -1,12 +1,12 @@
 /*
  * Copyright 2008 Google Inc.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of
  * the License at
- *
+ *
  * http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
  * Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -19,13 +19,13 @@

 /**
  * Provides programmatic access to properties of the style object.
- *
+ *
  * <p>
  * Note that if a property or value is not explicitly enumerated in this
  * class, you can still access it via {@link #getProperty(String)},
  * and {@link #setProperty(String, String)}.
  * </p>
- *
+ *
  * @see Element#getStyle()
  */
 public class Style extends JavaScriptObject {
@@ -164,7 +164,7 @@
     @Override
     public abstract String getCssName();
   }
-
+
   /**
    * Enum for the cursor property.
    */
@@ -726,7 +726,7 @@
     @Override
     public abstract String getCssName();
   }
-
+
   /**
    * Enum for the 'text-overflow' CSS3 property.
    */
@@ -898,7 +898,7 @@
   private static final String BORDER_STYLE_DOTTED = "dotted";
   private static final String BORDER_STYLE_HIDDEN = "hidden";
   private static final String BORDER_STYLE_NONE = "none";
-
+
   private static final String CLEAR_BOTH = "both";
   private static final String CLEAR_LEFT = "left";
   private static final String CLEAR_NONE = "none";
@@ -1034,7 +1034,7 @@
   private static final String TEXT_DECORATION_NONE = "none";
   private static final String TEXT_DECORATION_OVERLINE = "overline";
   private static final String TEXT_DECORATION_UNDERLINE = "underline";
-
+
   private static final String TEXT_JUSTIFY_AUTO = "auto";
   private static final String TEXT_JUSTIFY_DISTRIBUTE = "distribute";
   private static final String TEXT_JUSTIFY_INTER_CLUSTER = "inter-cluster";
@@ -1042,7 +1042,7 @@
   private static final String TEXT_JUSTIFY_INTER_WORD = "inter-word";
   private static final String TEXT_JUSTIFY_KASHIDA = "kashida";
   private static final String TEXT_JUSTIFY_NONE = "none";
-
+
   private static final String TEXT_OVERFLOW_CLIP = "clip";
   private static final String TEXT_OVERFLOW_ELLIPSIS = "ellipsis";

@@ -1072,12 +1072,12 @@

   private static final String VISIBILITY_HIDDEN = "hidden";
   private static final String VISIBILITY_VISIBLE = "visible";
-
+
   private static final String WHITE_SPACE_NORMAL = "normal";
   private static final String WHITE_SPACE_NOWRAP = "nowrap";
   private static final String WHITE_SPACE_PRE = "pre";
   private static final String WHITE_SPACE_PRE_LINE = "pre-line";
-  private static final String WHITE_SPACE_PRE_WRAP = "pre-wrap";
+  private static final String WHITE_SPACE_PRE_WRAP = "pre-wrap";

   protected Style() {
   }
@@ -1153,7 +1153,7 @@
   }

   /**
-   * Clear the font-size css property.
+   * Clear the 'float' CSS property.
    */
   public final void clearFloat() {
     clearProperty(DOMImpl.impl.cssFloatPropertyName());
@@ -1284,14 +1284,14 @@
   public final void clearOverflowX() {
     clearProperty(STYLE_OVERFLOW_X);
   }
-
+
   /**
    * Clears the overflow-y CSS property.
    */
   public final void clearOverflowY() {
     clearProperty(STYLE_OVERFLOW_Y);
   }
-
+
   /**
    * Clear the padding css property.
    */
@@ -1368,28 +1368,28 @@
   public final void clearTextDecoration() {
     clearProperty(STYLE_TEXT_DECORATION);
   }
-
+
   /**
    * Clear the 'text-indent' CSS property.
    */
   public final void clearTextIndent() {
     clearProperty(STYLE_TEXT_INDENT);
   }
-
+
   /**
    * Clear the 'text-justify' CSS3 property.
    */
   public final void clearTextJustify() {
     clearProperty(STYLE_TEXT_JUSTIFY);
   }
-
+
   /**
    * Clear the 'text-overflow' CSS3 property.
    */
   public final void clearTextOverflow() {
     clearProperty(STYLE_TEXT_OVERFLOW);
   }
-
+
   /**
    * Clear the 'text-transform' CSS property.
    */
@@ -1601,14 +1601,14 @@
   }

   /**
-   * Gets the overflow-x CSS property.
+   * Gets the overflow-x CSS property.
    */
   public final String getOverflowX() {
     return getProperty(STYLE_OVERFLOW_X);
   }

   /**
-   * Gets the overflow-y CSS property.
+   * Gets the overflow-y CSS property.
    */
   public final String getOverflowY() {
     return getProperty(STYLE_OVERFLOW_Y);
@@ -1691,14 +1691,14 @@
   public final String getTextDecoration() {
     return getProperty(STYLE_TEXT_DECORATION);
   }
-
+
   /**
    * Get the 'text-indent' CSS property.
    */
   public final String getTextIndent() {
     return getProperty(STYLE_TEXT_INDENT);
   }
-
+
   /**
    * Get the 'text-justify' CSS3 property.
    */
@@ -2032,7 +2032,7 @@

   /**
    * Sets the value of a named property, in pixels.
-   *
+   *
    * This is shorthand for <code>value + "px"</code>.
    */
   public final void setPropertyPx(String name, int value) {
@@ -2066,7 +2066,7 @@
   public final void setTextDecoration(TextDecoration value) {
     setProperty(STYLE_TEXT_DECORATION, value.getCssName());
   }
-
+
   /**
    * Set the 'text-indent' CSS property.
    */
@@ -2146,7 +2146,7 @@

   /**
    * Assert that the specified property does not contain a hyphen.
-   *
+   *
    * @param name the property name
    */
   private void assertCamelCase(String name) {


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to