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

Unified Diff: LayoutTests/fast/css/font-face-small-caps-with-svg-source.html

Issue 26702008: Allow small-caps synthesis for @font-face with multiple sources including SVG format (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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/fast/css/font-face-small-caps-with-svg-source-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/css/font-face-small-caps-with-svg-source-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698