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

> -----Original Message-----
> From: Tab Atkins Jr. [mailto:jackalmage@gmail.com]
> Sent: Wednesday, February 26, 2014 2:47 PM
> 
> 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.

Agreed too. I'm resuming edits to this spec and will make sure to resolve this issue by design.

Thanks,
Rossen

Received on Friday, 28 February 2014 18:03:01 UTC