Closed Bug 1633012 Opened 5 years ago Closed 4 years ago

[wpt-sync] Sync PR 23242 - Add Azimuth/Altitude to Pointer Events

Categories

(Core :: DOM: Events, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 23242 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/23242
Details from upstream follow.

Liviu Tinta <liviutinta@chromium.org> wrote:

Add Azimuth/Altitude to Pointer Events

Add azimuthAngle/altitudeAngle to pointer_events.idl and
pointer_events_init.idl.

Add transform functions from tiltX/tiltY
to azimuth/altitude.

Add web platform test.

Bug: 1069500
Change-Id: Ie04dd991e0223a793a037c784631ddf3a14e70a6
Reviewed-on: https://chromium-review.googlesource.com/2165457
WPT-Export-Revision: 8260175949f23a15362972ade021ed680f94acf7

Component: web-platform-tests → DOM: Events
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 25 subtests

Status Summary

Firefox

OK : 1
PASS: 1
FAIL: 24

Chrome

OK : 1
PASS: 1
FAIL: 24

Safari

OK : 1
PASS: 1
FAIL: 24

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/pointerevents/pointerevent_tiltX_tiltY_to_azimuth_altitude.html
azimuth/altitude to tiltX/tiltY when azimuth=0 and altitude=0: FAIL (Chrome: FAIL, Safari: FAIL)
If only one of the values (tiltX, tiltY) or (azimuthAngle, altitudeAngle) is available the other one is set to the default value: FAIL (Chrome: FAIL, Safari: FAIL)
tiltX,tiltY to azimuth/altitude when tiltX=-90 and tiltY=0: FAIL (Chrome: FAIL, Safari: FAIL)
tiltX,tiltY to azimuth/altitude when tiltX=90 and tiltY=0: FAIL (Chrome: FAIL, Safari: FAIL)
tiltX,tiltY to azimuth/altitude when tiltX=-90 and tiltY=-90: FAIL (Chrome: FAIL, Safari: FAIL)
If one of the values in both sets is provided, the other value in the set is initialized with the default value: FAIL (Chrome: FAIL, Safari: FAIL)
tiltX,tiltY to azimuth/altitude when tiltX=0 and tiltY=90: FAIL (Chrome: FAIL, Safari: FAIL)
tiltX,tiltY to azimuth/altitude when tiltX=90 and tiltY=-90: FAIL (Chrome: FAIL, Safari: FAIL)
tiltX,tiltY to azimuth/altitude when tiltX=90 and tiltY=90: FAIL (Chrome: FAIL, Safari: FAIL)
tiltX,tiltY to azimuth/altitude when tiltX=-90 and tiltY=90: FAIL (Chrome: FAIL, Safari: FAIL)
tiltX,tiltY to azimuth/altitude when tiltX=0 and tiltY=45: FAIL (Chrome: FAIL, Safari: FAIL)
azimuth/altitude to tiltX/tiltY when azimuth=4.71238898038469 and altitude=0: FAIL (Chrome: FAIL, Safari: FAIL)
tiltX,tiltY to azimuth/altitude when tiltX=0 and tiltY=-45: FAIL (Chrome: FAIL, Safari: FAIL)
azimuth/altitude to tiltX/tiltY when azimuth=1.5707963267948966 and altitude=0: FAIL (Chrome: FAIL, Safari: FAIL)
tiltX,tiltY to azimuth/altitude when tiltX=-45 and tiltY=0: FAIL (Chrome: FAIL, Safari: FAIL)
tiltX/tiltY to azimuth/altitude when tiltX/tiltY are not populated: FAIL (Chrome: FAIL, Safari: FAIL)
azimuth/altitude to tiltX/tiltY when azimuth=4.71238898038469 and altitude=0.7853981633974483: FAIL (Chrome: FAIL, Safari: FAIL)
tiltX,tiltY to azimuth/altitude when tiltX=45 and tiltY=0: FAIL (Chrome: FAIL, Safari: FAIL)
azimuth/altitude to tiltX/tiltY when azimuth=3.141592653589793 and altitude=0.7853981633974483: FAIL (Chrome: FAIL, Safari: FAIL)
tiltX,tiltY to azimuth/altitude when tiltX=0 and tiltY=-90: FAIL (Chrome: FAIL, Safari: FAIL)
azimuth/altitude to tiltX/tiltY when azimuth=3.141592653589793 and altitude=0: FAIL (Chrome: FAIL, Safari: FAIL)
azimuth/altitude to tiltX/tiltY when azimuth=0 and altitude=0.7853981633974483: FAIL (Chrome: FAIL, Safari: FAIL)
azimuth/altitude to tiltX/tiltY when azimuth=1.5707963267948966 and altitude=0.7853981633974483: FAIL (Chrome: FAIL, Safari: FAIL)
tiltX,tiltY to azimuth/altitude when tiltX=0 and tiltY=0: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f438aea49eae [wpt PR 23242] - Add Azimuth/Altitude to Pointer Events, a=testonly https://hg.mozilla.org/integration/autoland/rev/f36122991448 [wpt PR 23242] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.