W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > January 2011

[Bug 11670] "The setTransform(a, b, c, d, e, f) method must [...] invoke the transform(a, b, c, d, e, f) method" - so if I set CanvasRenderingContext2D.prototype.transform=function(){alert()}, then calling setTransform would trigger the alert? Probably this shouldn't

From: <bugzilla@jessica.w3.org>
Date: Sat, 08 Jan 2011 11:35:52 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PbX5M-0004iZ-T6@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11670

Ms2ger <Ms2ger@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Ms2ger@gmail.com

--- Comment #1 from Ms2ger <Ms2ger@gmail.com> 2011-01-08 11:35:52 UTC ---
DOM Core has

> When a method or an attribute is said to call another method or attribute, the
> user agent must invoke its internal API for that attribute or method so that
> e.g. the author can't change the behavior by overriding attributes or methods
> with custom properties or functions in ECMAScript.

I thought it came from HTML, but it seems I was wrong. (It's been present since
the time Simon was editing the spec.)

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Saturday, 8 January 2011 11:35:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 8 January 2011 11:35:54 GMT