mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-20 19:33:08 +09:00
16 lines
464 B
HTML
16 lines
464 B
HTML
<!DOCTYPE html>
|
|
<meta charset=utf-8>
|
|
<title>Reversed numbering should update on dynamic addition of child nodes</title>
|
|
<link rel=match href="reversed-1-ref.html">
|
|
<link rel=help href="https://html.spec.whatwg.org/#attr-ol-reversed">
|
|
<ol id="x" reversed>
|
|
<li>Three</li>
|
|
<li>Two</li>
|
|
</ol>
|
|
<script>
|
|
var l = document.getElementById("x");
|
|
var w = l.offsetWidth;
|
|
var li = document.createElement("li");
|
|
li.textContent = "One"
|
|
l.appendChild(li);
|
|
</script>
|