[css2xslfo-support] [csstoxslfo] Problem with page-break
Brought to you by:
wdonne
From: Andreas J. <li...@zo...> - 2007-06-29 14:34:37
|
I have the following test HTML file where each DIV should start on a new page (break-after: page). <?xml version=3D"1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns=3D"http://www.w3.org/1999/xhtml" > <head> <style type=3D"text/css"> div.sp-page { break-after:page; } </style> </head> <body> <div class=3D"main"> <div class=3D"sp-page">hello world</div> <div class=3D"sp-page">hello world</div> <div class=3D"sp-page">hello world</div> </div> </body> </html> However css2xslfo 1.4.2 generates this: .... <fo:block margin-left=3D"0pt" margin-right=3D"0pt"=20 unicode-bidi=3D"embed">hello world</fo:block> <fo:block margin-left=3D"0pt" margin-right=3D"0pt"=20 unicode-bidi=3D"embed">hello world</fo:block> <fo:block margin-left=3D"0pt" margin-right=3D"0pt"=20 unicode-bidi=3D"embed">hello world</fo:block> ... where the break-after attibute isn't passed through. Bug or Feature? Thanks in advance, Andreas |