| Index: LayoutTests/fast/css/fontfaceset-check-platform-fonts.html
|
| diff --git a/LayoutTests/fast/css/fontfaceset-check-platform-fonts.html b/LayoutTests/fast/css/fontfaceset-check-platform-fonts.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3fd6289a743489ff987caa39501f066c286c0e0e
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css/fontfaceset-check-platform-fonts.html
|
| @@ -0,0 +1,11 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/js-test.js"></script>
|
| +<script>
|
| +description('Tests FontFaceSet#check() returns true for platform fonts');
|
| +
|
| +shouldBeTrue("document.fonts.check('10px Arial');");
|
| +shouldBeFalse("document.fonts.check('10px Nonexistent');");
|
| +shouldBeTrue("document.fonts.check('10px sans-serif');");
|
| +shouldBeTrue("document.fonts.check('10px Nonexistent, monospace');");
|
| +shouldBeFalse("document.fonts.check('10px Nonexistent1, Nonexistent2');");
|
| +</script>
|
|
|