W3C home > Mailing lists > Public > www-forms@w3.org > October 2005

Decorating XForm textarea

From: Flinton Adam <Adam.Flinton@cfh.nhs.uk>
Date: Tue, 18 Oct 2005 09:52:15 +0100
Message-ID: <595299DD7F30014BBCE48B93DCB60652031DB6A1@EXCHAQ2.nhsia.nhs.uk>
To: <www-forms@w3.org>

Dear All,

The XForm textarea has no properties (at least in styling terms) which
is fine per se (e.g. height, width etc.) 

However an implementation should be able to wrap those properties around
the xform element as otherwise lots of things go to pieces. For example
most JavaScript textarea editors will fail or have to be doctored as
they get back null from requesting the width/height etc of this

It also messes up tables containing textareas as while you can have some
css such as:

   width: 100%;

that will only work on the assumption there is some textarea.width to

As a result if doing a repeat in XForms to populate a table, the edges
of the table snake down the page & the textarea assumes the default
(usually fairly small) size unless it is filled by a string which has a
greater length in which case it is that length.

Implementations should implement this is a transparent to the Xform
designer way.

i.e. if the Xform plugin has loaded the XML/XHTML & has then delivered
the "XHTML" to the next stage (e.g. JavaScript scripts) then the XHTML
should be capable of holding std XHTML properties from that stage on.
e.g. as far as any Javascript or css should see there should be the std
textarea properties which they can then set/manipulate/draw information


This e-mail is confidential and privileged. If you are not the intended recipient please accept our apologies; please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Please inform us that this message has gone astray before deleting it. Thank you for your co-operation.
Received on Tuesday, 18 October 2005 08:54:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:16 UTC