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

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

From: Steven Pemberton <Steven.Pemberton@cwi.nl>
Date: Thu, 10 Apr 2014 11:58:54 +0200
To: "Erik Bruchez" <erik@bruchez.org>
Message-ID: <op.xd3h0g1tsmjzpq@steven-ux21a>
On Wed, 09 Apr 2014 18:59:35 +0200, Erik Bruchez <erik@bruchez.org> wrote:

> Do you mean:
>
> 1. Should <alert> support @appearance at all?

That one. The current spec has it as the only one of the 4 that does not
support @appearance, and I can't think why not. An oversight?
https://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#ui-commonelems-alert

> 2. Or should <alert appearance="minimal"> mean the same thing as for
> <label> and <hint>?

No; if we include it, it should just be the same.

Steven

>
> On Wed, Apr 9, 2014 at 8:37 AM, Steven Pemberton
> <Steven.Pemberton@cwi.nl> wrote:
>> But not <alert>?
>>
>> Steven
>>
>>
>> On Wed, 09 Apr 2014 17:05:17 +0200, Erik Bruchez <erik@bruchez.org>  
>> wrote:
>>
>>> 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 Thursday, 10 April 2014 09:59:48 UTC

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