- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Wed, 08 Jan 2014 19:02:08 -0800
- 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