breadcrumbs: Highlights Archive > page_name: august-2020---code-health-animations-context-menu-and-more title: August 2020 - Code Health, Animations, Context Menu and more!


August 2020

Chrome Interactions Highlights

Archives: go/interactions-team-highlights

Code Health

Our team had an awesome sprint on bug fixing.

Thanks to kevers@, we now have a bug dashboard (go/interactions-dashboard). The above graph shows opened vs closed bugs during this sprint. The dashboard also includes:

Breakdown of cumulative issues opened and closed by component

Total number of open issues by component

Breakdown of closed issues by reason

flackr@ fixed flicker when setting style in finish callback (demo)

The top demo is broken, and the bottom one is fixed.

liviutinta@ fixed several bugs:

A Pointer Events tiltY reversed on Mac bug
([1111347](http://crbug.com/1111347)).

Fixed flaky test where pointermove on chorded mouse buttons when pointer is
locked ([1025944](http://crbug.com/1025944)
[CL](https://chromium-review.googlesource.com/c/chromium/src/+/2360494))

Fixed 3 failing browser tests for Unified Scrolling:
[CL](https://chromium-review.googlesource.com/c/chromium/src/+/2364055)

gtsteel@ made great contributions to bug fixing.

Fixed crash in run_web_tests caused by increased number of X11 connections
used:
[CL](https://chromium-review.googlesource.com/c/chromium/src/+/2368420).

Fixed AnimatedCSSProperties metric to count properties when animated (by
anything which uses a KeyframeEffect) ([Bug](https://crbug.com/992430))

Started UMA study towards fixing transition cancelling when resetting style
([Bug](https://crbug.com/934700))

Relanded patch adding ontransition\* event handlers:
[CL](https://chromium-review.googlesource.com/c/chromium/src/+/2258467).

Top animation is composited
Bottom animation is main thread

After the fix, the composited animation aligns with the main thread
animation and there is no jump on reversal.

Animations

kevers@ fixed a weird reversal of composited animations with start-delay.

The problem is that the process of converting timing properties to time
offset for the compositor assumes the animation is running in the forward
direction. The time offset is incorrect if playing in the reverse direction
and there is a start delay
([1095813](https://bugs.chromium.org/p/chromium/issues/detail)).

The solution is to Include the tweak for start delay only if the playback
rate is positive.
([CL](https://chromium-review.googlesource.com/c/chromium/src/+/2339712)).

kevers@ Fixed 5 WPT test flakes and one non-WPT test flake for animations. (1093451, 1092177, 1092141, 1064065, 1085564, 623434)

WebDriver Actions API Spec

lanwei@ finished the implementation in Chromedriver and Webdriver (CL, CL)

Azimuth/Altitude for Pointer Events

liviutinta@ shipped the Azimuth and Altitude.

Received 3 LGTMs on [Intent to
Ship](https://groups.google.com/a/chromium.org/forum/)

Landed [CL](http://crrev.com/c/2343385) to enable the feature flag by
default

No feedback yet from [TAG
Review](https://github.com/w3ctag/design-reviews/issues/537)

Positive signal from Webkit, no signal from Gecko.

Context Menu with Touch-Drag

mustaq@ Added context menu support to draggable elements: behind a flag, show Window native draggable behavior of showing context menu on drag end (CL).

Before: draggable divs can’t show context menu because a touch interaction
has to choose between dragging vs context-menu. We have links and images
always non-draggable for this reason. (Hi-res video
[here](https://drive.google.com/file/d/1W2zX7_SdCVVoV0yh9nwK6SY7X29ozOII/view)).

After: draggable elements shows context menu on drag-end, like Windows
desktop icons. Context menu depends on where the element is dropped. Works
on divs, links and images. (Hi-res video
[here](https://drive.google.com/file/d/1MkUOjoi6qJnUl_XFphFzqonVQjg9XyO5/view).)

Throughput Metrics

xidachen@ fixed wrong reporting in video frame sequence length (CL), where 50% had length of 0 frames.

Chrome Interactions Highlights | August 2020

go/interactions-team