Bug 113871
Summary: | CSS3 transition from width/height auto causes transition from width/height 0 | ||
---|---|---|---|
Product: | WebKit | Reporter: | webkit |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | me |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
webkit
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Nikita Vasilyev
*** This bug has been marked as a duplicate of bug 16020 ***