diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-07-24 04:31:14 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-24 04:31:14 +0900 |
| commit | 57ea2d8bb1b249014d0fa65862317fd9e4d3eff0 (patch) | |
| tree | 31ed09ca31bab2c11642bc3259bede5928ab2b88 /src | |
| parent | f709999161265cb0eb2754eb18852d69fa29e9a1 (diff) | |
| parent | 327eef999e546a6329d1af51f1fc9fe14145f202 (diff) | |
| download | rust-57ea2d8bb1b249014d0fa65862317fd9e4d3eff0.tar.gz rust-57ea2d8bb1b249014d0fa65862317fd9e4d3eff0.zip | |
Rollup merge of #87398 - GuillaumeGomez:test-font-module-items, r=notriddle
Add test for fonts used for module items Fixes #85632. r? `@notriddle`
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/rustdoc-gui/module-items-font.goml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/rustdoc-gui/module-items-font.goml b/src/test/rustdoc-gui/module-items-font.goml new file mode 100644 index 00000000000..817b148bee1 --- /dev/null +++ b/src/test/rustdoc-gui/module-items-font.goml @@ -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) |
