diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-09-02 15:59:00 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-09-02 15:59:00 +0200 |
| commit | e3af6dc23915f027b9de0721aae86f794a053627 (patch) | |
| tree | 92c8fab42daba5cee71d2588434570e41d404067 /tests/rustdoc-gui/code-example-buttons.goml | |
| parent | 01d8235ae1f388f896bf5a504077cd5101ae8fca (diff) | |
| download | rust-e3af6dc23915f027b9de0721aae86f794a053627.tar.gz rust-e3af6dc23915f027b9de0721aae86f794a053627.zip | |
Simplify CSS but wrapping scraped example into a div and move the title out of the code block
Diffstat (limited to 'tests/rustdoc-gui/code-example-buttons.goml')
| -rw-r--r-- | tests/rustdoc-gui/code-example-buttons.goml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-gui/code-example-buttons.goml b/tests/rustdoc-gui/code-example-buttons.goml index a6c8a862d1a..c62683b45da 100644 --- a/tests/rustdoc-gui/code-example-buttons.goml +++ b/tests/rustdoc-gui/code-example-buttons.goml @@ -111,7 +111,7 @@ call-function: ("check-buttons-position", {"pre_selector": ".example-wrap"}) go-to: "file://" + |DOC_PATH| + "/scrape_examples/fn.test_many.html" // We should work as well for scraped examples. -call-function: ("check-buttons-position", {"pre_selector": ".example-wrap.scraped-example"}) +call-function: ("check-buttons-position", {"pre_selector": ".scraped-example .example-wrap"}) // And also when the scraped example "title" goes above. set-window-size: (600, 600) -call-function: ("check-buttons-position", {"pre_selector": ".example-wrap.scraped-example"}) +call-function: ("check-buttons-position", {"pre_selector": ".scraped-example .example-wrap"}) |
