Bug 55137

Summary: Animate to Natural Value
Product: WebKit Reporter: Chris Coyier <chriscoyier>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Minor CC: cmarrin, dino, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Chris Coyier 2011-02-24 05:36:38 PST
It would be nice to be able to animate an element to it's auto value.

@-webkit-animation slideDown {
   0% { height: 0; }
   100% { height: auto; }
}

Like how a JavaScript library like jQuery can do   $("#thing").hide().slideDown(); and it slides down to the correct original natural height of that element.
Comment 1 Simon Fraser (smfr) 2011-02-24 10:59:12 PST

*** This bug has been marked as a duplicate of bug 16020 ***