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

Your mentioning of anonymous boxes does indeed clear things a little bit,

The way I read CSS2.1 anonymous boxes are *not* created when floats are
involved[1], but rather floats just push around the contents in the line
boxes of the neighbouring boxes/blocks. So I still have a hard time
visualising what does "a float and an immediately-adjacent in-flow box"
really means.

My questioning comes from the fact that, while sibling block-level boxes
have just one and only one touching edge (margins notwithstanding), a
float and neighbouring in-flow boxes usually share two edges (again, with
the assumption that floats have nothing to do with the creation of
anonymous boxes).

Am I missing something?


Mihai Balan | Quality Engineer @ Web Engine team | |
+4-031.413.3653 / x83653 | Adobe Systems Romania

On 1/9/14 5:02 AM, "fantasai" <> wrote:

>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
>>> 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>
>> </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.

Received on Wednesday, 5 February 2014 13:43:20 UTC