Index: LayoutTests/svg/as-image/default-monospace-font.html |
diff --git a/LayoutTests/svg/as-image/default-monospace-font.html b/LayoutTests/svg/as-image/default-monospace-font.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6d2c056bde3d12f0ff447958f47fcc6510ef34d1 |
--- /dev/null |
+++ b/LayoutTests/svg/as-image/default-monospace-font.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<style> |
+ * { |
+ margin: 0; |
+ padding: 0; |
+ } |
+ div { |
+ background-image: url("data:image/svg+xml;utf8,<svg width='100' height='100' xmlns='http://www.w3.org/2000/svg'><text y='30' font-family='monospace' fill='green'>PASS</text></svg>"); |
+ width: 100px; |
+ height: 100px; |
+ } |
+</style> |
+crbug.com/167760: This test passes if the word "PASS" appears below in monospace:<br> |
+<div></div> |