Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / fontfaceset-check-platform-fonts.html
blob3fd6289a743489ff987caa39501f066c286c0e0e
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <script>
4 description('Tests FontFaceSet#check() returns true for platform fonts');
6 shouldBeTrue("document.fonts.check('10px Arial');");
7 shouldBeFalse("document.fonts.check('10px Nonexistent');");
8 shouldBeTrue("document.fonts.check('10px sans-serif');");
9 shouldBeTrue("document.fonts.check('10px Nonexistent, monospace');");
10 shouldBeFalse("document.fonts.check('10px Nonexistent1, Nonexistent2');");
11 </script>