mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-28 11:27:32 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
57
layout/reftests/mathml/maction-dynamic-embellished-op.html
Normal file
57
layout/reftests/mathml/maction-dynamic-embellished-op.html
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
|
||||
<head>
|
||||
<title>dynamic maction and embellished op</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>'<math><maction id="m1"><mi>a</mi><mo>b</mo></maction></math>'</p>
|
||||
<p>'<math><maction id="m2"><mo>b</mo><mi>a</mi></maction></math>'</p>
|
||||
|
||||
<p>"<math><maction id="m3"><mi>a</mi><mo>b</mo></maction></math>"</p>
|
||||
<p>"<math><maction id="m3bis"><mo>b</mo></maction></math>"</p>
|
||||
|
||||
<p>{<math><maction id="m4"><mo>b</mo><mi>a</mi></maction></math>}</p>
|
||||
<p>{<math><maction id="m4bis"><mi>a</mi></maction></math>}</p>
|
||||
|
||||
|
||||
<p>[<math>
|
||||
<mstyle id="m5"><maction><mi>a</mi><mo>b</mo></maction></mstyle>
|
||||
</math>]</p>
|
||||
<p>[<math>
|
||||
<mstyle id="m6"><maction><mo>b</mo><mi>a</mi></maction></mstyle>
|
||||
</math>]</p>
|
||||
|
||||
<p>(<math id="m7"><maction><mi>a</mi><mo>b</mo></maction></math>)</p>
|
||||
<p>(<math id="m8"><maction><mo>b</mo><mi>a</mi></maction></math>)</p>
|
||||
|
||||
<script>
|
||||
function doTest()
|
||||
{
|
||||
document.getElementById("m1").setAttribute("selection", "2");
|
||||
document.getElementById("m2").setAttribute("selection", "2");
|
||||
|
||||
var m3 = document.getElementById("m3");
|
||||
var m3bis = document.getElementById("m3bis");
|
||||
m3bis.insertBefore(m3.removeChild(m3.firstChild), m3bis.firstChild);
|
||||
|
||||
var m4 = document.getElementById("m4");
|
||||
var m4bis = document.getElementById("m4bis");
|
||||
m4bis.insertBefore(m4.removeChild(m4.firstChild), m4bis.firstChild);
|
||||
|
||||
document.getElementById("m5").setAttribute("selection", "2");
|
||||
document.getElementById("m6").setAttribute("selection", "2");
|
||||
|
||||
document.getElementById("m7").setAttribute("selection", "2");
|
||||
document.getElementById("m8").setAttribute("selection", "2");
|
||||
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
window.addEventListener("MozReftestInvalidate", doTest, false);
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue