Closed
Description
I hope this is the right repo to report this, I wasn't sure if it should go in the main rust repo instead.
The generated docs for pages with a crazy number of items seem to give up on positioning and then just dump all subsequent entries on the same line past a certain point. It looks like it might be related to hardware acceleration, but I'm not sure.
For example, viewing https://doc.rust-lang.org/beta/core/arch/arm/index.html in Chrome 92 on Windows and hitting ctrl+pgdwn to go to the very bottom shows this:
Activity
jyn514 commentedon Aug 31, 2021
@mqudsi no worries - rustdoc is used for both docs.rs and the main doc.rust-lang.org website, but docs.rs doesn't have control over the main site.
jyn514 commentedon Aug 31, 2021
I can't reproduce this on mobile Chrome though - maybe it's related to the screen size?

Seadragon91 commentedon Sep 1, 2021
Can confirm that problem on my PC in Edge.
Also on my smartphone in Edge and Chrome, I need to change the view of the website to "Desktop website" then I see it there too.
camelid commentedon Sep 1, 2021
I can't reproduce this in Firefox on macOS, but I can in Chrome on macOS. So I'm guessing it's a bug specific to Blink because I think Chrome and Edge both use Blink, whereas Firefox does not.
ChrisDenton commentedon Sep 1, 2021
It seems to be a bug with Blink's grid implementation. If I turn off the
display: grid
style it works (but obviously changes the layout).mqudsi commentedon Sep 1, 2021
I’m not saying it’s not grid, but just pointing out that changing the display completely changes the layout and so may avoid the problem even if it’s something else. In theory, anyway.
ChrisDenton commentedon Sep 1, 2021
Fair point. A minimal test case appears to show the same issue but I'll admit that does not necessarily determine the root cause:
mqudsi commentedon Sep 1, 2021
I think your test case confirms the cause, at least from a black box perspective, sufficiently ;)
dbalcomb commentedon Sep 6, 2021
It looks like this issue was previously reported here and there are some relevant links towards the end. Notably a confirmation that there is currently a 1000 row limit to grids in Blink. There is also a recent reddit thread on the issue.
GuillaumeGomez commentedon Sep 8, 2021
Do you have an idea @dns2utf8 ? The best would be to not use grid at all. If you have no idea, I'll send a fix in the next coming days.
dns2utf8 commentedon Sep 9, 2021
I can confirm this with Chromium 93 and IE Edge 91.
I tried adding a
<br>
after the grid-layout (works with floats sometimes) but will try some more.It works with Firefox 91 and 92 so I assume it is a chrome render-engine bug.
29 remaining items