Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Side by Side Diff: LayoutTests/fast/css/fontfaceset-check-platform-fonts.html

Issue 324293003: Change FontFaceSet#check() behavior when no matched font-face (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <script>
4 description('Tests FontFaceSet#check() returns true for platform fonts');
5
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>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/fontfaceset-check-platform-fonts-expected.txt » ('j') | Source/core/css/FontFaceSet.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698