Add/update tests for --extend-css
option
This commit is contained in:
parent
bf6582e0cc
commit
6bc6ea7a3e
9 changed files with 29 additions and 2 deletions
7
tests/rustdoc-gui/src/extend_css/Cargo.lock
Normal file
7
tests/rustdoc-gui/src/extend_css/Cargo.lock
Normal file
|
@ -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"
|
7
tests/rustdoc-gui/src/extend_css/Cargo.toml
Normal file
7
tests/rustdoc-gui/src/extend_css/Cargo.toml
Normal file
|
@ -0,0 +1,7 @@
|
|||
[package]
|
||||
name = "extend_css"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
|
||||
[lib]
|
||||
path = "lib.rs"
|
3
tests/rustdoc-gui/src/extend_css/extra.css
Normal file
3
tests/rustdoc-gui/src/extend_css/extra.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
.extend {
|
||||
color: red !important;
|
||||
}
|
1
tests/rustdoc-gui/src/extend_css/lib.rs
Normal file
1
tests/rustdoc-gui/src/extend_css/lib.rs
Normal file
|
@ -0,0 +1 @@
|
|||
//! <div class="extend">text in red</div>
|
Loading…
Add table
Add a link
Reference in a new issue