W3C home > Mailing lists > Public > www-style@w3.org > October 2011

[CSS21] contradiction on computed value of 'float'

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 24 Oct 2011 21:08:06 -0700
To: www-style@w3.org
Message-ID: <20111025040806.GA32591@pickering.dbaron.org>
http://www.w3.org/TR/CSS21/visuren.html#propdef-float says that the
computed value of 'float' is as specified.

http://www.w3.org/TR/CSS21/visuren.html#dis-pos-flo , step 2, says
that if 'position' is 'absolute' or 'fixed', then the computed value
of 'float' is forced to 'none'.

These statements contradict each other.  I believe the second one is
what was intended, and we missed this when we introduced the
"Computed value:" lines.

A testcase is attached.  Gecko and Opera agree with my assessment;
WebKit does not.


𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂

Received on Tuesday, 25 October 2011 04:08:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:06 UTC