W3C home > Mailing lists > Public > www-style@w3.org > August 2013

Re: Fwd: [css3-multicol] Section 8.1: Overflow inside of multicol elements and positioning

From: Morten Stenshorne <mstensho@opera.com>
Date: Mon, 19 Aug 2013 10:51:45 +0200
To: www-style@gtalbot.org
Cc: "Scott Johnson" <sjohnson@mozilla.com>, "www-style\@w3.org" <www-style@w3.org>
Message-ID: <87wqnim5b2.fsf@aeneas.oslo.osa>
"Gérard Talbot" <www-style@gtalbot.org> writes:

> Le Ven 16 août 2013 16:11, Morten Stenshorne a écrit :
>> "Gérard Talbot" <www-style@gtalbot.org> writes:
>>
>>> For situations where the multi-column element is the containing block of
>>> an abs. pos. element (say, an image), I am convinced that such abs. pos.
>>> img should not be clipped. It should be in front of the rel. pos.
>>> multi-column element and its column boxes.
>>
>> <div style="position:relative; columns:3;">
>>   <img style="position:absolute; width:1000%;" src="...">
>>
>> ?
>>
>> I think the abspos should be clipped at column boundaries then, since
>> the multicol is the containing block. This is similar to how an abspos
>> behaves inside a relpos container with non-visible overflow (it gets
>> clipped and/or scrolled).
>
> With a non-visible overflow, you are correct: there is clipping or
> scrolling. But with overflow: visible, this is not what is observed, at
> least with abs. pos. (replaced and/or non-replaced) elements
>
> Anyways... I am confortable with whatever decision is taken with regards
> to multi-column element and column boxes in that issue. :)

Yeah, I'm not so sure about this anymore. I guess it all depends on what
the following means:

<div style="columns:3; column-fill:auto; height:100px; position:relative;">
    <div style="position:absolute; top:150px;">Where am I?</div>
</div>

Will the abspos end up in the overflow area below the first column, or
inside the second column? I.e. is 'top:150px' a physical offset, or is
it mapped to the multicol contents' flow? If we want to keep multicol
and paged behavior in sync, it should end up in the second column. But I
don't really know what's best.

-- 
---- Morten Stenshorne, developer, Opera Software ASA ----
------------------ http://www.opera.com/ -----------------
Received on Monday, 19 August 2013 08:52:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:33 UTC