mirror of
https://github.com/servo/servo.git
synced 2025-06-21 23:59:00 +01:00
This still needs a lot of work, but it covers the basic cases and improves wikipedia while passing all existing tests. Tweak reftest to deal with linux/travis black background.
36 lines
933 B
HTML
36 lines
933 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
@font-face {
|
|
font-family: 'ahem';
|
|
src: url(fonts/ahem/ahem.ttf);
|
|
}
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: white;
|
|
}
|
|
.red {
|
|
color: red;
|
|
}
|
|
.green {
|
|
color: green;
|
|
}
|
|
.ib {
|
|
display: inline-block;
|
|
}
|
|
span {
|
|
font-family: ahem;
|
|
font-size: 100px;
|
|
}
|
|
.bg {
|
|
background-color: white;
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 500px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body><div class="bg"><span class="red">X</span><img src="400x400_green.png"><span class="green ib">X</span></div></body>
|
|
</html>
|