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

Unified Diff: LayoutTests/svg/custom/svg-fonts-unloaded-segment.html

Issue 271633002: Unloaded font segment should not affect primaryFontData (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | LayoutTests/svg/custom/svg-fonts-unloaded-segment-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/svg-fonts-unloaded-segment.html
diff --git a/LayoutTests/svg/custom/svg-fonts-unloaded-segment.html b/LayoutTests/svg/custom/svg-fonts-unloaded-segment.html
new file mode 100644
index 0000000000000000000000000000000000000000..4a17fcd7c6dd6a01b4d06a8d4827b942d9594a0f
--- /dev/null
+++ b/LayoutTests/svg/custom/svg-fonts-unloaded-segment.html
@@ -0,0 +1,27 @@
+<html>
+<head>
+<style>
+ /* This font-face should not affect rendering */
+ @font-face {
+ font-family: f;
+ src: url("resources/no-latin-glyph-font.svg#Font") format(svg);
+ unicode-range: U+3042;
+ }
+
+ @font-face {
+ font-family: f;
+ src: url("resources/graffiti.svg#SVGraffiti") format(svg);
+ }
+
+ #test {
+ font-family: f, sans-serif;
+ font-size: 40px;
+ }
+</style>
+</head>
+<body>
+
+<p id='test'>This text should be rendered with SVGraffiti.</p>
+
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/svg/custom/svg-fonts-unloaded-segment-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698