[html5] XHTML extending. id, class, style attributes support for other namespaces

Ian Hickson ian at hixie.ch
Tue Oct 16 16:01:05 PDT 2012


On Tue, 16 Oct 2012, Anton Vitr wrote:
>
> Also, we want to achieve declarative syntax for our custom controls, 
> like using extended XHTML similar to this:

You have to decide several things:

- Do you want this to work in environments where scripting is disabled, or 
do you only want this to work when your scripting library is active?

- Do you want it to be easy to take existing HTML and add widgets made 
with your library?

- Do you want it to be easy to take documents that use your library and 
easily remove the use of your library?

- Does it need to work in old browsers, or only new ones?

The answers to these questions would help find answers to your questions.

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



More information about the Help mailing list