-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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 is for Interop 2023 Web Compatibility.