[webkit-dev] New Feature: Canvas Path object

Elliott Sprehn esprehn at chromium.org
Mon Sep 24 15:07:21 PDT 2012


On Mon, Sep 24, 2012 at 3:56 PM, Eric Seidel <eric at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120924/c305e30f/attachment.html>


More information about the webkit-dev mailing list