Skip to content

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

Open
jgraham wants to merge 1 commit into
masterfrom
timing_delay
Open

jgraham wants to merge 1 commit into
masterfrom
timing_delay

Conversation

@jgraham

@jgraham jgraham commented Jan 13, 2023

Copy link
Copy Markdown
Contributor

This is for Interop 2023 Web Compatibility.

@dbaron dbaron left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

This branch has not been deployed

No deployments
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