We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e89efb8 commit f23d6d3Copy full SHA for f23d6d3
src/test/rustdoc-gui/source-code-page.goml
@@ -14,3 +14,6 @@ assert-attribute: (".line-numbers > span:nth-child(6)", {"class": "line-highligh
14
assert-attribute-false: (".line-numbers > span:nth-child(7)", {"class": "line-highlighted"})
15
// This is to ensure that the content is correctly align with the line numbers.
16
compare-elements-position: ("//*[@id='1']", ".rust > code > span", ("y"))
17
+
18
+// Assert that the line numbers text is aligned to the right.
19
+assert-css: (".line-numbers", {"text-align": "right"})
0 commit comments