mirror of
https://github.com/servo/servo.git
synced 2025-09-05 04:28:22 +01:00
Add support for <super> and <sup> tags. Fixes equations on wikipedia.
This commit is contained in:
parent
d9e26352a1
commit
52c5007b07
10 changed files with 232 additions and 15 deletions
29
tests/ref/vertical_align_sub_ref.html
Normal file
29
tests/ref/vertical_align_sub_ref.html
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
.text {
|
||||
position: absolute;
|
||||
background-color: blue;
|
||||
top: 100px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
.aligned {
|
||||
position: absolute;
|
||||
background-color: red;
|
||||
top: 136px;
|
||||
left: 100px;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="text"></div>
|
||||
<div class="aligned"></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue