Bug 186141

Summary: [GTK] svg/dom/SVGGeometry-isPointInStroke.xhtml failing since added in r231739 "Implement SVGGeometryElement's isPointInFill and isPointInStroke"
Product: WebKit Reporter: Miguel Gomez <magomez>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bugs-noreply, calvaris, krit, lmoura
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Miguel Gomez
Reported 2018-05-31 03:07:00 PDT
svg/dom/SVGGeometry-isPointInStroke.xhtml [ Failure ] diff is --- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/svg/dom/SVGGeometry-isPointInStroke-expected.txt +++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/svg/dom/SVGGeometry-isPointInStroke-actual.txt @@ -21,7 +21,7 @@ PASS p3.isPointInStroke(new DOMPointReadOnly(-200, -200)) is false PASS p3.isPointInStroke(svgPoint) is true PASS p3.isPointInStroke(svgPoint) is false -PASS p3.isPointInStroke(new DOMPoint(NaN)) is false +FAIL p3.isPointInStroke(new DOMPoint(NaN)) should be false. Was true. PASS p3.isPointInStroke(new DOMPoint(Infinity)) is false PASS p3.isPointInStroke('string') threw exception TypeError: Type error. @@ -43,7 +43,7 @@ PASS p4.isPointInStroke({x: 60}) is true PASS p4.isPointInStroke({x: 20, y: 10}) is true PASS p4.isPointInStroke({x: 20, y: 11}) is false -PASS p4.isPointInStroke({x: 20, y: -10}) is true +FAIL p4.isPointInStroke({x: 20, y: -10}) should be true. Was false. PASS p4.isPointInStroke({x: 20, y: -11}) is false Test different linecaps @@ -56,7 +56,7 @@ PASS p8.isPointInStroke({x: 20, y: 75}) is true PASS p8.isPointInStroke({x: 20, y: 90}) is true PASS p9.isPointInStroke({x: 20, y: 60}) is true -PASS p9.isPointInStroke({x: 20, y: 70}) is true +FAIL p9.isPointInStroke({x: 20, y: 70}) should be true. Was false. PASS p9.isPointInStroke({x: 20, y: 90}) is false PASS p10.isPointInStroke({x: 20, y: 60}) is true PASS p10.isPointInStroke({x: 20, y: 70}) is false
Attachments
Lauro Moura
Comment 1 2020-01-23 06:04:25 PST
Since r231739, svg/dom/SVGGeometry-line.xhtml also started failing with some isPointInStroke issues: --- /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/svg/dom/SVGGeometry-line-expected.txt +++ /home/buildbot/wpe/wpe-linux-64-release-tests/build/layout-test-results/svg/dom/SVGGeometry-line-actual.txt @@ -14,8 +14,8 @@ PASS l1.isPointInFill({x: 101, y: 11}) is false Test isPointInStroke() -PASS l1.isPointInStroke({ }) is true -PASS l1.isPointInStroke({x: 0, y: 0}) is true +FAIL l1.isPointInStroke({ }) should be true. Was false. +FAIL l1.isPointInStroke({x: 0, y: 0}) should be true. Was false. PASS l1.isPointInStroke({x: 0, y: 21}) is false PASS l1.isPointInStroke({x: 50, y: 0}) is true PASS l1.isPointInStroke({x: 50, y: 21}) is false
Note You need to log in before you can comment on or make changes to this bug.