W3C home > Mailing lists > Public > www-style@w3.org > February 2014

Re: [css-position] sticky: Issue 1: Describe which element font-size-relative units are resolved against

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 26 Feb 2014 14:46:54 -0800
Message-ID: <CAAWBYDArhYCD8p_ru-USZdcR77T+xnCf+e5ey-cau8b=oHg+yQ@mail.gmail.com>
To: Viatcheslav Ostapenko <sl.ostapenko@samsung.com>
Cc: www-style list <www-style@w3.org>
On Wed, Feb 26, 2014 at 2:36 PM, Viatcheslav Ostapenko
<sl.ostapenko@samsung.com> wrote:
> Hi,
>   There is an issue raised in "CSS Positioned Layout Module Level 3"
> Draft here: http://dev.w3.org/csswg/css-position/#sticky-positioning
>   It is written like "Describe which element font-size-relative units
> are resolved against".
>   When sticky positioned elements are not offset, they should be
> layouted and displayed exactly the same way as normal flow positioned
> elements. When sticky positioned element is offsetted, only position of
> the element changes, but all other properties should stay the same.
>   In this case sticky positioned elements are very similar to relative
> positioned elements. Since the section describing relative positioned
> elements doesn't have any special clarification about font-size-relative
> units resolving, I think sticky positioned elements section also doesn't
> need this. In both cases font-size-relative units resolved the same way
> it is done for normal flow elements when sticky/relative positioning
> offset is not taken into account.

Agreed; stickypos is just relpos with magical offsets, and shouldn't
have any weird effects with font-relative units or anything else.

Received on Wednesday, 26 February 2014 22:47:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:19 UTC