gecko/layout/reftests/scoped-style/scoped-style-font-face.html
2013-01-09 10:25:49 +11:00

24 lines
426 B
HTML

<!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>