mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-16 05:51:55 +00:00
17 lines
508 B
HTML
17 lines
508 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<link rel="match" href="../expected/ol-change-reversed-attribute-ref.html" />
|
|
<ol id="list">
|
|
<li>Item a</li>
|
|
<li>Item b</li>
|
|
</ol>
|
|
<script>
|
|
// Two nested requestAnimationFrame() calls to force code execution _after_ initial paint
|
|
requestAnimationFrame(() => {
|
|
requestAnimationFrame(() => {
|
|
document.getElementById("list").reversed = true;
|
|
document.documentElement.className = '';
|
|
});
|
|
});
|
|
</script>
|
|
</html>
|