Index: LayoutTests/fast/css/font-face-small-caps-with-svg-source.html |
diff --git a/LayoutTests/fast/css/font-face-small-caps-with-svg-source.html b/LayoutTests/fast/css/font-face-small-caps-with-svg-source.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d0a5fbe35e6698fcd57aa6cdb9870db1e3cc352a |
--- /dev/null |
+++ b/LayoutTests/fast/css/font-face-small-caps-with-svg-source.html |
@@ -0,0 +1,19 @@ |
+<style> |
+ @font-face { |
+ font-family: family1; |
+ src: local(Ahem), |
+ url(../../resources/Ahem.ttf) format(truetype), |
+ url(../../resources/nonexistent.svg) format(svg); |
+ } |
+ p.test { |
+ font-family: family1; |
+ font-variant: small-caps; |
+ } |
+</style> |
+<p> |
+Test for <a href="http://crbug.com/298970">bug 298970</a>. Verifies that small-caps synthesis works when @font-face has a svg source. |
+</p> |
+<p> |
+The text below should be a series of black boxes. |
+</p> |
+<p class="test">failure</p> |