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:
commit
57ea2d8bb1
1 changed files with 4 additions and 0 deletions
4
src/test/rustdoc-gui/module-items-font.goml
Normal file
4
src/test/rustdoc-gui/module-items-font.goml
Normal 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)
|
Loading…
Add table
Reference in a new issue