Add support for <super> and <sup> tags. Fixes equations on wikipedia.

This commit is contained in:
Glenn Watson 2014-09-29 15:16:59 +10:00
parent d9e26352a1
commit 52c5007b07
10 changed files with 232 additions and 15 deletions

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/ahem.css">
<style type="text/css">
body {
margin: 0;
font-size: 100px;
line-height: 1;
}
div {
color: blue;
margin-top: 100px;
}
.align {
color: red;
font-size: 0.8em;
vertical-align: super;
}
</style>
</head>
<body>
<div><span>X</span><span class="align">X</span></div>
</body>
</html>