Fix issue 3756: getRel() and setRel() in AnchorElement access the wrong JavaScript property

Review by: jgw



git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5743 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/dom/client/AnchorElement.java b/user/src/com/google/gwt/dom/client/AnchorElement.java
index 8dbe5f4..ff4d9e4 100644
--- a/user/src/com/google/gwt/dom/client/AnchorElement.java
+++ b/user/src/com/google/gwt/dom/client/AnchorElement.java
@@ -93,7 +93,7 @@
    * @see <a href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/links.html#adef-rel">W3C HTML Specification</a>
    */
   public final native String getRel() /*-{
-     return this.name;
+     return this.rel;
    }-*/;
 
   /**
@@ -165,7 +165,7 @@
    * @see <a href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/links.html#adef-rel">W3C HTML Specification</a>
    */
   public final native void setRel(String name) /*-{
-     this.name = name;
+     this.rel = rel;
    }-*/;
 
   /**