summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/test/assets/wrappedlink.html
diff options
context:
space:
mode:
Diffstat (limited to 'remote/test/puppeteer/test/assets/wrappedlink.html')
-rw-r--r--remote/test/puppeteer/test/assets/wrappedlink.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/remote/test/puppeteer/test/assets/wrappedlink.html b/remote/test/puppeteer/test/assets/wrappedlink.html
new file mode 100644
index 0000000000..429b6e9156
--- /dev/null
+++ b/remote/test/puppeteer/test/assets/wrappedlink.html
@@ -0,0 +1,32 @@
+<style>
+:root {
+ font-family: monospace;
+}
+
+body {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+div {
+ width: 10ch;
+ word-wrap: break-word;
+ border: 1px solid blue;
+ transform: rotate(33deg);
+ line-height: 8ch;
+ padding: 2ch;
+}
+
+a {
+ margin-left: 7ch;
+}
+</style>
+<div>
+ <a href='#clicked'>123321</a>
+</div>
+<script>
+ document.querySelector('a').addEventListener('click', () => {
+ window.__clicked = true;
+ });
+</script>