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

Unified Diff: LayoutTests/fast/css/webfont-lighter-weight-crash.html

Issue 130783004: Add support for font-weight: lighter for web fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/webfont-lighter-weight-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/webfont-lighter-weight-crash.html
diff --git a/LayoutTests/fast/css/webfont-lighter-weight-crash.html b/LayoutTests/fast/css/webfont-lighter-weight-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..ec1aac0130ddfea6809f4388ea7f309af9196f90
--- /dev/null
+++ b/LayoutTests/fast/css/webfont-lighter-weight-crash.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ @font-face {
+ font-weight: lighter;
+ font-family: "Times New Roman";
+ src: local("Helvetica");
+ }
+ </style>
+ </head>
+ <body>
+ <p>
+ Tests that <code>font-weight: lighter</code> is handled for
+ web fonts. Test passes if it does not crash.
+ </p>
+ <script>
+ if (window.testRunner)
+ window.testRunner.dumpAsText();
+ </script>
+ </body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/css/webfont-lighter-weight-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698