about summary refs log tree commit diff
path: root/tests/rustdoc-gui/code-example-buttons.goml
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2024-09-02 15:59:00 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2024-09-02 15:59:00 +0200
commite3af6dc23915f027b9de0721aae86f794a053627 (patch)
tree92c8fab42daba5cee71d2588434570e41d404067 /tests/rustdoc-gui/code-example-buttons.goml
parent01d8235ae1f388f896bf5a504077cd5101ae8fca (diff)
downloadrust-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.goml4
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"})