gecko/layout/reftests/scoped-style/scoped-style-font-face.html

24 lines
426 B
HTML
Raw Normal View History

<!DOCTYPE html>
<body>
<style>
@font-face {
font-family: Ahem;
url: src(../fonts/Ahem.ttf);
}
#a { font-family: Ahem }
#c { font-family: Ahem2 }
</style>
<p id=a>First</p>
<p>
<style scoped>
@font-face {
font-family: Ahem2;
url: src(../fonts/Ahem.ttf);
}
p { font-family: Ahem2; color: blue }
</style>
Second
</p>
<p id=c>Third</p>
</body>