<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustdoc/html/static/css/rustdoc.css, branch 1.71.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.71.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.71.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-04-17T19:16:54+00:00</updated>
<entry>
<title>rustdoc: restructure type search engine to pick-and-use IDs</title>
<updated>2023-04-17T19:16:54+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-04-15T18:53:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4c11822aebd9e9c3bbe798f14fa10ec6db3f3937'/>
<id>urn:sha1:4c11822aebd9e9c3bbe798f14fa10ec6db3f3937</id>
<content type='text'>
This change makes it so, instead of mixing string distance with
type unification, function signature search works by
mapping names to IDs at the start, reporting to the user any
cases where it had to make corrections, and then matches with
IDs when going through the items.

This only changes function searches. Name searches are left alone,
and corrections are only done when there's a single item in the
search query.
</content>
</entry>
<entry>
<title>rustdoc: use CSS `overscroll-behavior` instead of JavaScript</title>
<updated>2023-04-12T17:31:06+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-04-10T23:15:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bb7ed64f457be500a74d53c9d12f1d0a8f7badf6'/>
<id>urn:sha1:bb7ed64f457be500a74d53c9d12f1d0a8f7badf6</id>
<content type='text'>
Fixes the desktop scrolling weirdness mentioned in
https://github.com/rust-lang/rust/pull/98775#issuecomment-1182575603

As described in the MDN page for this property:

* The current Firefox ESR is 102, and the first Firefox version
  to support this feature is 59.
* The current Chrome version 112, and the first version to support
  this is 63.
* Edge is described as having a minor bug in `none` mode, but we
  use `contain` mode anyway, so it doesn't matter.
* Safari 16, released September 2022, is the last browser to
  add this feature, and is also the oldest version we officially
  support.
</content>
</entry>
<entry>
<title>Rollup merge of #109977 - notriddle:notriddle/data-nosnippet, r=jsha,the8472</title>
<updated>2023-04-06T16:42:58+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-04-06T16:42:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=08ab38a7036da7a014afc899c5a741e967f45a49'/>
<id>urn:sha1:08ab38a7036da7a014afc899c5a741e967f45a49</id>
<content type='text'>
rustdoc: avoid including line numbers in Google SERP snippets

![image](https://user-images.githubusercontent.com/1593513/230141184-9171c8e0-de92-48e6-85b6-8baee35e6d86.png)
</content>
</entry>
<entry>
<title>rustdoc: avoid including line numbers in Google SERP snippets</title>
<updated>2023-04-05T22:43:09+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-04-05T16:11:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e9daab25deb3bcfb98716ccd45d02674e0556275'/>
<id>urn:sha1:e9daab25deb3bcfb98716ccd45d02674e0556275</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve display of logo on very small screens</title>
<updated>2023-04-05T15:13:28+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2023-04-05T15:13:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=906bdd3bdb5423794971786d3b0783206645b340'/>
<id>urn:sha1:906bdd3bdb5423794971786d3b0783206645b340</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move scrollbar on the &lt;main&gt; element rather than only on the code block to improve UX</title>
<updated>2023-04-04T14:35:36+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2023-04-04T14:35:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6f9b98857851cc79750dacd025b2e8bab5773470'/>
<id>urn:sha1:6f9b98857851cc79750dacd025b2e8bab5773470</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: remove old `content` hack for theme switching</title>
<updated>2023-03-23T21:25:43+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-03-23T21:25:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=95ef91c573c7c49d620688e81ffe1c97fd22501c'/>
<id>urn:sha1:95ef91c573c7c49d620688e81ffe1c97fd22501c</id>
<content type='text'>
This is based on the compatibility data for `window.matchMedia` and
`MediaQueryList`'s `EventTarget` implementation.

https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList#browser_compatibility

https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia#browser_compatibility

  * EventTarget would require us to drop support for all Chrome
    versions before 39. However, we already require Chrome 49,
    because rustdoc requires [CSS variables].
  * EventTarget would also limit us to Firefox 55, but since #106502
    rustdoc only supports Firefox &gt; 68.
  * EventTarget limits us to Mobile Safari version 14, but #102404
    shows that our CSS is broken in Safari versions before 15.5.

[CSS variables]: https://developer.mozilla.org/en-US/docs/Web/CSS/--*#browser_compatibility
</content>
</entry>
<entry>
<title>rustdoc: clean up `storage.js`</title>
<updated>2023-03-23T21:19:50+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-03-23T21:19:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ba3d6055adf0a93800d79ea2281222df81b44b59'/>
<id>urn:sha1:ba3d6055adf0a93800d79ea2281222df81b44b59</id>
<content type='text'>
This converts a few functions to more compact versions of
themselves, and moves `RUSTDOC_MOBILE_BREAKPOINT` to main.js where
it's actually used.
</content>
</entry>
<entry>
<title>rustdoc: remove redundant `.content` prefix from span/a colors</title>
<updated>2023-03-21T22:39:21+00:00</updated>
<author>
<name>Michael Howell</name>
<email>michael@notriddle.com</email>
</author>
<published>2023-03-21T22:28:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=98529805949e66a0cfe8e02f7a1ddd496aa330fb'/>
<id>urn:sha1:98529805949e66a0cfe8e02f7a1ddd496aa330fb</id>
<content type='text'>
Reverts a1d4ebe4961c107272f9764d1908227a3cd04092, as well as
fixing the problem it solved with links losing their color.
</content>
</entry>
<entry>
<title>Put backtick content from rustdoc search errors into a &lt;code&gt; elements</title>
<updated>2023-03-02T11:59:04+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2023-02-28T21:37:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4e560d7d0bdf666a320cf1514c0100cb17acf441'/>
<id>urn:sha1:4e560d7d0bdf666a320cf1514c0100cb17acf441</id>
<content type='text'>
</content>
</entry>
</feed>
