[html5] XHTML extending. id, class, style attributes support for other namespaces
Ian Hickson
ian at hixie.ch
Wed Oct 17 15:41:54 PDT 2012
On Wed, 17 Oct 2012, Anton Vitr wrote:
>
> > - Do you want it to be easy to take existing HTML and add widgets made
> > with your library?
>
> I think yes.
>
> > - Do you want it to be easy to take documents that use your library
> > and easily remove the use of your library?
>
> Possible, but not needed.
>
> > - Does it need to work in old browsers, or only new ones?
>
> Only modern: IE9+, FF, WebKit.
It sounds like the simplest way to achieve what you want to do is invent a
new language that's a superset of HTML. So your documents wouldn't have to
be HTML-compliant. Simplest way to do this is probably just to use your
own namespace in XML.
Such documents wouldn't be conforming HTML, and wouldn't work if your
library wasn't available for whatever reason.
--
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