Created attachment 183169 [details]
archive containing different tests
Some webkit back-end graphic libraries (cairo, qt...) seem to render incorrectly quadratic curves with same endpoints.
The canvas-quadratic-same-endpoint.html file in attachment highlights this at least with WebKitEFL (cairo 1.12.8) and WebKitQt (Qt5.0.0-r40), once the patch for https://bugs.webkit.org/show_bug.cgi?id=105650 is applied.
This test is passing on Firefox and Opera.
For WebKitQt, the line is drawn but the shape is not correct when the lineWidth is set to a large value.
This may be related to https://bugreports.qt-project.org/browse/QTBUG-27921
For WebKitEFL, a shape (similar to a point) is drawn but the curve itself (a line here) is not.
This seems to happen with cairo 1.12.8 but not with some 1.10.x versions.
For Mac, the EWS buildbot marks the test as failed.
In attachment, the archive contains a set of files that illustrates the issue:
- canvas-quadratic-same-endpoint.html (to be placed in the LayoutTests/fast/canvas folder)
- cairo_test folder: direct cairo test that shows the issue with cairo 1.12.8
- qt_test folder: direct Qt test that shows the issue with Qt5.0.0-r40
Latest version of cairo 1.12.10 seems to solve the issue.
This should close this bug for the EFL port.
Firfox and Safari don't render this. It seems to be a bug in CG for Safari. Not sure why it does not render in Firefox. IE and Chrome render it the same.
Created attachment 228675 [details]
You should see a yellow line