1 // Ensures that the search input border color changes on focus.
2 goto: file://|DOC_PATH|/test_docs/index.html
3 local-storage: {"rustdoc-use-system-theme": "false", "rustdoc-theme": "dark"}
6 assert-css: (".search-input", {"border-color": "rgb(224, 224, 224)"})
8 assert-css: (".search-input", {"border-color": "rgb(0, 141, 253)"})
10 local-storage: {"rustdoc-theme": "light"}
13 assert-css: (".search-input", {"border-color": "rgb(224, 224, 224)"})
14 click: ".search-input"
15 assert-css: (".search-input", {"border-color": "rgb(102, 175, 233)"})
17 local-storage: {"rustdoc-theme": "ayu"}
20 assert-css: (".search-input", {"border-color": "rgb(92, 103, 115)"})
21 click: ".search-input"
22 assert-css: (".search-input", {"border-color": "rgb(92, 103, 115)"})