Files
rust/tests/rustdoc-gui/javascript-disabled.goml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
436 B
Plaintext
Raw Normal View History

// When JavaScript is disabled, we hide the search bar, because it
// can't be used without JS.
javascript: false
go-to: "file://" + |DOC_PATH| + "/test_docs/struct.Foo.html"
show-text: true
assert-css: (".sub", {"display": "none"})
// Even though JS is disabled, we should still have themes applied. Links are never black-colored
// if styles are applied so we check that they are not.
assert-css-false: ("a.src", {"color": "#000"})