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

Unified Diff: LayoutTests/fast/css/font-face-with-lighter-or-bolder-weight-crash.html

Issue 542713002: Handle font-weigths with 'bolder' or 'lighter' values in @font-face rules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Comment is added. Created 6 years, 3 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-with-lighter-or-bolder-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/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>
« no previous file with comments | « no previous file | LayoutTests/fast/css/font-face-with-lighter-or-bolder-weight-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698