Bug 230237 - [ Mac iOS ] 2 imported/w3c/web-platform-tests/css/cssom-view/ (layout-tests) are constant text failures
Summary: [ Mac iOS ] 2 imported/w3c/web-platform-tests/css/cssom-view/ (layout-tests) ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-13 16:26 PDT by Robert Jenner
Modified: 2021-09-14 11:41 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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