Chromium Code Reviews| 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> |