W3C home > Mailing lists > Public > public-forms@w3.org > April 2014

Re: Inconsistent description of attributes on <label> etc.

From: Erik Bruchez <erik@bruchez.org>
Date: Wed, 9 Apr 2014 08:05:17 -0700
Message-ID: <CAAc0PEVpAxb-HkyJA-iTQvszuft3AL9UVK6tTNoZu=P22WarSQ@mail.gmail.com>
To: Steven Pemberton <Steven.Pemberton@cwi.nl>
Cc: Forms WG <public-forms@w3.org>
Yes, it should be UI Common.

The idea was, for hint and label, to support `appearance="minimal"`.
There is an example for hint in the spec:

    <hint appearance="minimal">Last, First</hint>

It does make sense to have this too:

    <label appearance="minimal">

Like for hint, the label should/could then be rendered as a
placeholder. Maybe the spec should provide an example too.

-Erik

On Wed, Apr 9, 2014 at 3:26 AM, Steven Pemberton
<Steven.Pemberton@cwi.nl> wrote:
> Section 8.1
> https://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_XForms_Core_Form_Controls_Module
> says that <label> etc have as attribute sets: Common, Single Item Binding
> (author-optional)
>
> But section 8.2.1
> https://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#ui-commonelems-label
> says that they have Common Attributes: Common, UI Common, Single Item
> Binding (author-optional)
>
> So which is right? Can you say <label appearance="full"> or not?
>
> Steven
>
Received on Wednesday, 9 April 2014 15:06:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:14:10 UTC