W3C home > Mailing lists > Public > www-style@w3.org > January 2014

Re: [css3-break] What are break opportunities?

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 08 Jan 2014 19:02:08 -0800
Message-ID: <52CE1130.3030201@inkedblade.net>
To: www-style@w3.org
On 12/18/2013 02:43 AM, Mihai Balan wrote:
>fantasai wrote:
>> Ok, tried to clarify. :)
>>
>> In Class A breaks
>>     - changed "block-level boxes" to "in-flow block-level boxes"
>>     - added "a float and an immediately-adjacent in-flow or floated box"
>> http://dev.w3.org/csswg/css-break/#possible-breaks
>>
>> Does that help?
>
> It's better. However, I'm not sure it covers the case where the float is inside a box, e.g.:
>
> <div>
>    <div style="float: left; break-after: always;">FLOAT CONTENT</div>
>    IN-FLOW CONTENT IN-FLOW CONTENT IN-FLOW CONTENT IN-FLOW CONTENT IN-FLOW CONTENT
> </div>
>
> How would be the break opportunity defined here? It might be
> expressed in terms of float & adjacent in-flow anonymous box,
> but I'm not 100% sure.
>
> Does it make sense, or am I missing something? :)

Well, there's definitely an in-flow anonymous box there.
If we wrapped the text in an element, should trigger the
same spec clauses.

~fantasai
Received on Thursday, 9 January 2014 03:02:37 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:18 UTC