Le 15/03/2014 12:24, Frédéric Wang a écrit :
> Thank you Raniere.
>
> Just one correction: the <x-tex> custom element
> (
https://github.com/fred-wang/x-tex) is currently implemented via the
> X-tag polyfill (
http://x-tags.org/) which does not use shadow DOM.
> However, teoli said shadow DOM is implemented in Gecko 30 and that the
> custom element spec will allow to just name the element <tex> so this
> could be improved in the future. At the moment that's mostly a proof of
> concept. As a concrete example,
>
> TeXelement = document.createElement("x-tex");
> TeXelement.textContent = "x^2 + y^2";
>
> is not equivalent to
>
> <x-tex>x^2 + y^2</x-tex>
>
> (
https://github.com/fred-wang/x-tex/issues/3).
>