diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-04-12 15:17:33 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-04-12 20:07:10 +0200 |
| commit | 6bc6ea7a3e21b7cb33cb24c5c63c7d1125a3f1e9 (patch) | |
| tree | b0a40303f42342460a0eb9673d8b2be2fdceebe8 /tests/rustdoc-gui/src | |
| parent | bf6582e0cc9c1fbeb274bd496c8077e94d26adc4 (diff) | |
| download | rust-6bc6ea7a3e21b7cb33cb24c5c63c7d1125a3f1e9.tar.gz rust-6bc6ea7a3e21b7cb33cb24c5c63c7d1125a3f1e9.zip | |
Add/update tests for `--extend-css` option
Diffstat (limited to 'tests/rustdoc-gui/src')
| -rw-r--r-- | tests/rustdoc-gui/src/extend_css/Cargo.lock | 7 | ||||
| -rw-r--r-- | tests/rustdoc-gui/src/extend_css/Cargo.toml | 7 | ||||
| -rw-r--r-- | tests/rustdoc-gui/src/extend_css/extra.css | 3 | ||||
| -rw-r--r-- | tests/rustdoc-gui/src/extend_css/lib.rs | 1 |
4 files changed, 18 insertions, 0 deletions
diff --git a/tests/rustdoc-gui/src/extend_css/Cargo.lock b/tests/rustdoc-gui/src/extend_css/Cargo.lock new file mode 100644 index 00000000000..7101a6f0ffb --- /dev/null +++ b/tests/rustdoc-gui/src/extend_css/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "extend_css" +version = "0.1.0" diff --git a/tests/rustdoc-gui/src/extend_css/Cargo.toml b/tests/rustdoc-gui/src/extend_css/Cargo.toml new file mode 100644 index 00000000000..91683fe8964 --- /dev/null +++ b/tests/rustdoc-gui/src/extend_css/Cargo.toml @@ -0,0 +1,7 @@ +[package] +name = "extend_css" +version = "0.1.0" +edition = "2018" + +[lib] +path = "lib.rs" diff --git a/tests/rustdoc-gui/src/extend_css/extra.css b/tests/rustdoc-gui/src/extend_css/extra.css new file mode 100644 index 00000000000..ee7062d9621 --- /dev/null +++ b/tests/rustdoc-gui/src/extend_css/extra.css @@ -0,0 +1,3 @@ +.extend { + color: red !important; +} diff --git a/tests/rustdoc-gui/src/extend_css/lib.rs b/tests/rustdoc-gui/src/extend_css/lib.rs new file mode 100644 index 00000000000..3a3babf8984 --- /dev/null +++ b/tests/rustdoc-gui/src/extend_css/lib.rs @@ -0,0 +1 @@ +//! <div class="extend">text in red</div> |
