New test for patch introduced in r89250
Created attachment 97860 [details] Patch
Created attachment 97876 [details] Make pixel test more lenient so it passes on mac
Comment on attachment 97876 [details] Make pixel test more lenient so it passes on mac R=me
Comment on attachment 97876 [details] Make pixel test more lenient so it passes on mac View in context: https://bugs.webkit.org/attachment.cgi?id=97876&action=review > LayoutTests/ChangeLog:10 > + * fast/canvas/script-tests/text-globalAlpha.js: Added. > + * fast/canvas/text-globalAlpha-expected.txt: Added. > + * fast/canvas/text-globalAlpha.html: Added. Please avoid splitting tests into multiple files.
That's the standard way of doing script tests.
> (From update of attachment 97876 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=97876&action=review > > > LayoutTests/ChangeLog:10 > > + * fast/canvas/script-tests/text-globalAlpha.js: Added. > > + * fast/canvas/text-globalAlpha-expected.txt: Added. > > + * fast/canvas/text-globalAlpha.html: Added. > > Please avoid splitting tests into multiple files. (In reply to comment #5) > That's the standard way of doing script tests. Yes, I based it off existing tests. That said, the HTML is fairly boilerplate between these script tests, differing only in the line which pulls in the JS. I wonder if there's a way to share more code.
Committed r89351: <http://trac.webkit.org/changeset/89351>