<html> | |
<head> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
</script> | |
<style> | |
@font-face { | |
font-family: invalid-data; | |
src:url("data:font/ttf;base64,VGhpcyBpcyBub3QgYSBmb250LiAgVGhpcyBpcyBub3QgYSBmb250LiAgVGhpcyBpcyBub3QgYSBmb250LiAgVGhpcyBpcyBub3QgYSBmb250LiAgVGhpcyBpcyBub3QgYSBmb250Lgo="); | |
} | |
</style> | |
</head> | |
<body> | |
<p>Test for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=85089">85089: [Qt] ASSERT in FontCustomPlatformDataQt.cpp with invalid font in data URI</p> | |
<span style="font-family:invalid-data;">This tests for an ASSERT when using @font-face with invalid font data</span> | |
</body> | |
</html> |