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