Bug 70969 - auto width
Summary: auto width
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All Linux
: P2 Normal
Assignee: Nobody
URL: http://sandbox.mariusradvan.com/webkit/
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-26 14:48 PDT by Marius Radvan
Modified: 2013-02-19 18:48 PST (History)
4 users (show)

See Also:


Attachments
Simple reproduction (1.12 KB, text/html)
2012-01-05 02:18 PST, David Barr
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Radvan 2011-10-26 14:48:44 PDT
Click on red rectangle. This will change the width of a child (from 0 to 150), but this doesn`t make the parent to change width (even if it has width: auto).
Comment 1 Andy Estes 2011-10-26 14:52:53 PDT
It'd be easier to look into this if the test case didn't involve jQuery.
Comment 2 Marius Radvan 2011-10-31 09:38:56 PDT
if i use display: inline-block instead of float: left, it will work at expected.
Comment 3 David Barr 2011-11-02 20:40:05 PDT
Confirmed with Google Chrome 17.0.927.0 (Official Build 108385) canary Mac OS X WebKit 535.8 (@99053).
Comment 4 Shane Stephens 2012-01-04 19:36:17 PST
Test case appears to be down. Could you ensure it remains available, or alternatively upload a html file?
Comment 5 Marius Radvan 2012-01-05 02:16:08 PST
Testcase is up again.
Comment 6 David Barr 2012-01-05 02:18:13 PST
Created attachment 121243 [details]
Simple reproduction