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

Unified Diff: LayoutTests/svg/custom/svg-font-support-expected.html

Issue 360203002: Disable SVG Fonts in CSS on all platforms except GDI Windows (XP, Vista) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove svg/custom/acid3-test-77.html change Created 6 years, 6 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
« no previous file with comments | « LayoutTests/svg/custom/svg-font-support.html ('k') | Source/core/css/CSSFontFaceSrcValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/svg-font-support-expected.html
diff --git a/LayoutTests/svg/custom/svg-font-support-expected.html b/LayoutTests/svg/custom/svg-font-support-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..bbad959bd68d5be0d2c6250cb87242193f75fd7c
--- /dev/null
+++ b/LayoutTests/svg/custom/svg-font-support-expected.html
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML>
+<style>
+ @import url('../../resources/opensans/OpenSans-Regular.woff') format('woff');
+</style>
+crbug.com/242735: This test passes if no SVG fonts are used.
+
+<p>
+ <div>This text should use the default font.</div>
+ <div>This text should use the default font.</div>
+</p>
+
+<p>
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="12pt">
+ <text y="12pt">This text should use the default font.</text>
+ </svg><br>
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="12pt">
+ <text y="12pt">This text should use the default font.</text>
+ </svg>
+</p>
+
+<p>
+ <div>This text should use the default font.</div>
+ <div>This text should use the default font.</div>
+</p>
+
+<p>
+ <div style="font-family: Verdana;">This text should use Verdana.</div>
+ <div style="font-family: Verdana;">This text should use Verdana.</div>
+</p>
+
+<p>
+ <div style="font-family: Open Sans;">This text should use Open Sans.</div>
+ <div style="font-family: Open Sans;">This text should use Open Sans.</div>
+</p>
« no previous file with comments | « LayoutTests/svg/custom/svg-font-support.html ('k') | Source/core/css/CSSFontFaceSrcValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698