@@ -89,7 +89,7 @@ assert-css: (".src-line-numbers", {"text-align": "right"})
89
89
// do anything (and certainly not add a `#NaN` to the URL!).
90
90
go-to: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html"
91
91
// We use this assert-position to know where we will click.
92
- assert-position: ("//*[@id='1']", {"x": 88, "y": 163 })
92
+ assert-position: ("//*[@id='1']", {"x": 88, "y": 171 })
93
93
// We click on the left of the "1" anchor but still in the "src-line-number" `<pre>`.
94
94
click: (163, 77)
95
95
assert-document-property: ({"URL": "/lib.rs.html"}, ENDS_WITH)
@@ -165,15 +165,15 @@ assert-css: ("nav.sub", {"flex-direction": "row"})
165
165
// offsetTop[nav.sub form] = offsetTop[#main-content] - offsetHeight[nav.sub form] - offsetTop[nav.sub form]
166
166
assert-position: ("nav.sub form", {"y": 15})
167
167
assert-property: ("nav.sub form", {"offsetHeight": 34})
168
- assert-position: ("h1", {"y": 64 })
168
+ assert-position: ("h1", {"y": 68 })
169
169
// 15 = 64 - 34 - 15
170
170
171
171
// Now do the same check on moderately-sized, tablet mobile.
172
172
set-window-size: (700, 700)
173
173
assert-css: ("nav.sub", {"flex-direction": "row"})
174
174
assert-position: ("nav.sub form", {"y": 8})
175
175
assert-property: ("nav.sub form", {"offsetHeight": 34})
176
- assert-position: ("h1", {"y": 50 })
176
+ assert-position: ("h1", {"y": 54 })
177
177
// 8 = 50 - 34 - 8
178
178
179
179
// Check the sidebar directory entries have a marker and spacing (tablet).
0 commit comments