Files
ladybird/Tests/LibWeb/Text/input/css/expanded-longhand-transition.html
Callum Law af431d800b Tests: Import/create tests related to transition property handling
Done in a distinct commit to see progress over following commits
2025-09-11 06:08:07 +01:00

23 lines
623 B
HTML

<!DOCTYPE html>
<html>
<style>
#foo {
transition: border 1s linear;
border-top: 1px solid red;
}
</style>
<div id="foo"></div>
<script src="../include.js"></script>
<script>
test(() => {
// FIXME: We call getComputedStyle to ensure that style is computed before we update the style attribute
// below to ensure that transitions are triggered.
getComputedStyle(foo).border;
foo.style = "border-top-width: 5px";
println(document.getAnimations().length);
});
</script>
</html>