mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-20 11:23:07 +09:00
15 lines
408 B
HTML
15 lines
408 B
HTML
<!DOCTYPE html>
|
|
<meta charset=utf-8>
|
|
<title>Dynamically setting `reversed` should update the numbering</title>
|
|
<link rel=match href="reversed-1-ref.html">
|
|
<link rel=help href="https://html.spec.whatwg.org/#attr-ol-reversed">
|
|
<ol id="x">
|
|
<li>Three</li>
|
|
<li>Two</li>
|
|
<li>One</li>
|
|
</ol>
|
|
<script>
|
|
var l = document.getElementById("x");
|
|
var w = l.offsetWidth;
|
|
l.setAttribute("reversed", "");
|
|
</script>
|