W3C home > Mailing lists > Public > www-style@w3.org > June 2008

page-break properties on <br>

From: Alex Mogilevsky <alexmog@exchange.microsoft.com>
Date: Mon, 16 Jun 2008 17:29:32 -0700
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <04F36FB4ED0F85459AA447F72711526F0140414A933B@DF-GRTDANE-MSG.exchange.corp.microsoft.com>
According to 13.3.1 (http://www.w3.org/TR/CSS21/page.html#propdef-page-break-before) page-break-* properties only apply to block-level elements.

However IE7 and Firefox allow page-break-* on <BR>, which technically is not standards-compliant. However disallowing it may create compatibility issues.

It seems that the idea of page-break on <BR> is very similar to "clear" on <BR> which is widely used and is allowed by a special note in the end of 9.5.2 (http://www.w3.org/TR/CSS21/visuren.html#propdef-clear)

Allowing <br> to force a page break seems to make sense too.

Would it be reasonable to add a similar note to 13.3.1?
Or would it be reasonable to consider <br> a block-level element for this purpose (because its effect on text flow is indistinguishable from that of an empty block)?





Received on Tuesday, 17 June 2008 00:30:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:07 GMT