W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2019

Re: [csswg-drafts] [cssom] Sticky position percentage values for inset properties. (#3115)

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Mon, 01 Apr 2019 18:58:52 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-478702861-1554145131-sysbot+gh@w3.org>
https://drafts.csswg.org/css-position/#sticky-pos:

> A stickily positioned box is positioned similarly to a relatively positioned box, but the offset is computed with reference to the nearest ancestor with a scrolling box, or the viewport if no ancestor has a scrolling box.

https://drafts.csswg.org/cssom/#resolved-values:

> A resolved value special case property like top
defined in another specification
>
> If the property applies to a positioned element and the resolved value of the display property is not none or contents, and the property is not over-constrained, then the resolved value is the used value. Otherwise the resolved value is the computed value. 

(And per the above the used value is resolved against the closest scrolling node)

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3115#issuecomment-478702861 using your GitHub account
Received on Monday, 1 April 2019 18:58:58 UTC

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