<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script>
addEventListener("load", () => {
  document.execCommand("styleWithCSS", false, "true");
  document.getSelection().collapse(document.querySelector("label"), 0);
  document.execCommand("outdent");
});
</script>
</head>
<body>
<li contenteditable>
<legend style="margin-right: 43%">
<meter>
<mi dir="rtl">8</mi>
<label>
<dir></dir>
</label>
</meter>
</legend>
</li>
</body>
</html>
