[whatwg] LABEL and radio/checkbox onclick

Ian Hickson ian at hixie.ch
Thu Aug 26 02:11:11 PDT 2004


On Wed, 25 Aug 2004, Matthew Raymond wrote:
>
> If anything, headings should work like this:
> 
> <section>
>   <heading>Header 1</heading>
>   <p>Content for 1.</p>
>   <section>
>     <heading>Header 1a</heading>
>     <p>Content for 1a.</p>
>   </section>
>   <section>
>     <heading>Header 1b</heading>
>     <p>Content for 1b.</p>
>   </section>
> </section>

WA1 defines something like this, re-using <h1> for the heading element.


>    The problem with this is two-fold. First, vendors may simply ignore 
> the spec changes, or add proprietary extensions, if the lack of styling 
> becomes too unpopular. Second, XBL2 will probably be released by the 
> time WF2 makes it through a standards body, so webmasters will likely 
> reuse XBL2-based widgets that require little more than a line of CSS to 
> use.
> 
>    When this happens, a lack of flexibility in HTML elements may result 
> in their disuse in favor of XBL2 widgets, resulting in a semantic 
> deterioration of the web.

Nah, you would just apply the XBL bindings straight onto the HTML form 
control elements. No semantic problem.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list