diff options
author | Manolo Carrasco <manolo@apache.org> | 2011-08-27 21:23:23 +0000 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2011-08-27 21:23:23 +0000 |
commit | 7f7b467bcc936648c7f31a0bd6732603d7e708f7 (patch) | |
tree | 33de811b6ae4d30aeae4e5ea865a81ea9185c37b /gwtquery-core | |
parent | 69febf399bf93977894bdc98d725ba88b5c56941 (diff) | |
download | gwtquery-7f7b467bcc936648c7f31a0bd6732603d7e708f7.tar.gz gwtquery-7f7b467bcc936648c7f31a0bd6732603d7e708f7.zip |
Fixes issue99
Diffstat (limited to 'gwtquery-core')
-rw-r--r-- | gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java index 96473dbd..af6debf6 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java @@ -1310,17 +1310,20 @@ public class GQuery implements Lazy<GQuery, LazyGQuery> { * Return a style property on the first matched element.
*/
public String css(String name) {
- return css(name, false);
+ return css(name, true);
}
/**
* Return a style property on the first matched element.
*
- * The parameter force has a special meaning here: - When force is false,
- * returns the value of the css property defined in the style attribute of the
- * element. - Otherwise it returns the real computed value.
+ * The parameter force has a special meaning here:
+ * <ul>
+ * <li>When force is false, returns the value of the css property
+ * defined in the style attribute of the element.
+ * <li>Otherwise it returns the real computed value.
+ * </ul>
*
- * For instance if you define 'display=none' not in the element style but in
+ * For instance if you don't define 'display=none'in the element style but in
* the css stylesheet, it returns an empty string unless you pass the
* parameter force=true.
*/
|