Bug Tracker

Changeset 5585

Show
Ignore:
Timestamp:
05/13/08 18:56:56 (4 months ago)
Author:
brandon.aaron
Message:

Updating outerWidth unit test to use absolute position

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jquery/test/unit/dimensions.js

    r5345 r5585  
    5656    $div.css("margin", "10px"); 
    5757    equals($div.outerWidth(), 74, "Test with padding, border and margin without margin option"); 
     58    $div.css("position", "absolute"); 
    5859    equals($div.outerWidth(true), 94, "Test with padding, border and margin with margin option"); 
    5960    $div.hide(); 
     
    6162     
    6263    // reset styles 
    63     $div.css({ display: "", border: "", padding: "", width: "", height: "" }); 
     64    $div.css({ position: "", display: "", border: "", padding: "", width: "", height: "" }); 
    6465}); 
    6566