/**\r
* Access a property on the first matched element. This method makes it easy\r
* to retrieve a property value from the first matched element. If the element\r
- * does not have an attribute with such a name, undefined is returned.\r
+ * does not have an attribute with such a name, empty string is returned.\r
* Attributes include title, alt, src, href, width, style, etc.\r
*/\r
public String attr(String name) {\r
"borderLeftWidth", true);\r
parentOffset = parentOffset.add(parentOffsetBorderLeft,\r
parentOffsetBorderTop);\r
-\r
+ \r
// Subtract the two offsets\r
return offset.add(-parentOffset.left, -parentOffset.top);\r
}\r
}\r
\r
/**\r
- * Return the number of elements in the matched set. Make visible all mached\r
- * elements\r
+ * Make all matched elements visible\r
*/\r
public GQuery show() {\r
for (Element e : elements()) {\r