summaryrefslogtreecommitdiffstats
path: root/layout/reftests/scoped-style/scoped-style-font-face.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/scoped-style/scoped-style-font-face.html')
-rw-r--r--layout/reftests/scoped-style/scoped-style-font-face.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/scoped-style/scoped-style-font-face.html b/layout/reftests/scoped-style/scoped-style-font-face.html
new file mode 100644
index 000000000..e79e255f7
--- /dev/null
+++ b/layout/reftests/scoped-style/scoped-style-font-face.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<body>
+ <style>
+ @font-face {
+ font-family: Ahem;
+ src: url(../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;
+ src: url(../fonts/Ahem.ttf);
+ }
+ p { font-family: Ahem2; color: blue }
+ </style>
+ Second
+ </p>
+ <p id=c>Third</p>
+</body>