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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/layout-fonts/generic-system-ui.html

Issue 2137483004: Enable "system-ui" generic font family (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor and cleanup Created 4 years, 2 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/inspector-protocol/layout-fonts/generic-system-ui.html
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/layout-fonts/generic-system-ui.html b/third_party/WebKit/LayoutTests/inspector-protocol/layout-fonts/generic-system-ui.html
new file mode 100644
index 0000000000000000000000000000000000000000..1ce9b7af2dd572319609d6c8cec1de14bd458b61
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/layout-fonts/generic-system-ui.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
drott 2016/10/12 11:01:59 Good test, thanks.
kojii 2016/10/12 11:14:52 ;) Thanks for creating this framework, this is rea
+<script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
+<script type="text/javascript" src="../../http/tests/inspector-protocol/css-protocol-test.js"></script>
+<script type="text/javascript" src="../../http/tests/inspector-protocol/dom-protocol-test.js"></script>
+<script type="text/javascript" src="resources/layout-font-test.js"></script>
+<style>
+.test {
+ font-family: system-ui;
+}
+#system-ui-20pt {
+ font-size: 20pt;
+}
+</style>
+<div class="test">
+ <div id="system-ui">This text should use the system font.</div>
+ <div id="system-ui-20pt">This text should use the system font.</div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698