Rollup merge of #87398 - GuillaumeGomez:test-font-module-items, r=notriddle

Add test for fonts used for module items

Fixes #85632.

r? `@notriddle`
This commit is contained in:
Yuki Okushi 2021-07-24 04:31:14 +09:00 committed by GitHub
commit 57ea2d8bb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,4 @@
// This test checks that the correct font is used on module items (in index.html pages).
goto: file://|DOC_PATH|/test_docs/index.html
assert-css: (".item-table .module-item a", {"font-family": '"Fira Sans", Arial, sans-serif'}, ALL)
assert-css: (".item-table .docblock-short", {"font-family": '"Source Serif 4", "Noto Sans KR", serif'}, ALL)