Bug 113871 - CSS3 transition from width/height auto causes transition from width/height 0
Summary: CSS3 transition from width/height auto causes transition from width/height 0
Status: RESOLVED DUPLICATE of bug 16020
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-03 06:02 PDT by webkit
Modified: 2013-08-27 20:12 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***