On Mon, Oct 6, 2014 at 7:49 PM, Patrick Walton <pcwal...@mozilla.com> wrote:

> On 10/6/14 7:44 PM, Boris Zbarsky wrote:
>
>> Just to check, what's the plan for doing "overflow: sticky"?  And does
>> this model handle position:fixed things that end up both above and below
>> pieces of a single position:static thing?
>>
>
> I'd have to page `position:sticky` information back into my brain, but I
> can answer the second one, because it was needed for Acid2. When building
> display lists, we keep track of display items that were supposed to go on
> top of `position:fixed` and layerize them. This matches what WebKit does.
> Note that we don't implement pseudo-stacking contexts correctly (and
> neither does WebKit).
>

You can get away with that for position:fixed, but I don't think you can
get away with that for overflow:auto/scroll. We find in Gecko many real
situations where scrolled content for a given scrollable container has to
be split into multiple layers because content from the container is
interspersed in z-order with content that's not scrolling.

Rob
-- 
oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo
owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo
osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo
owohooo
osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaocoao,o’o
oioso
oaonosowoeoroaoboloeo otooo otohoeo ocooouoroto.o oAonodo oaonoyooonoeo
owohooo
osoaoyoso,o o‘oYooouo ofooooolo!o’o owoiololo oboeo oiono odoaonogoeoro
ooofo
otohoeo ofoioroeo ooofo ohoeololo.
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to