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: (
|
2023-02-07 20:00:18 -06:00
|
|
|
".item-table .item-name > a",
|
2021-12-12 11:28:58 -06:00
|
|
|
{"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: (
|
2023-02-07 20:00:18 -06:00
|
|
|
"#modules + .item-table .item-name a",
|
2021-12-12 11:28:58 -06:00
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
2023-02-07 20:00:18 -06:00
|
|
|
"#modules + .item-table .desc.docblock-short",
|
2021-12-12 11:28:58 -06:00
|
|
|
{"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: (
|
2023-02-07 20:00:18 -06:00
|
|
|
"#structs + .item-table .item-name a",
|
2021-12-12 11:28:58 -06:00
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
2023-02-07 20:00:18 -06:00
|
|
|
"#structs + .item-table .desc.docblock-short",
|
2021-12-12 11:28:58 -06:00
|
|
|
{"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: (
|
2023-02-07 20:00:18 -06:00
|
|
|
"#enums + .item-table .item-name a",
|
2021-12-12 11:28:58 -06:00
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
2023-02-07 20:00:18 -06:00
|
|
|
"#enums + .item-table .desc.docblock-short",
|
2021-12-12 11:28:58 -06:00
|
|
|
{"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: (
|
2023-02-07 20:00:18 -06:00
|
|
|
"#traits + .item-table .item-name a",
|
2021-12-12 11:28:58 -06:00
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
2023-02-07 20:00:18 -06:00
|
|
|
"#traits + .item-table .desc.docblock-short",
|
2021-12-12 11:28:58 -06:00
|
|
|
{"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: (
|
2023-02-07 20:00:18 -06:00
|
|
|
"#functions + .item-table .item-name a",
|
2021-12-12 11:28:58 -06:00
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
2023-02-07 20:00:18 -06:00
|
|
|
"#functions + .item-table .desc.docblock-short",
|
2021-12-12 11:28:58 -06:00
|
|
|
{"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: (
|
2023-02-07 20:00:18 -06:00
|
|
|
"#keywords + .item-table .item-name a",
|
2021-12-12 11:28:58 -06:00
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
2023-02-07 20:00:18 -06:00
|
|
|
"#keywords + .item-table .desc.docblock-short",
|
2021-12-12 11:28:58 -06:00
|
|
|
{"font-family": '"Source Serif 4", NanumBarunGothic, serif'},
|
|
|
|
)
|