On Mon, Sep 24, 2012 at 3:56 PM, Eric Seidel <e...@webkit.org> wrote:

> My understanding is that a name collision would only affect the
> ability of existing software to use the new Path.  It would not break
> existing software.  window.Path would just be aliased by the page, no?
>
>
Nope, if someone had <input id="Path"> previously and accessed it as just
"Path", we'll break their page because now Path is this canvas object, not
the HTMLInputElement.

Intuitively I feel like using the ID of "Path" can't be that uncommon, and
accessing ids like this was fairly common in a number of apps and code
generators I've worked on...

- E
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to