mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-15 15:42:52 +00:00
This reverts 6d25bf3aac
Invalidating the style here means that transitions can cause an element
to leave style computation with its "needs style update" flag set to
true. This then causes a VERIFY to fail in the TreeBuilder.
This invalidation does not otherwise seem to have any effect. The
original commit suggests this was to fix a bug, but it's not clear what
bug that was. If it reappears, we can try to solve the issue in a
different way.
18 lines
301 B
HTML
18 lines
301 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<style>
|
|
.foo {
|
|
opacity: 0;
|
|
transition: opacity 200ms;
|
|
}
|
|
</style>
|
|
<ul>
|
|
<li class="foo"></li>
|
|
<li></li>
|
|
</ul>
|
|
<video src=""></video>
|
|
<script>
|
|
test(() => {
|
|
println("PASS (didn't crash)");
|
|
});
|
|
</script>
|