Stupi / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
0 stars 0 forks source link

<fieldset> HTML element not properly implemented #132

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When using the <fieldset></fieldset> HTML element, Flying Saucer does not 
properly render this element when generating PDF files.

Original issue reported on code.google.com by loe...@gmail.com on 23 Mar 2011 at 3:22

GoogleCodeExporter commented 8 years ago
At its heart, FS is really a XML + CSS renderer.  It does support some X/HTML 
inasmuch as this can be expressed in CSS (via the UA stylesheet and customized 
by the NamespaceHandler), but doesn't support X/HTML elements like <fieldset> 
directly.

I think in this case though it should be possible to effectively emulate 
<fieldset> by setting a border and position: relative on <fieldset> and then 
using position: absolute on <legend>.  If you come up with an approach that 
works well, please post back here and I'll update the UA stylesheet.

Original comment by Peter.Br...@gmail.com on 24 Mar 2011 at 12:51

GoogleCodeExporter commented 8 years ago
Yes, here's an example of how to emulate <fieldset>:
http://nzwhost.com/article/fieldset-alternative

Original comment by aseide...@gmail.com on 9 May 2011 at 4:56