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

Unified Diff: third_party/WebKit/LayoutTests/fonts/system-font.html

Issue 2138613002: Set the font family for the "system-ui" generic font family on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WIP Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fonts/system-font.html
diff --git a/third_party/WebKit/LayoutTests/fonts/system-font.html b/third_party/WebKit/LayoutTests/fonts/system-font.html
new file mode 100644
index 0000000000000000000000000000000000000000..ca19b4fe521c5df30cd41269f92151a092ef38ec
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fonts/system-font.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<div id=log></div>
+<script>
+'use strict'
+if (window.testRunner)
+ testRunner.dumpAsText();
+if (window.internals)
+ log.textContent = `systemFontFamily is "${internals.systemFontFamily}".`;
+else
+ log.textContent = 'This test requires window.internals.';
+</script>

Powered by Google App Engine
This is Rietveld 408576698