Fix the test now that bug 480452 is fixed
authorBoris Zbarsky <bzbarsky@mit.edu>
Mon, 11 May 2009 23:54:41 -0400
changeset 28221 57a720902b6659479d7c950aa519d7101160ccd3
parent 28220 ebe91f08f583165f3a6c8d90bc8c541aba2b7605
child 28222 d68c8315b78538d254e3304e6a3d4896d0b06022
push id6951
push userbzbarsky@mozilla.com
push dateTue, 12 May 2009 03:55:02 +0000
treeherdermozilla-central@57a720902b66 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs480452
milestone1.9.2a1pre
Fix the test now that bug 480452 is fixed
content/base/test/test_bug417255.html
--- a/content/base/test/test_bug417255.html
+++ b/content/base/test/test_bug417255.html
@@ -45,17 +45,17 @@ function doTest(id, boundsWidth, w1, w2,
   var s = document.getElementById(id);
   is(s.offsetWidth, boundsWidth, "bad offsetWidth");
   is(getWidth(s.getBoundingClientRect()), boundsWidth, "bad getBoundingClientRect width");
   is(getWidth(s.getClientRects()[0]), w1, "bad getClientRects width"); 
   is(getWidth(s.getClientRects()[1]), w2, "bad getClientRects width"); 
   is(getWidth(s.getClientRects()[2]), w3, "bad getClientRects width"); 
 }
 
-doTest("s1", 500, 104, 500, 204);
-doTest("s2", 204, 104, 150, 204);
-doTest("s3", 500, 104, 500, 204);
+doTest("s1", 500, 102, 500, 202);
+doTest("s2", 202, 102, 150, 202);
+doTest("s3", 500, 102, 500, 202);
 
 </script>
 </pre>
 </body>
 
 </html>