mirror of
https://github.com/rust-lang/rust
synced 2024-10-14 12:33:57 +00:00
Add test for fonts used for module items
This commit is contained in:
parent
05f2326c05
commit
327eef999e
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…
Reference in a new issue