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

Unified Diff: LayoutTests/fast/css/font-weight-1.html

Issue 110313004: Change font-weight-1 test to use webfonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 12 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/TestExpectations ('k') | LayoutTests/resources/WebKitWeightWatcher100.ttf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/font-weight-1.html
diff --git a/LayoutTests/fast/css/font-weight-1.html b/LayoutTests/fast/css/font-weight-1.html
index 06bf4c3321fbb99abda5ab835bc16cb1baa131ef..d43c3e1335a49d6ff2107916aba4ec212fae02c7 100644
--- a/LayoutTests/fast/css/font-weight-1.html
+++ b/LayoutTests/fast/css/font-weight-1.html
@@ -1,5 +1,53 @@
+<!DOCTYPE html>
+<html>
+<head>
<style>
- div { font-family: WebKit WeightWatcher; font-size: 48px; }
+ @font-face {
+ font-family: 'WebKit WeightWatcher';
+ font-weight: 100;
+ src: url('../../resources/WebKitWeightWatcher100.ttf');
+ }
+ @font-face {
+ font-family: 'WebKit WeightWatcher';
+ font-weight: 200;
+ src: url('../../resources/WebKitWeightWatcher200.ttf');
+ }
+ @font-face {
+ font-family: 'WebKit WeightWatcher';
+ font-weight: 300;
+ src: url('../../resources/WebKitWeightWatcher300.ttf');
+ }
+ @font-face {
+ font-family: 'WebKit WeightWatcher';
+ font-weight: 400;
+ src: url('../../resources/WebKitWeightWatcher400.ttf');
+ }
+ @font-face {
+ font-family: 'WebKit WeightWatcher';
+ font-weight: 500;
+ src: url('../../resources/WebKitWeightWatcher500.ttf');
+ }
+ @font-face {
+ font-family: 'WebKit WeightWatcher';
+ font-weight: 600;
+ src: url('../../resources/WebKitWeightWatcher600.ttf');
+ }
+ @font-face {
+ font-family: 'WebKit WeightWatcher';
+ font-weight: 700;
+ src: url('../../resources/WebKitWeightWatcher700.ttf');
+ }
+ @font-face {
+ font-family: 'WebKit WeightWatcher';
+ font-weight: 800;
+ src: url('../../resources/WebKitWeightWatcher800.ttf');
+ }
+ @font-face {
+ font-family: 'WebKit WeightWatcher';
+ font-weight: 900;
+ src: url('../../resources/WebKitWeightWatcher900.ttf');
+ }
+ div { font-family: 'WebKit WeightWatcher'; font-size: 48px; }
.w1 { font-weight: 100; }
.w2 { font-weight: 200; }
.w3 { font-weight: 300; }
@@ -10,6 +58,8 @@
.w8 { font-weight: 800; }
.w9 { font-weight: 900; }
</style>
+</head>
+<body>
<p>
You should see the numbers 1 to 9 below.
</p>
@@ -40,3 +90,5 @@
<div class="w9">
A
</div>
+</body>
+</html>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/resources/WebKitWeightWatcher100.ttf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698