@@ -89,7 +89,7 @@ assert-css: (".src-line-numbers", {"text-align": "right"})
8989// do anything (and certainly not add a `#NaN` to the URL!).
9090go-to: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html"
9191// 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 })
9393// We click on the left of the "1" anchor but still in the "src-line-number" `<pre>`.
9494click: (163, 77)
9595assert-document-property: ({"URL": "/lib.rs.html"}, ENDS_WITH)
@@ -165,15 +165,15 @@ assert-css: ("nav.sub", {"flex-direction": "row"})
165165// offsetTop[nav.sub form] = offsetTop[#main-content] - offsetHeight[nav.sub form] - offsetTop[nav.sub form]
166166assert-position: ("nav.sub form", {"y": 15})
167167assert-property: ("nav.sub form", {"offsetHeight": 34})
168- assert-position: ("h1", {"y": 64 })
168+ assert-position: ("h1", {"y": 68 })
169169// 15 = 64 - 34 - 15
170170
171171// Now do the same check on moderately-sized, tablet mobile.
172172set-window-size: (700, 700)
173173assert-css: ("nav.sub", {"flex-direction": "row"})
174174assert-position: ("nav.sub form", {"y": 8})
175175assert-property: ("nav.sub form", {"offsetHeight": 34})
176- assert-position: ("h1", {"y": 50 })
176+ assert-position: ("h1", {"y": 54 })
177177// 8 = 50 - 34 - 8
178178
179179// Check the sidebar directory entries have a marker and spacing (tablet).
0 commit comments