blob: 5910d5d95a1027646f7228449fd234cff7079a84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE html>
<html class="test-wait">
<title>View transitions: list-style-position crash</title>
<link rel="help" href="https://github.com/WICG/view-transitions">
<link rel="author" href="mailto:bokan@chromium.org">
<script>
onload = async () => {
let vt = document.startViewTransition();
await vt.ready;
await new Promise(resolve => requestAnimationFrame(resolve));
document.documentElement.style.listStylePosition = 'inside';
// Force style update.
window.scrollX;
document.documentElement.classList.remove('test-wait');
}
</script>
</html>
|