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> |