Bug 230237

Summary: [ Mac iOS ] 2 imported/w3c/web-platform-tests/css/cssom-view/ (layout-tests) are constant text failures
Product: WebKit Reporter: Robert Jenner <jenner>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=230196
https://bugs.webkit.org/show_bug.cgi?id=230271

Description Robert Jenner 2021-09-13 16:26:56 PDT
imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-inline-image.html
imported/w3c/web-platform-tests/css/cssom-view/mouseEvent-offsetXY-svg.html

Are constant text failures on all Mac, iOS, and WPE queues.

HISTORY:
https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fcss%2Fcssom-view%2FmouseEvent-offsetXY-svg.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fcss%2Fcssom-view%2FscrollIntoView-inline-image.html

DIFF for :imported/w3c/web-platform-tests/css/cssom-view/mouseEvent-offsetXY-svg.html":

-CONSOLE MESSAGE: Unhandled Promise Rejection: Error: element click intercepted error
 
-Harness Error (FAIL), message = Unhandled rejection: element click intercepted error
+PASS MouseEvent.offsetX/Y returns coordinates relative to the root svg
 
-NOTRUN MouseEvent.offsetX/Y returns coordinates relative to the root svg
-


DIFF for "imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-inline-image.html":
 To be scrolled into view
 
-PASS Scrolling an inline element with a large line height uses the bounding rect
+FAIL Scrolling an inline element with a large line height uses the bounding rect assert_approx_equals: expected 594 +/- 1 but got 8



It appears they were introduced at r282351, and have been constantly failing since:
https://trac.webkit.org/changeset/282341/webkit
Comment 1 Radar WebKit Bug Importer 2021-09-13 16:28:21 PDT
<rdar://problem/83077757>
Comment 2 Robert Jenner 2021-09-13 16:30:17 PDT
(In reply to Robert Jenner from comment #0)
> imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-inline-image.
> html
> imported/w3c/web-platform-tests/css/cssom-view/mouseEvent-offsetXY-svg.html
> 
> Are constant text failures on all Mac, iOS, and WPE queues.
> 
> HISTORY:
> https://results.webkit.org/?suite=layout-tests&suite=layout-
> tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fcss%2Fcssom-
> view%2FmouseEvent-offsetXY-svg.html&test=imported%2Fw3c%2Fweb-platform-
> tests%2Fcss%2Fcssom-view%2FscrollIntoView-inline-image.html
> 
> DIFF for
> :imported/w3c/web-platform-tests/css/cssom-view/mouseEvent-offsetXY-svg.
> html":
> 
> -CONSOLE MESSAGE: Unhandled Promise Rejection: Error: element click
> intercepted error
>  
> -Harness Error (FAIL), message = Unhandled rejection: element click
> intercepted error
> +PASS MouseEvent.offsetX/Y returns coordinates relative to the root svg
>  
> -NOTRUN MouseEvent.offsetX/Y returns coordinates relative to the root svg
> -
> 
> 
> DIFF for
> "imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-inline-image.
> html":
>  To be scrolled into view
>  
> -PASS Scrolling an inline element with a large line height uses the bounding
> rect
> +FAIL Scrolling an inline element with a large line height uses the bounding
> rect assert_approx_equals: expected 594 +/- 1 but got 8
> 
> 
> 
> It appears they were introduced at r282351, and have been constantly failing
> since:
> https://trac.webkit.org/changeset/282341/webkit


Bit of a typo. r282341 appears to be where it was introduced. The following link is correct, but the r282351 is incorrect.
Comment 3 Robert Jenner 2021-09-13 16:35:03 PDT
I was able to reproduce the failure of both at BigSur Production ToT using the following test:

run-webkit-tests <insert test here>
Comment 4 Simon Fraser (smfr) 2021-09-13 17:11:44 PDT
I think imported/w3c/web-platform-tests/css/cssom-view/mouseEvent-offsetXY-svg.html should just be skipped. It relies on some Web driver stuff.
Comment 5 Ryan Haddad 2021-09-13 21:16:32 PDT
Marked both tests as failing in r282378
Comment 6 Brent Fulgham 2022-06-23 14:14:39 PDT
Robert Jenner confirmed this was resolved as of 5/20/2022.