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

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.

~TJ

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