Fix Issue #212: Added DOM methods to support the creation of the <CAPTION>, <COLGROUP>, <THEAD>, and <TFOOT> elements.
Patch by: sandymac, me
Reviewed by: jgw

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@537 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/DOM.java b/user/src/com/google/gwt/user/client/DOM.java
index e85acf1..b9eacf2 100644
--- a/user/src/com/google/gwt/user/client/DOM.java
+++ b/user/src/com/google/gwt/user/client/DOM.java
@@ -95,6 +95,15 @@
   }
 
   /**
+   * Creates an HTML CAPTION element.
+   *
+   * @return the newly-created element
+   */
+  public static Element createCaption() {
+    return impl.createElement("caption");
+  }
+  
+  /**
    * Creates an HTML COL element.
    * 
    * @return the newly-created element
@@ -104,6 +113,15 @@
   }
 
   /**
+   * Creates an HTML COLGROUP element.
+   *
+   * @return the newly-created element
+   */
+  public static Element createColGroup() {
+    return impl.createElement("colgroup");
+  }
+
+  /**
    * Creates an HTML DIV element.
    * 
    * @return the newly-created element
@@ -278,6 +296,15 @@
   }
 
   /**
+   * Creates an HTML TFOOT element.
+   *
+   * @return the newly-created element
+   */
+  public static Element createTFoot() {
+    return impl.createElement("tfoot");
+  }
+
+  /**
    * Creates an HTML TH element.
    * 
    * @return the newly-created element
@@ -287,6 +314,15 @@
   }
 
   /**
+   * Creates an HTML THEAD element.
+   *
+   * @return the newly-created element
+   */
+  public static Element createTHead() {
+    return impl.createElement("thead");
+  }
+
+  /**
    * Creates an HTML TR element.
    * 
    * @return the newly-created element