Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / font-face-with-lighter-or-bolder-weight-crash.html
blobac045f006167c6832b3c6792852f9f57d00a8e58
1 <!DOCTYPE html>
2 <head>
3 <style>
4 @font-face {
5 font-family: firstFace;
6 src: local("Helvetica");
7 font-weight: bolder;
10 @font-face {
11 font-family: secondFace;
12 src: local("Helvetica");
13 font-weight: lighter;
15 </style>
16 <body>
17 <p>Test for a crash when a font-weight property in @font-face contains one of the relative 'lighter' or 'bolder' keywords.
18 PASS if Blink does not crash in debug.
19 </p>
20 <script>
21 if (window.testRunner)
22 testRunner.dumpAsText();
23 </script>
24 </body>