2021-07-23 09:41:21 +00:00
|
|
|
// This test checks that the correct font is used on module items (in index.html pages).
|
2022-10-07 18:17:05 +00:00
|
|
|
goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
|
2021-12-12 17:28:58 +00:00
|
|
|
assert-css: (
|
2023-02-08 02:00:18 +00:00
|
|
|
".item-table .item-name > a",
|
2021-12-12 17:28:58 +00: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 19:38:30 +00:00
|
|
|
|
|
|
|
// modules
|
2021-12-12 17:28:58 +00:00
|
|
|
assert-css: (
|
2023-02-08 02:00:18 +00:00
|
|
|
"#modules + .item-table .item-name a",
|
2021-12-12 17:28:58 +00:00
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
2023-02-08 02:00:18 +00:00
|
|
|
"#modules + .item-table .desc.docblock-short",
|
2021-12-12 17:28:58 +00:00
|
|
|
{"font-family": '"Source Serif 4", NanumBarunGothic, serif'},
|
|
|
|
)
|
2021-08-16 19:38:30 +00:00
|
|
|
// structs
|
2021-12-12 17:28:58 +00:00
|
|
|
assert-css: (
|
2023-02-08 02:00:18 +00:00
|
|
|
"#structs + .item-table .item-name a",
|
2021-12-12 17:28:58 +00:00
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
2023-02-08 02:00:18 +00:00
|
|
|
"#structs + .item-table .desc.docblock-short",
|
2021-12-12 17:28:58 +00:00
|
|
|
{"font-family": '"Source Serif 4", NanumBarunGothic, serif'},
|
|
|
|
)
|
2021-08-16 19:38:30 +00:00
|
|
|
// enums
|
2021-12-12 17:28:58 +00:00
|
|
|
assert-css: (
|
2023-02-08 02:00:18 +00:00
|
|
|
"#enums + .item-table .item-name a",
|
2021-12-12 17:28:58 +00:00
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
2023-02-08 02:00:18 +00:00
|
|
|
"#enums + .item-table .desc.docblock-short",
|
2021-12-12 17:28:58 +00:00
|
|
|
{"font-family": '"Source Serif 4", NanumBarunGothic, serif'},
|
|
|
|
)
|
2021-08-16 19:38:30 +00:00
|
|
|
// traits
|
2021-12-12 17:28:58 +00:00
|
|
|
assert-css: (
|
2023-02-08 02:00:18 +00:00
|
|
|
"#traits + .item-table .item-name a",
|
2021-12-12 17:28:58 +00:00
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
2023-02-08 02:00:18 +00:00
|
|
|
"#traits + .item-table .desc.docblock-short",
|
2021-12-12 17:28:58 +00:00
|
|
|
{"font-family": '"Source Serif 4", NanumBarunGothic, serif'},
|
|
|
|
)
|
2021-08-16 19:38:30 +00:00
|
|
|
// functions
|
2021-12-12 17:28:58 +00:00
|
|
|
assert-css: (
|
2023-02-08 02:00:18 +00:00
|
|
|
"#functions + .item-table .item-name a",
|
2021-12-12 17:28:58 +00:00
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
2023-02-08 02:00:18 +00:00
|
|
|
"#functions + .item-table .desc.docblock-short",
|
2021-12-12 17:28:58 +00:00
|
|
|
{"font-family": '"Source Serif 4", NanumBarunGothic, serif'},
|
|
|
|
)
|
2021-08-16 19:38:30 +00:00
|
|
|
// keywords
|
2021-12-12 17:28:58 +00:00
|
|
|
assert-css: (
|
2023-02-08 02:00:18 +00:00
|
|
|
"#keywords + .item-table .item-name a",
|
2021-12-12 17:28:58 +00:00
|
|
|
{"font-family": '"Fira Sans", Arial, NanumBarunGothic, sans-serif'},
|
|
|
|
)
|
|
|
|
assert-css: (
|
2023-02-08 02:00:18 +00:00
|
|
|
"#keywords + .item-table .desc.docblock-short",
|
2021-12-12 17:28:58 +00:00
|
|
|
{"font-family": '"Source Serif 4", NanumBarunGothic, serif'},
|
|
|
|
)
|