Rollup merge of #104319 - GuillaumeGomez:fix-non-clickable-source-link, r=notriddle
Fix non clickable source link Fixes https://github.com/rust-lang/rust/issues/104313. It was also fixed in https://github.com/rust-lang/rust/pull/104177. If https://github.com/rust-lang/rust/pull/104177 is merged first, I'll simply remove the first commit to keep the test. r? ``@notriddle``
This commit is contained in:
commit
d532d67821
@ -183,8 +183,6 @@ h4.code-header {
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
/* position notable traits in mobile mode within the header */
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#crate-search,
|
||||
|
@ -9,3 +9,8 @@ assert-css: (".impl.has-srclink .code-header", {"font-size": "18px", "font-weigh
|
||||
// Check the impl items.
|
||||
assert-css: (".impl-items .has-srclink .srclink", {"font-size": "16px", "font-weight": 400}, ALL)
|
||||
assert-css: (".impl-items .has-srclink .code-header", {"font-size": "16px", "font-weight": 600}, ALL)
|
||||
|
||||
// Check that we can click on source link
|
||||
store-document-property: (url, "URL")
|
||||
click: ".impl-items .has-srclink .srclink"
|
||||
assert-document-property-false: {"URL": |url|}
|
||||
|
Loading…
x
Reference in New Issue
Block a user