about summary refs log tree commit diff
path: root/src/test/rustdoc-gui/docblock-big-code-mobile.goml
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-13/+0
2022-12-13rustdoc: apply `pre-wrap` CSS to code-wrapped linksMichael Howell-0/+4
This is common syntax used for intra-doc links, so fixing it should help with doc formatting.
2022-10-07Update rustdoc-gui test to new browser-ui-test versionGuillaume Gomez-1/+1
2022-02-08rustdoc: tweak line and ΒΆ spacing for a11yJacob Hoffman-Andrews-1/+1
The W3C Web Content Accessibility Guidelines specify a minimum line spacing of 1.5 and a minimum paragraph spacing of 1.5 times the line spacing. Our current line spacing (implemented by line-height) is 1.4, so it's a small bump to go up to 1.5. Similarly, we have a paragraph spacing of 0.6em. Bump that to 0.75em (which is 1.5 times the 0.5em distance between lines). Also, fix all the font sizes so instead of being round-ish numbers in rem (like 1.1rem, 1.2rem), they are round numbers in pixels. Ensure each font size is at least 2 pixels different than the nearest other font size, so distinctions can be clearly seen. Overall the font-sizes are mostly staying the same, being rounded up or down as appropriate. Remove a few unused styles. Simplify the display of the mobile-topbar location, by setting its margins to auto rather than trying to size it exactly to the topbar.
2021-10-10Add test for <code> in doc blocks on mobileGuillaume Gomez-0/+9