We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dceb9a6 commit 4f24866Copy full SHA for 4f24866
tests/rustdoc-gui/methods-left-margin.goml
@@ -0,0 +1,15 @@
1
+// This test is to ensure that methods are correctly aligned on the left side.
2
+
3
+go-to: "file://" + |DOC_PATH| + "/test_docs/struct.Foo.html"
4
5
+// First we ensure that we have methods with and without documentation.
6
+assert: ".impl-items > details.method-toggle > summary > section.method"
7
+assert: ".impl-items > section.method"
8
9
+// Checking on desktop.
10
+set-window-size: (900, 600)
11
+assert-position: (".impl-items section.method", {"x": 245}, ALL)
12
13
+// Checking on mobile.
14
+set-window-size: (600, 600)
15
+assert-position: (".impl-items section.method", {"x": 25}, ALL)
0 commit comments