Le 27 août 2013 à 14:52, "L. David Baron" <dba...@dbaron.org> a écrit :
> Many of the other references in the CSS spec to things that are > based on the height of the containing block explicitly say that if > the containing block's computed height is 'auto', then the > percentage is as well. See, for example: > http://www.w3.org/TR/CSS2/visudet.html#the-height-property > http://www.w3.org/TR/CSS2/visudet.html#min-max-heights > > http://www.w3.org/TR/CSS21/visuren.html#position-props , however, > does not say that, and you shouldn't infer it from the same thing > being stated elsewhere. > > The working group explicitly decided *not* to change this in 2009; > see: > http://wiki.csswg.org/spec/css2.1#issue-134 > http://lists.w3.org/Archives/Public/www-style/2009Jun/0056.html > http://lists.w3.org/Archives/Public/www-style/2009Aug/0092.html Oh :-(. I had forgotten about that resolution (which I find inconsistent with the way height and min-max-height work). Thing is, no browser released as of today, including Presto-Opera, implement this, even for a very basic test case [*] (I can't test IE 11beta, though). But Presto based Opera and Gecko manage to animated it. Bizarre. [*] http://dev.l-c-n.com/_temp/top-perc.html Gecko bug report is here: https://bugzilla.mozilla.org/show_bug.cgi?id=260348 Philippe -- Philippe Wittenbergh http://l-c-n.com ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/