Bug 664299 - Add support for the crossorigin attribute on the html:img tag, and pass the appropriate CORS mode to imgILoader::loadImage when it's specified. r=bz

This commit is contained in:
Benoit Jacob
2011-07-14 14:47:35 -04:00
parent f7f808974d
commit 0941d22605
5 changed files with 72 additions and 2 deletions

View File

@@ -50,11 +50,12 @@
* http://www.whatwg.org/specs/web-apps/current-work/
*/
[scriptable, uuid(4bedb0a0-f901-4c61-a93a-a43c1b7674d4)]
[scriptable, uuid(ce760602-0528-493d-966d-65d4ee52347d)]
interface nsIDOMHTMLImageElement : nsIDOMHTMLElement
{
attribute DOMString alt;
attribute DOMString src;
attribute DOMString crossOrigin;
attribute DOMString useMap;
attribute boolean isMap;
attribute unsigned long width;