Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / css / font-face-with-lighter-or-bolder-weight-crash.html
1 <!DOCTYPE html>
2 <head>
3     <style>
4         @font-face {
5             font-family: firstFace;
6             src: local("Helvetica");
7             font-weight: bolder;
8         }
9
10         @font-face {
11             font-family: secondFace;
12             src: local("Helvetica");
13             font-weight: lighter;
14         }
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>