[Webkit-unassigned] [Bug 269051] :empty selector with animation not working properly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 6 13:40:16 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=269051
Antoine Quint <graouts at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #470209|0 |1
is obsolete| |
--- Comment #8 from Antoine Quint <graouts at webkit.org> ---
Comment on attachment 470209
--> https://bugs.webkit.org/attachment.cgi?id=470209
Test
<!DOCTYPE html>
<html>
<head>
<title>WebKit Bug 269051</title>
<style>
.parent {
width: 100px;
height: 100px;
background-color: green;
}
.parent:empty {
background-color: red;
animation: animation 1s;
}
@keyframes animation { }
</style>
</head>
<body>
<div class="parent"></div>
<script>
setTimeout(() => document.querySelector('.parent').appendChild(document.createElement('div')), 1000);
</script>
</body>
</html>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240306/52b6d5c2/attachment.htm>
More information about the webkit-unassigned
mailing list