Can anybody make page-break-inside work? below is sample code ... run it and it doesn't respect the page-break-inside... I think it is time to remove this from the document documentation if nobody can make it work.... can anybody post a proof of concept that shows that cfdocument does respect page-break-inside?
<cfdocument format="pdf" marginbottom="1" marginleft="1" marginright="1" margintop="1" overwrite="yes">
<Cfoutput>
<cfloop from="1" to="10" index="i">
<cfloop from="1" to="10" index="i">
<!--- alternate colors and font-size so that you can easily see where page-break-inside is failing when you look at the pdf created --->
<cfif i mod 2>
<cfset color="blue">
<cfset fontWeight="normal">
<cfset fontsize="11">
<cfelse>
<cfset color="red">
<cfset fontWeight="bold">
<cfset fontsize="14">
</cfif>
<p style="color:#color#;page-break-inside:avoid;font-weight:#fontWeight#;font-size:#fontsize #">
<!--- create a random size string for each paragraph using left() --->
#left( "The problem has been compounded by a strike at the main plant that makes de-icing fluid in France, Transportation Minister Thierry Mariani said in a radio interview with France Inter. Airlines canceled 400 flights due to land or take off from Charles de Gaulle Friday morning, Heraud told Dow Jones Newswires. Aeroports de Paris (ADP.FR), the state-controlled airport operator, said on its Twitter account that planned flights were operating with delays of between one and one and a half hours. Hundreds of passengers had already spent the night at the airport after some 50 flights were canceled Thursday evening, said Elise Hermant, a spokeswoman for Aeroports de Paris. The airport had only just cleared the backlog from flight delays caused by bad weather earlier in the week. Scores of trains were also late or canceled in France Friday morning. But the situation at Orly, the other big airport in Paris, was described as normal. Airlines are supposed to reimburse stranded passengers or to reschedule flights and offer lodging, but the hotel capacity around the airport is limited and some airlines don't play the game, Heraud said. -By Inti Landauro, Dow Jones Newswires; +33 1 4017 1740; inti.landauro@dowjones.com ", RandRange(700, 1100) )#
</p>
</cfloop>
</cfloop>
</CFOUTPUT>
</cfdocument>