Skip to content

Commit 9b62407

Browse files
committed
rustdoc: Show nag box on IE10
Rustdoc doesn't work on IE11. It's been broken for months, it isn't supported by the [tiered browser support list], it's even more severely broken on other Rust websites, and IE11 doesn't support the `<details>` tag that we want to use. In the interest of honesty, let's give an actual error message for anyone on IE11. [tiered browser support list]: https://github.com/rust-lang/rfcs/blob/master/text/1985-tiered-browser-support.md
1 parent 41f0e13 commit 9b62407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/layout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ crate fn render<T: Print, S: Print>(
6868
</style>\
6969
</head>\
7070
<body class=\"rustdoc {css_class}\">\
71-
<!--[if lte IE 8]>\
71+
<!--[if lte IE 11]>\
7272
<div class=\"warning\">\
7373
This old browser is unsupported and will most likely display funky \
7474
things.\

0 commit comments

Comments
 (0)