Forum Feature requests

rendering input elements

jehiah
I would like to see rendering of more html elements (specifically all the different types of input elements, and textarea elements)

So that the following xhtml renders
<input type="checkbox" /><br/>
<input type="text" value="value goes here" size="15"/><br/>
mikeday
Hi jehiah,

Prince does not support the XHTML form elements natively as yet, although we might add definitions for them to the default XHTML style sheet in a future release of Prince.

In the meantime, you can always try experimenting with CSS rules in your own style sheets with rules like this:

input[type="text"] {
    border: solid black thin;
    content: attr(value)
}

input[type="checkbox"] {
    border: solid black thin;
    content: "\2713"   /* check mark character */
}

Best regards,

Michael