Bug 77964

Summary: [Qt] New svg/hittest tests introduced in r106882 fail
Product: WebKit Reporter: Ádám Kallai <kadam>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: darin, ossy, rhodovan.u-szeged, schenney, zoltan
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 77020    
Bug Blocks: 76931, 87008    
Attachments:
Description Flags
skip failing test (patch) none

Description Ádám Kallai 2012-02-07 04:17:03 PST
Difference:

* svg/hittest/zero-length-round-cap-path.xhtml

--- /ramdisk/qt-linux-release/build/layout-test-results/svg/hittest/zero-length-round-cap-path-expected.txt 
+++ /ramdisk/qt-linux-release/build/layout-test-results/svg/hittest/zero-length-round-cap-path-actual.txt 
@@ -1,1 +1,1 @@
-PASSED; PASSED; PASSED; PASSED; PASSED; PASSED; PASSED; PASSED;
+FAIL, hit [object SVGSVGElement] @ 5, 50; FAIL, hit [object SVGSVGElement] @ 95, 50; FAIL, hit [object SVGSVGElement] @ 50, 5; FAIL, hit [object SVGSVGElement] @ 50, 95; PASSED; PASSED; PASSED; PASSED;

* svg/hittest/zero-length-square-cap-path.xhtml

--- /ramdisk/qt-linux-release/build/layout-test-results/svg/hittest/zero-length-square-cap-path-expected.txt 
+++ /ramdisk/qt-linux-release/build/layout-test-results/svg/hittest/zero-length-square-cap-path-actual.txt 
@@ -1,1 +1,1 @@
-PASSED; PASSED; PASSED; PASSED; PASSED; PASSED; PASSED; PASSED;
+FAIL, hit [object SVGSVGElement] @ 5, 50; FAIL, hit [object SVGSVGElement] @ 95, 50; FAIL, hit [object SVGSVGElement] @ 50, 5; FAIL, hit [object SVGSVGElement] @ 50, 95; FAIL, hit [object SVGSVGElement] @ 5, 5; FAIL, hit [object SVGSVGElement] @ 95, 5; FAIL, hit [object SVGSVGElement] @ 5, 95; FAIL, hit [object SVGSVGElement] @ 95, 95;
Comment 1 Csaba Osztrogonác 2012-02-07 04:19:45 PST
Thanks for reporting it. Could you add them to the Qt Skipped list until the expert check why they fail?
Comment 2 Ádám Kallai 2012-02-07 04:41:55 PST
Created attachment 125817 [details]
skip failing test (patch)
Comment 3 Csaba Osztrogonác 2012-02-07 04:43:04 PST
Comment on attachment 125817 [details]
skip failing test (patch)

rs=me. I'll land it manually.
Comment 4 Csaba Osztrogonác 2012-02-07 04:44:54 PST
Comment on attachment 125817 [details]
skip failing test (patch)

Clearing flags on attachment: 125817

Committed r106927: <http://trac.webkit.org/changeset/106927>
Comment 5 Stephen Chenney 2012-02-07 06:00:02 PST
This is almost certainly related to https://bugs.webkit.org/show_bug.cgi?id=77020, because if the bounds are wrong on the zero length path, then the hit test will fail at the broad phase (test against bounding rect).
Comment 6 Jocelyn Turcotte 2014-02-03 03:20:04 PST
=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.