summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/983985-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/983985-2.html')
-rw-r--r--layout/reftests/bugs/983985-2.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/reftests/bugs/983985-2.html b/layout/reftests/bugs/983985-2.html
new file mode 100644
index 000000000..39a88428f
--- /dev/null
+++ b/layout/reftests/bugs/983985-2.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Bug 983985</title>
+<style>
+@font-face {
+ font-family: test;
+ src: url(../fonts/dejavu-sans/DejaVuSans.ttf);
+}
+.outer {
+ font: italic 36px test;
+ width: 2.5em; /* enough to display "hello" but not the hexbox */
+ overflow: hidden;
+}
+.inner {
+ width: 10em;
+}
+</style>
+</head>
+<body>
+<div class="outer">
+<div class="inner">
+hello &#x530; world
+</div>
+</div>
+</body>
+</html>