<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>58140</bug_id>
          
          <creation_ts>2011-04-08 06:25:51 -0700</creation_ts>
          <short_desc>Support transitions to and from &apos;auto&apos; values of left, top, width, height, etc.</short_desc>
          <delta_ts>2012-01-04 19:54:49 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="gossi">mail</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>davidbarr</cc>
    
    <cc>david.b.calhoun</cc>
    
    <cc>shanestephens</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>382195</commentid>
    <comment_count>0</comment_count>
    <who name="gossi">mail</who>
    <bug_when>2011-04-08 06:25:51 -0700</bug_when>
    <thetext>Please support transitions to auto values. Like a transition from height: 0; to height: auto;

I attached such a non-yet-working example.

See also Mozilla&apos;s Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=571344

Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>477206</commentid>
    <comment_count>1</comment_count>
    <who name="David Calhoun">david.b.calhoun</who>
    <bug_when>2011-10-03 13:41:29 -0700</bug_when>
    <thetext>The way this works now seems like a bug.

Current behavior:
A transition from a specific height to height:auto will result in the element animating to height:0 and only then jumping down immediately to height:auto.

Expected behavior:
A transition from a specific height to height:auto should result in a smooth transition to the value calculated by height:auto.  The height:auto calculation shouldn&apos;t occur after the transition.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>482990</commentid>
    <comment_count>2</comment_count>
    <who name="David Barr">davidbarr</who>
    <bug_when>2011-10-12 21:07:48 -0700</bug_when>
    <thetext>Tested with WebKit nightly (r97312) and test suite,
http://louisremi.github.com/jquery.transition.js/transition%20bugs/index.html

The 5th test, which corresponds to this bug report:
&quot;When...
...the initial value of an animated property is &apos;auto&apos;
I expect the property to be animated properly.&quot;
passed, so this bug is resolved at or before r97312.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>529967</commentid>
    <comment_count>3</comment_count>
    <who name="Shane Stephens">shanestephens</who>
    <bug_when>2012-01-04 19:54:49 -0800</bug_when>
    <thetext>Marking this as resolved. Although the current behaviour may not seem ideal, the specification (http://dev.w3.org/csswg/css3-transitions/) doesn&apos;t deal with what happens when animating to/from auto at all. It&apos;s better to discuss this issue on www-style@w3.org and wait for a specified behaviour to exist than to debate in this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>