Bug 624191 - Missing <td> in the graphics section of about:support. r+a=gavin
authorSiddharth Agarwal <sid.bugzilla@gmail.com>
Tue, 11 Jan 2011 16:28:10 +0530
changeset 60284 fd860ead307768d027e819831f42710211741778
parent 60283 9c8c705ffc5e9c8de41cf39835d14f20758d8f70
child 60285 8e1487c6e663aa104986c40058c2ded96f686a67
push idunknown
push userunknown
push dateunknown
bugs624191
milestone2.0b10pre
Bug 624191 - Missing <td> in the graphics section of about:support. r+a=gavin
toolkit/content/aboutSupport.js
--- a/toolkit/content/aboutSupport.js
+++ b/toolkit/content/aboutSupport.js
@@ -269,19 +269,22 @@ function populateGraphicsSection() {
       mgrType = windowutils.layerManagerType;
     }
   }
 
   let msg = acceleratedWindows + "/" + totalWindows;
   if (acceleratedWindows)
     msg += " " + mgrType;
 
-  let header = createHeader(bundle.GetStringFromName("acceleratedWindows"));
-
-  appendChildren(graphics_tbody, [ header, createElement("td", msg) ]);
+  appendChildren(graphics_tbody, [
+    createParentElement("tr", [
+      createHeader(bundle.GetStringFromName("acceleratedWindows")),
+      createElement("td", msg),
+    ])
+  ]);
 }
 
 function getPrefValue(aName) {
   let value = "";
   let type = Services.prefs.getPrefType(aName);
   switch (type) {
     case Ci.nsIPrefBranch2.PREF_STRING:
       value = Services.prefs.getComplexValue(aName, Ci.nsISupportsString).data;