mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-03 03:41:17 +00:00
53 lines
974 B
HTML
53 lines
974 B
HTML
<!DOCTYPE html>
|
|
|
|
<style>
|
|
@font-face {
|
|
font-family: bar;
|
|
src: url(bad/font/name.ttf), url(ostrich-regular.ttf) format("truetype");
|
|
}
|
|
@font-face {
|
|
font-family: barnormal;
|
|
font-weight: normal;
|
|
src: url(ostrich-regular.ttf);
|
|
}
|
|
@font-face {
|
|
font-family: bar;
|
|
font-weight: bold;
|
|
src: url(ostrich-black.ttf);
|
|
}
|
|
@font-face {
|
|
font-family: bar;
|
|
font-weight: 800;
|
|
src: url(ostrich-black.ttf);
|
|
}
|
|
body{
|
|
font-family:Arial;
|
|
font-size: 36px;
|
|
}
|
|
div {
|
|
font-family:Arial;
|
|
font-family:bar;
|
|
}
|
|
.normal-text {
|
|
font-family: barnormal;
|
|
font-weight: normal;
|
|
}
|
|
.bold-text {
|
|
font-family: bar;
|
|
font-weight: bold;
|
|
}
|
|
.black-text {
|
|
font-family: bar;
|
|
font-weight: 800;
|
|
}
|
|
</style>
|
|
|
|
<body>
|
|
BODY
|
|
<div>DIV</div>
|
|
<iframe src="test_iframe.html"></iframe>
|
|
<div class="normal-text">NORMAL DIV</div>
|
|
<div class="bold-text">BOLD DIV</div>
|
|
<div class="black-text">800 DIV</div>
|
|
</body>
|