Re: [webcomponents] Proposal for Cross Origin Use Case and Declarative Syntax

On Mon, Nov 11, 2013 at 1:33 AM, Ryosuke Niwa <rniwa@apple.com> wrote:

> [...] we’re open to creating a proxy/fake element subclass which is not
> visible in the global scope and identical to HTMLKnownElement in its
> prototype chain in the host document as well.
>
>
Can you clarify why it can't be visible in the global scope? Why can't I do
document.body.appendChild(new FBLikeButton()) or
document.body.firstElementChild instanceof FBLikeButton?

-E

Received on Monday, 11 November 2013 22:23:40 UTC