W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: Custom tags over wire, was Re: HTMLElement.register--giving components tag names

From: Dimitri Glazkov <dglazkov@chromium.org>
Date: Sun, 4 Sep 2011 20:11:34 -0700
Message-ID: <CADh5Ky0NQ=amQFPHKyf03ftQb==79MDZqCUCz3A+3gFsrrjZbA@mail.gmail.com>
To: robert@ocallahan.org
Cc: Ian Hickson <ian@hixie.ch>, Anne van Kesteren <annevk@opera.com>, WebApps WG <public-webapps@w3.org>, Dominic Cooney <dominicc@chromium.org>, Alex Russell <alex@dojotoolkit.org>
On Sun, Sep 4, 2011 at 5:03 PM, Robert O'Callahan <robert@ocallahan.org> wrote:
> On Sun, Sep 4, 2011 at 1:56 PM, Dimitri Glazkov <dglazkov@chromium.org>
> wrote:
>> The offsetWidth query could've triggered an event
>> handler execution
> I don't think "offsetWidth" should be able to trigger synchronous execution
> of an event listener in the content. How would that happen?

It's certainly possible in WebKit
All it takes for the layout bit to be dirty and an event to be queued
up prior to the hapless script accessing Element::offsetWidth

Let's not rathole on this specific case though -- the whole notion is
that the interface of the object changes as a result of spooky action
at a distance is preposterous and should certainly not be codified
into the platform. Sure, you can already yank my prototype chain with
__proto__ and override my methods, bu those things are widely viewed
as bad form. We have enough bad form. Let's not add more.


> Rob
> --
> "If we claim to be without sin, we deceive ourselves and the truth is not in
> us. If we confess our sins, he is faithful and just and will forgive us our
> sins and purify us from all unrighteousness. If we claim we have not sinned,
> we make him out to be a liar and his word is not in us." [1 John 1:8-10]
Received on Monday, 5 September 2011 03:12:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:23 UTC