Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<title>math-depth limits</title>
<meta charset="utf-8">
<meta name="assert" content="Check change between possible limits or overflowing values of an integer math-depth do not cause any crash">
<style>
@font-face {
font-family: scriptpercentscaledown80-scriptscriptpercentscaledown40;
src: url("/fonts/math/scriptpercentscaledown80-scriptscriptpercentscaledown40.woff");
}
body {
font-family: scriptpercentscaledown80-scriptscriptpercentscaledown40;
}
</style>
</head>
<body>
<div style="math-depth: -128">
<div style="font-size: math; math-depth: 127">
<div style="font-size: math; math-depth: -128">
</div>
</div>
</div>
<div style="math-depth: -32768">
<div style="font-size: math; math-depth: 32767">
<div style="font-size: math; math-depth: -32768">
</div>
</div>
</div>
<div style="math-depth: -2147483648">
<div style="font-size: math; math-depth: 2147483647">
<div style="font-size: math; math-depth: -2147483648">
</div>
</div>
</div>
<div style="math-depth: -9223372036854775808">
<div style="font-size: math; math-depth: 9223372036854775807">
<div style="font-size: math; math-depth: -9223372036854775808">
</div>
</div>
</div>
</body>
</html>