Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: LayoutTests/svg/as-image/default-font-size.html

Issue 1128143003: Set default SVG image font settings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Page::ordinaryPages can be empty in tests (ImageResourceTest) Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/svg/as-image/default-font-size.html
diff --git a/LayoutTests/svg/as-image/default-font-size.html b/LayoutTests/svg/as-image/default-font-size.html
new file mode 100644
index 0000000000000000000000000000000000000000..950cbb8c888a44a66f6f62b225da6aff3ea4c366
--- /dev/null
+++ b/LayoutTests/svg/as-image/default-font-size.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' fill='green'>PASS</text></svg>");
+ width: 100px;
+ height: 100px;
+ }
+</style>
+crbug.com/167760: This test passes if the word "PASS" appears below:<br>
+<div></div>

Powered by Google App Engine
This is Rietveld 408576698