about summary refs log tree commit diff
path: root/src/test/rustdoc-gui/source-code-page.goml
AgeCommit message (Collapse)AuthorLines
2022-07-02rustdoc: add test case for source sidebar spacingMichael Howell-0/+3
2022-07-01rustdoc: use <details> tag for the source code sidebarMichael Howell-13/+7
This fixes the extremely poor accessibility of the old system, making it possible to navigate the sidebar by keyboard, and also implicitly gives the sidebar items the correct ARIA roles.
2022-06-20rustdoc: optimize loading of source sidebarJacob Hoffman-Andrews-1/+1
The source sidebar has a setting to remember whether it should be open or closed. Previously, this setting was handled in source-script.js, which is loaded with `defer`, meaning it is often run after the document is rendered. Since CSS renders the source sidebar as closed by default, changing this after the initial render results in a relayout. Instead, handle the setting in storage.js, which is the first script to load and is the only script that blocks render. This avoids a relayout and means navigating between files with the sidebar open is faster.
2022-06-14Add GUI test for sidebar items expand/collapseGuillaume Gomez-1/+24
2022-05-30Add line number click GUI testGuillaume Gomez-1/+11
2022-05-30Improve source-code-page.goml GUI test codeGuillaume Gomez-3/+3
2022-03-07Add GUI test to ensure that line numbers text is aligned to the rightGuillaume Gomez-0/+3
2022-01-21Add missing GUI test explanationsGuillaume Gomez-0/+1
2021-12-02Fix remaining bugsGuillaume Gomez-1/+1
2021-11-29rustdoc: fix source-code-page testcynecx-1/+1
2021-08-19[rustdoc] Wrap code blocks in <code> tagJakub Beránek-1/+1
2021-06-22Add check to ensure that the line numbers are aligned with the source codeGuillaume Gomez-0/+2
2021-06-22Update browser-ui-test versionGuillaume Gomez-6/+6
2021-06-19Update browser-ui-test versionGuillaume Gomez-6/+6
2021-05-11Move rustdoc-gui rust libraries into their own folder and prepare the field ↵Guillaume Gomez-2/+2
for more libraries
2021-05-10Add test for source code clickable line numberGuillaume Gomez-0/+13