W3C home > Mailing lists > Public > public-webplatform@w3.org > September 2013

Re: HTML Form attributes

From: Francesco Iovine <f.iovine@gmail.com>
Date: Wed, 25 Sep 2013 22:57:30 +0200
Message-ID: <CALE=BGSeZxp7s+BQY=W2hA3-ZxxHEO2j8WwG_oVHthXq4VbHQA@mail.gmail.com>
To: WebPlatform Community <public-webplatform@w3.org>
Cc: Chris Mills <cmills@mozilla.com>
Just to let you know the associated issues:

http://project.webplatform.org/content/issues/65
http://project.webplatform.org/content/issues/67

Cheers,

Francesco <https://twitter.com/franciov>


On 11 September 2013 20:06, Francesco Iovine <f.iovine@gmail.com> wrote:

> Hi all,
>
> at the last Doc Sprint in Zurich I started working on HTML Form attributes
> and found out that there seems to be a lack of consistency in WebPlatform's
> URL structure for HTML attribute pages.
>
> Here are some examples:
>
>    1. the "value" attribute has no general page html/attributes/value<http://docs.webplatform.org/wiki/html/attributes/value> and
>    has a page for each element it applies:
>    html/attributes/value_(input_elements<http://docs.webplatform.org/wiki/html/attributes/value_%28input_elements%29>
>    ), html/attributes/value_(textarea_element<http://docs.webplatform.org/wiki/html/attributes/value_%28textarea_element%29>
>    ), html/attributes/value_(button_element<http://docs.webplatform.org/wiki/html/attributes/value_%28button_element%29>
>    ), html/attributes/value_(HTMLProgressElement<http://docs.webplatform.org/wiki/html/attributes/value_%28HTMLProgressElement%29>
>    ), html/attributes/value_(param_element<http://docs.webplatform.org/wiki/html/attributes/value_%28param_element%29>
>    ), html/attributes/value_(li_element<http://docs.webplatform.org/wiki/html/attributes/value_%28li_element%29>).
>    Moreover, using the WP search tool there's no results matching the
>    query "value" <http://docs.webplatform.org/w/index.php?search=value>.
>
>    2. the "type" attribute page for the HTML Input element has the
>    following (different) structure: html/elements/input/type<http://docs.webplatform.org/wiki/html/elements/input/type>.
>    It's located in the "elements" subtree and contains a list of the possible
>    values of the "type" attribute: each item of the list links to a page with
>    a URL structure like following: html/elements/input/type/button<http://docs.webplatform.org/wiki/html/elements/input/type/button>
>    , html/elements/input/type/checkbox<http://docs.webplatform.org/wiki/html/elements/input/type/checkbox>
>    , html/elements/input/type/color<http://docs.webplatform.org/wiki/html/elements/input/type/color>
>    , html/elements/input/type/date<http://docs.webplatform.org/wiki/html/elements/input/type/date>
>     etc.
>
>    3. the "type" attribute is defined also for other elements, but in the
>    "attributes" subtree: html/attributes/type_(button_element)<http://docs.webplatform.org/wiki/html/attributes/type_(button_element)>
>    , html/attributes/type_(param_element)<http://docs.webplatform.org/wiki/html/attributes/type_(param_element)>
>    , html/attributes/type_(script_element)<http://docs.webplatform.org/wiki/html/attributes/type_(script_element)>
>    , html/attributes/type_(select_element)<http://docs.webplatform.org/wiki/html/attributes/type_(select_element)>
>    , html/attributes/type_(textarea_element)<http://docs.webplatform.org/wiki/html/attributes/type_(textarea_element)>
>    , html/attributes/type_(ul,li,ol_elements)<http://docs.webplatform.org/wiki/html/attributes/type_(ul,li,ol_elements)>
>    , html/attributes/type_type_(a,_link,_embed)<http://docs.webplatform.org/wiki/html/attributes/type_type_(a,_link,_embed)>.
>    (For some of these elements the "type" attribute doesn't exist in W3C
>    specifications and should be deleted)
>
> Regarding the "type" attribute, together with Chris concluded that they
> should all be covered on the html/attributes/type<http://docs.webplatform.org/wiki/html/attributes/type> page,
> so I flagged every subpage of html/elements/input/type<http://docs.webplatform.org/wiki/html/elements/input/type> as
> Merge Candidates with the [[html/attributes/type]] page, moved all relevant
> information to the page html/attributes/type<http://docs.webplatform.org/wiki/html/attributes/type> and
> added examples.
>
> Now, I see 2 problems in the page html/attributes/type<http://docs.webplatform.org/wiki/html/attributes/type>
> :
>
> 1) the "Applies to" entry refers to N elements, but Media Wiki doesn't
> provide a way to let an attribute refer to more than 1 element (or at least
> I don't know how to do that)
>
> 2) there's no way to specify the compatibility related to a specific value
> of an input type (e.g. input type="date"). It was possible for
> html/elements/input/type<http://docs.webplatform.org/wiki/html/elements/input/type>
>  pages.
>
> Any thoughts?
>
> Cheers,
>
> Francesco <https://twitter.com/franciov>
>
Received on Wednesday, 25 September 2013 20:57:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:54 UTC