Bug 113871

Summary: CSS3 transition from width/height auto causes transition from width/height 0
Product: WebKit Reporter: webkit
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: me
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description webkit 2013-04-03 06:02:31 PDT
1. Give div width "auto" and a fixed height.
2. Add content to div such that it has width 10px
3. Set css width transition on div.
4. Set div width to 400p.

Expected results:

The draft doesn't say anything about transitions from/to auto so I'd expect no transition to occur and for the div to immediately grow in size.

Actual results:

The div immediately shrinks to a width of 0 and then grows in size to 400px. This is pretty ugly.
Comment 1 Nikita Vasilyev 2013-08-27 20:12:20 PDT

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