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

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

Issue 2828163002: Add assert descriptions to fontfaceset-check-platform-fonts.html (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src='../../resources/testharness.js'></script> 2 <script src='../../resources/testharness.js'></script>
3 <script src='../../resources/testharnessreport.js'></script> 3 <script src='../../resources/testharnessreport.js'></script>
4 <script> 4 <script>
5 5
6 test(() => { 6 test(() => {
7 assert_true(document.fonts.check('10px Arial')); 7 assert_true(document.fonts.check('10px Arial'), 'Arial');
8 assert_false(document.fonts.check('10px Nonexistent')); 8 assert_false(document.fonts.check('10px Nonexistent'), 'Nonexistent');
9 assert_true(document.fonts.check('10px sans-serif')); 9 assert_true(document.fonts.check('10px sans-serif'), 'sans-serif');
10 assert_true(document.fonts.check('10px Nonexistent, monospace')); 10 assert_true(document.fonts.check('10px Nonexistent, monospace'), 'Nonexistent, monospace');
11 assert_false(document.fonts.check('10px Nonexistent1, Nonexistent2')); 11 assert_false(document.fonts.check('10px Nonexistent1, Nonexistent2'), 'Nonexis tent1, Nonexistent2');
12 }, 'Tests FontFaceSet#check() returns true for platform fonts'); 12 }, 'Tests FontFaceSet#check() returns true for platform fonts');
13 13
14 </script> 14 </script>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698