RESOLVED FIXED107118
Bad rendering of quadratic curves with same endpoints
https://bugs.webkit.org/show_bug.cgi?id=107118
Summary Bad rendering of quadratic curves with same endpoints
youenn fablet
Reported 2013-01-17 05:06:50 PST
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
Attachments
archive containing different tests (18.88 KB, application/x-gzip)
2013-01-17 05:06 PST, youenn fablet
no flags
You should see a yellow line (465 bytes, text/html)
2014-04-05 08:11 PDT, Dirk Schulze
no flags
youenn fablet
Comment 1 2013-02-04 02:04:50 PST
Latest version of cairo 1.12.10 seems to solve the issue. This should close this bug for the EFL port.
Dirk Schulze
Comment 2 2014-04-05 08:08:39 PDT
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.
Dirk Schulze
Comment 3 2014-04-05 08:11:35 PDT
Created attachment 228675 [details] You should see a yellow line
Diego Pino
Comment 4 2024-05-27 07:28:41 PDT
Test(s) is passing after switch to Skia in 278498@main

https://results.webkit.org/?suite=layout-tests&test=fast%2Fcanvas%2Fcanvas-quadratic-same-endpoint.html&platform=GTK&platform=WPE

After
updating test expectations in 279290@main, there are no more test(s) referring this bug
Note You need to log in before you can comment on or make changes to this bug.