This is a testharness.js-based test.
FAIL Zero-length line segments from rect and strokeRect are removed before stroking assert_equals: Red channel of the pixel at (50, 25) expected 0 but got 255
Harness: the test ran to completion.

