Files
ladybird/Tests/LibWeb/Crash/wpt-import/css/css-view-transitions/first-line-reparent-crash.html
Psychpsyo 905e749575 LibWeb: Use correct style rule index in view transitions
This used to crash a lot of attempted view transitions, now it
doesn't anymore.
2025-09-09 12:50:09 +01:00

14 lines
362 B
HTML

<!doctype html>
<html class="test-wait">
<script>
window.addEventListener("load", () => {
const a = document.createElement("style")
document.documentElement.appendChild(a)
a.textContent = ":first-line{}"
document.adoptNode(document.body)
document.startViewTransition().ready.then(() => {
document.documentElement.className = "";
});
})
</script>