about summary refs log tree commit diff
path: root/src/test/rustdoc-gui/codeblock-tooltip.goml
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-149/+0
2023-01-06Use new block syntax for define-function in goml scriptsGuillaume Gomez-43/+43
2022-12-28rustdoc: remove unnecessary `.tooltip::after { text-align: center }`Michael Howell-3/+0
This doesn't have an effect, since these tooltip are only one line anyway.
2022-12-15rustdoc: simplify CSS for codeblock tooltipsMichael Howell-3/+3
Instead of making its parts `display: none` and then changing it on hover, just make the pseudo-element itself on hover.
2022-11-25rustdoc: revert tooltip background color on light theme to readableMichael Howell-1/+1
text #fff on background #fdffd3 fails the [WCAG color contrast checker], and seems like a mistake in 16b55903ee16503e7026677c169727d1907704c2. [WCAG color contrast checker]: https://accessibleweb.com/color-contrast-checker/
2022-11-17Extend codeblock GUI test to include tooltipsGuillaume Gomez-4/+76
2022-10-19Clean up codeblock-tooltip rustdoc-gui testGuillaume Gomez-92/+76
2022-10-07Update rustdoc-gui test to new browser-ui-test versionGuillaume Gomez-1/+1
2022-09-10Update rustdoc GUI testsGuillaume Gomez-45/+45
2022-09-09rustdoc: simplify the codeblock tooltipMichael Howell-18/+18
This commit moves the tooltip into example-wrap, simplifying allowing several overly-complex things to be fixed: * The mousover javascript can be removed, because hovering example-wrap can style the tooltip inside. * The sibling selecor can be removed, because hovering the tooltip also hovers the wrapper, which can hover the codeblock itself. * The relative positioning of the `<li>` tag, which was added in e861efd9f9ca45c1048a256812dfe8faffbb1367 to fix the positioning of the code tooltip, can now be removed, because example-wrap itself already has relative positioning.
2022-09-09Add gui test for codeblocks tooltip colorsGuillaume Gomez-0/+96