Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test for Chromium animation bug with delay and step-end transition #37937

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jgraham
Copy link
Contributor

@jgraham jgraham commented Jan 13, 2023

This is for Interop 2023 Web Compatibility.

Copy link
Member

@dbaron dbaron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good with a few fixes. Please double-check that the checks still show failing on Chromium and passing on Firefox and Safari after making the fixes.

And sorry for taking so long to get to this review...

@@ -0,0 +1,12 @@
<!doctyle html>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doctype rather than doctyle (and in the reference too)... unless the test depends on being quirks mode, in which case remove the line!

</style>
<p>With a duration of 507ms, the animation does not reach the 100% keyframe (green background).

<div class="anim" style="animation-duration: 507ms;"></div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like this style attribute in the reference is unneeded.

@@ -0,0 +1,34 @@
<!doctyle html>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

</style>
<p>With a duration of 507ms, the animation does not reach the 100% keyframe (green background).

<div class="anim""></div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only a single double-quote after anim, please, unless it's relevant to the test.


<div class="anim""></div>
<script>
takeScreenshotDelayed(5000)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit unfortunate to have to use such a long delay, but it sounds like this bug is timing sensitive, so if it's hard to find a shorter delay that also shows the bug then this is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants