mirror of https://github.com/rust-lang/rust
![]() This change constructs the search form HTML using JavaScript, instead of plain HTML. It uses a custom element because - the [parser]'s insert algorithm runs the connected callback synchronously, so we won't get layout jank - it requires very little HTML, so it's a real win in size [parser]: https://html.spec.whatwg.org/multipage/parsing.html#create-an-element-for-the-token This shrinks the standard library by about 60MiB, by my test. |
||
---|---|---|
.. | ||
STYLE.md | ||
item_info.html | ||
item_union.html | ||
page.html | ||
print_item.html | ||
short_item_info.html | ||
sidebar.html | ||
source.html | ||
type_layout.html | ||
type_layout_size.html |