Bug 198759 - imported/blink/svg/as-image/svgview-references.html is failing in WK1
Summary: imported/blink/svg/as-image/svgview-references.html is failing in WK1
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-06-11 10:23 PDT by youenn fablet
Modified: 2019-10-11 15:24 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2019-06-11 10:23:15 PDT
imported/blink/svg/as-image/svgview-references.html is failing in WK1
Comment 1 Radar WebKit Bug Importer 2019-06-11 10:24:22 PDT
<rdar://problem/51628929>
Comment 2 Radar WebKit Bug Importer 2019-06-11 10:24:26 PDT
<rdar://problem/51628931>
Comment 3 youenn fablet 2019-06-11 10:25:50 PDT
As can be seen in https://bugs.webkit.org/show_bug.cgi?id=198677, the same 1 pixel off issue also happens with cached-svg-image-with-css-cross-domain.html and svg-image-with-css-cross-domain.html when rendering circles, though square works.
Since these two tests used to pass, this is probably a WK1 regression.
Comment 4 Alexey Proskuryakov 2019-06-12 02:34:47 PDT
What do we know about when these regressed?
Comment 5 Said Abou-Hallawa 2019-09-23 12:00:20 PDT
There is a <path> element in the svglogo-viewbox.svg image. It has two arcs to draw one bar in the SVG logo.

This image is scaled up in svgview-references.html twice because the viewBox of the referencing <use> element is set to 1/4 and 1/9 of the original image viewBox.

This can make the test fails on some configurations or hardware due to the scaling issue. The fix would be to use other drawing which does not involve arcs or circles. The purpose of this test is to test the SVG image works with viewBox linking correctly. And it does not matter what drawing elements are used.
Comment 6 Said Abou-Hallawa 2019-10-11 15:24:29 PDT
I can’t reproduce the failure locally. And I did not see the test is skipped in any TestExpectations file. The history of this test shows that it has been passing for long time.

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=imported%2Fblink%2Fsvg%2Fas-image%2Fsvgview-references.html