[Webkit-unassigned] [Bug 70117] Expose HTMLCanvasElement supportsContext
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 31 12:38:12 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=70117
--- Comment #16 from Dean Jackson <dino at apple.com> 2013-05-31 12:36:44 PST ---
(From update of attachment 203462)
View in context: https://bugs.webkit.org/attachment.cgi?id=203462&action=review
>> Source/WebCore/html/HTMLCanvasElement.cpp:220
>> + }
>
> My concern about this is that a script will take an existing canvas and ask supportsContext. If that canvas already has a webgl context, it will tell the user that 2d isn't supported. I think we should just always return true for 2d.
Tim just convinced me I'm wrong (he always does). Please ignore.
>> Source/WebCore/html/HTMLCanvasElement.cpp:234
>> + return false;
>
> Same here maybe?
And this.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list