The Philip canvas test named 2d.shadow.enable.off.2.html is currently skipped and otherwise failing on Lion. It tests that shadows aren't drawn under certain conditions as outlined in the canvas spec currently. This bug is for adding that check in.
This part of the spec may change in the future since it's under discussion (see: https://bugs.webkit.org/show_bug.cgi?id=60091) though it's been agreed to leave the spec as-is for now, thus we should conform to it especially since it's a reasonable check to add in.
Created attachment 124844 [details]
Comment on attachment 124844 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=124844&action=review
> + bool shouldDrawShadows();
This can be const.
Committed r106415: <http://trac.webkit.org/changeset/106415>