blob: e889fb6942a73eb72d07c682cf7e3adf4c2bfbe1 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
<script>
function runTest() {
description('Tests that superscriptshift works on msubsup. After adding superscriptshift the height of msubsup element should increase');
var rect = document.getElementById("msubsupEle").getBoundingClientRect();
height = rect.bottom - rect.top;
shouldBeTrue("height > 150");
isSuccessfullyParsed();
}
</script>
</head>
<body onload="runTest()">
<math>
<msubsup superscriptshift="60px" id="msubsupEle">
<mspace width="50px" height="50px" mathbackground="green"/>
<mspace width="50px" height="50px" mathbackground="blue"/>
<mspace width="50px" height="50px" mathbackground="red"/>
</msubsup>
</math>
</body>
</html>