Description: The square value of lineCap means that a rectangle with the length of the line width and the width of half the line width, placed flat against the edge perpendicular to the direction of the line, must be added at the end of each line.

Test passes if there is no red visible on the page and a black rectangle is seen on the page.

Browser does not support HTML5 Canvas.