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

Hi Gérard:

Thus Spoke "Gérard Talbot":
> Your code (in your 4 columnbox-clip-* tests) could be improved and tweaked
> a bit
> - with a doctype decl.
> - removal of unnecessary code: div.clipwrapper is declared but not used
> - without prefix, column-gap is 0 but with vendor-prefix, *-column-gap is 1em
> - Opera 12.16 does not require a vendor-prefix; so, o-column-* can be
> safely removed
Thank you for this advice. I have updated the test cases so they have
these changes.
>> Finally, Presto, in the case of the transform, handles the situation as
>> it does in the relatively positioned case. Again, I think this is what
>> we want, but we should probably indicate the desired behavior in the spec.
>>
>> Given all of this, I would recommend the following text in section 8.1:
>>
>> "Floated or in-flow content that extends into column gaps (e.g., long
>> words or images) is clipped in the middle of the column gap."
>>
>> be replaced with the following text:
>>
>> "Content within a multicolumn element that extends into column gaps
>> (e.g., long words or images) which is not absolutely or fixed positioned
>> should be clipped in the middle of the column gap such that the content
>> displayed is that which lies within the rectangle that is the
>> intersection of the column box with width extending 1/2 of the way into
>> the column gap on either side of the column box, and the rectangle
>> representing the content's bounds after the positioning is applied."
> Scott,
>
> I believe I understand your proposed text but ... it would be best to
> break it into smaller sentences and/or smaller (main, secondary)
> propositions. A 82-word long sentence is not an ideal way to cover
> situations.
>
> Gérard
Yes, so this might take some iteration. I haven't written a
specification before. ;|

How about the following:

"Content within a multicolumn element that extends into column gaps
(e.g., long words or images) should be clipped in the middle of the
column gap. For content which is absolutely or fixed positioned, no
clipping should occur if overflow: visible is specified. For all other
content, the visible content should be that which lies within the
intersection of the bounds of the column box in which the content lies,
with width expanded to 1/2 the column gap on either side of the column
box, and the rectangle representing the content's bounds, after any
transformations have been applied."

Mainly, what I'm trying to get across here is that if we have a
relatively-positioned item such that it extends outside the column box
to the /left/, we should be clipping this as well, not just if it
extends to the right, unless I'm mistaken about this?

~Scott

Received on Tuesday, 20 August 2013 18:15:15 UTC