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

[csswg-drafts] [css-grid] Clarify behavior of position: fixed grid items

From: Rachel Andrew via GitHub <sysbot+gh@w3.org>
Date: Tue, 24 Jan 2017 09:26:20 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-202764581-1485249979-sysbot+gh@w3.org>
rachelandrew has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-grid] Clarify behavior of position: fixed grid items ==
Something that keeps coming up is the behavior of grid items set to 
`position: fixed`.

My understanding of this is that an item set to position: fixed should
 behave in the same way as one set to position: absolute, so that 
would correspond to [10.2 With a Grid Container as 
parent](https://drafts.csswg.org/css-grid/#static-position) which 
seems to be what the 2 implementations are doing. [CodePen 
example](http://codepen.io/rachelandrew/pen/xgraOZ?editors=1100#0)

However this is a bit confusing if you haven't made that connection. 
So if this is correct behavior perhaps a note could be added to 
clarify that this is how position fixed items will behave. It also 
seems as if having a fixed item be contained within it's track might 
be useful - but perhaps that is a different issue.




Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/977 using your GitHub 
account
Received on Tuesday, 24 January 2017 09:26:27 UTC

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