- From: Koji Ishii <kojiishi@gluesoft.co.jp>
- Date: Sat, 20 Oct 2012 09:24:30 -0400
- To: "www-style@w3.org" <www-style@w3.org>
Recently I heard two different interpretations of "Allowed page breaks" in CSS3 Paged Media[1] (and also the same text appear in CSS 2.1,) I appreciate experts' opinion for what's the expected behavior. Consider the following markup. <p>ABC<span style="display:inline-box">DEF DEF DEF...</span><p> The spec says "between line boxes inside a block box." When " DEF DEF DEF..." is very long, longer than a page, I heard two different interpretations. 1. <p> is a block, and the <p> has a big line box. Since the linebox is bigger than the page, it's an overflow behavior and therefore page can break anywhere, even if it's at the middle of a line inside the span. 2. There are nested line boxes inside the span. UA should only break pages between the line boxes inside the span. Which is correct? Note that IE behavior is 2, and Firefox/WebKit is 1. [1] http://dev.w3.org/csswg/css3-page/#allowed-pg-brk Regards, Koji
Received on Saturday, 20 October 2012 13:25:00 UTC