mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-06 00:00:58 +00:00
18 lines
502 B
HTML
18 lines
502 B
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html class="reftest-wait">
|
||
|
|
<link rel="match" href="../expected/li-change-value-attribute-ref.html" />
|
||
|
|
<ol>
|
||
|
|
<li id="first">Item a</li>
|
||
|
|
<li>Item b</li>
|
||
|
|
</ol>
|
||
|
|
<script>
|
||
|
|
// Two nested requestAnimationFrame() calls to force code execution _after_ initial paint
|
||
|
|
requestAnimationFrame(() => {
|
||
|
|
requestAnimationFrame(() => {
|
||
|
|
document.getElementById("first").value = 42;
|
||
|
|
document.documentElement.className = '';
|
||
|
|
});
|
||
|
|
});
|
||
|
|
</script>
|
||
|
|
</html>
|