2021-07-23 04:41:21 -05:00
|
|
|
// This test checks that the correct font is used on module items (in index.html pages).
|
2022-10-07 13:17:05 -05:00
|
|
|
goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
|
2021-12-12 11:28:58 -06:00
|
|
|
assert-css: (
|
|
|
|
".item-table .module-item a",
|
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
ALL,
|
|
|
|
)
|
|
|
|
assert-css: (
|
|
|
|
".item-table .docblock-short",
|
|
|
|
{"font-family": '"Source Serif 4", NanumBarunGothic, serif'},
|
|
|
|
ALL,
|
|
|
|
)
|
2021-08-16 14:38:30 -05:00
|
|
|
|
|
|
|
// modules
|
2021-12-12 11:28:58 -06:00
|
|
|
assert-css: (
|
|
|
|
"#modules + .item-table .item-left a",
|
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
|
|
|
"#modules + .item-table .item-right.docblock-short",
|
|
|
|
{"font-family": '"Source Serif 4", NanumBarunGothic, serif'},
|
|
|
|
)
|
2021-08-16 14:38:30 -05:00
|
|
|
// structs
|
2021-12-12 11:28:58 -06:00
|
|
|
assert-css: (
|
|
|
|
"#structs + .item-table .item-left a",
|
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
|
|
|
"#structs + .item-table .item-right.docblock-short",
|
|
|
|
{"font-family": '"Source Serif 4", NanumBarunGothic, serif'},
|
|
|
|
)
|
2021-08-16 14:38:30 -05:00
|
|
|
// enums
|
2021-12-12 11:28:58 -06:00
|
|
|
assert-css: (
|
|
|
|
"#enums + .item-table .item-left a",
|
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
|
|
|
"#enums + .item-table .item-right.docblock-short",
|
|
|
|
{"font-family": '"Source Serif 4", NanumBarunGothic, serif'},
|
|
|
|
)
|
2021-08-16 14:38:30 -05:00
|
|
|
// traits
|
2021-12-12 11:28:58 -06:00
|
|
|
assert-css: (
|
|
|
|
"#traits + .item-table .item-left a",
|
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
|
|
|
"#traits + .item-table .item-right.docblock-short",
|
|
|
|
{"font-family": '"Source Serif 4", NanumBarunGothic, serif'},
|
|
|
|
)
|
2021-08-16 14:38:30 -05:00
|
|
|
// functions
|
2021-12-12 11:28:58 -06:00
|
|
|
assert-css: (
|
|
|
|
"#functions + .item-table .item-left a",
|
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
|
|
|
"#functions + .item-table .item-right.docblock-short",
|
|
|
|
{"font-family": '"Source Serif 4", NanumBarunGothic, serif'},
|
|
|
|
)
|
2021-08-16 14:38:30 -05:00
|
|
|
// keywords
|
2021-12-12 11:28:58 -06:00
|
|
|
assert-css: (
|
|
|
|
"#keywords + .item-table .item-left a",
|
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
|
|
|
"#keywords + .item-table .item-right.docblock-short",
|
|
|
|
{"font-family": '"Source Serif 4", NanumBarunGothic, serif'},
|
|
|
|
)
|