[webkit-dev] New Feature: Canvas Path object

Dirk Schulze dschulze at adobe.com
Mon Sep 24 15:20:52 PDT 2012


This mailing list seems to be wrong for this kind of discussion. You opened a thread on whatgwg mailing list. Your concerns should be discussed there.

Greetings,
Dirk

Sent from my iPhone

On Sep 24, 2012, at 3:15 PM, "Elliott Sprehn" <esprehn at chromium.org<mailto:esprehn at chromium.org>> wrote:


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


More information about the webkit-dev mailing list