summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/test/assets/wrappedlink.html
blob: 429b6e915671ba4e56e6c6319800259641c22b4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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>