Index: LayoutTests/fast/css/font-face-with-lighter-or-bolder-weight-crash.html |
diff --git a/LayoutTests/fast/css/font-face-with-lighter-or-bolder-weight-crash.html b/LayoutTests/fast/css/font-face-with-lighter-or-bolder-weight-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ac045f006167c6832b3c6792852f9f57d00a8e58 |
--- /dev/null |
+++ b/LayoutTests/fast/css/font-face-with-lighter-or-bolder-weight-crash.html |
@@ -0,0 +1,24 @@ |
+<!DOCTYPE html> |
+<head> |
+ <style> |
+ @font-face { |
+ font-family: firstFace; |
+ src: local("Helvetica"); |
+ font-weight: bolder; |
+ } |
+ |
+ @font-face { |
+ font-family: secondFace; |
+ src: local("Helvetica"); |
+ font-weight: lighter; |
+ } |
+ </style> |
+<body> |
+ <p>Test for a crash when a font-weight property in @font-face contains one of the relative 'lighter' or 'bolder' keywords. |
+ PASS if Blink does not crash in debug. |
+ </p> |
+ <script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ </script> |
+</body> |