W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2017

Re: [csswg-drafts] [css-display][css-position] Computed value of float with absolute positioning when there is no box?

From: Loirooriol via GitHub <sysbot+gh@w3.org>
Date: Wed, 24 May 2017 14:04:45 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-303733859-1495634684-sysbot+gh@w3.org>
There is also the case of being inside a `display: none` element:

<div style="display: none">
  <div id="test3" style="position: absolute; float: left"></div>
getComputedStyle(test3).float; // "none" on Firefox, Chrome and Edge

I don't see why this should be different than when having `display: none` itself.

GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1436#issuecomment-303733859 using your GitHub account
Received on Wednesday, 24 May 2017 14:05:05 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:13 UTC