outerWidth(true) retrieve a wrong value on Chrome (ubuntu)

outerWidth(true) retrieve a wrong value on Chrome (ubuntu)

Hello,

I try to get the outerWidth(true) value on a div but I get a wrong value on Chrome 6.0.472.63 (Ubuntu 10.04.1 LTS) with jQuery 1.4.2.
I try my test under a windows XP Chrome version, same problem...


I found a 2 years old open ticket ( #3333), but It's about jQuery 1.2.6.

somebody see what is wrong, my test is really simple...

maybe I need to open a new ticket ?

test:
  1. <style type="text/css">
  2.             #example1 {
  3.                 width: 500px;
  4.                 height: 500px;
  5.                 position: relative;
  6.                 overflow: hidden;
  7. }
  8.             
  9.             #example1 div.boxes {
  10.                 width: 50px;
  11.                 height: 50px;
  12. margin:0;
  13. padding:0;
  14.                 display: block;
  15.             }
  16.         </style>
  17.         
  18. <div id="example1" class="demos">
  19. <div class="boxes"></div>
  20. </div>
  21.     
  22.         <script type="text/javascript" src="js/jquery.js"></script>
  23.         <script type="text/javascript">
  24.             $(document).ready(function(){
  25.             
  26. var test = $('div#example1 div.boxes');
  27. /* 
  28. * Chrome 6.0.472.63 (Ubuntu 10.04.1 LTS)
  29.                                  * and Chrome 6.0.472.63 (Win XP SP3)
  30. height:50
  31. outerHeight:50
  32. outerHeight(true):50
  33. width:50
  34. outerWidth:50
  35. outerWidth(true):500 (wrong value...)
  36. *
  37. * Firefox 3.6.10 (Ubuntu 10.04.1 LTS)
  38.                                  * and IE 8 (Win XP SP3)
  39. height:50
  40. outerHeight:50
  41. outerHeight(true):50
  42. width:50
  43. outerWidth:50
  44. outerWidth(true):50
  45. */
  46. alert('height:' + test.height() + '\n' +
  47.  'outerHeight:' + test.outerHeight() + '\n' +
  48.  'outerHeight(true):' + test.outerHeight(true) + '\n' +
  49.  'width:' + test.width() + '\n' +
  50.  'outerWidth:' + test.outerWidth() + '\n' +
  51.  'outerWidth(true):' + test.outerWidth(true));
  52.             });
  53.         </script>