summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/button/1349646.html
blob: a51c69a0105243671494864ba568befaa9263e48 (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
<!DOCTYPE html>
<html class="reftest-wait">
<style>
button {
  padding: 0px;
  border:none;
  font-size: 64px;
  background-color: green;
}
button::-moz-focus-inner {
  padding-inline-start: 20px;
  padding-inline-end: 20px;
}
button:-moz-focusring::-moz-focus-inner {
  border: 4px solid;
}
</style>
<div>
  <button id="button1"><span>Menu1</span></button>
</div>
<script>
window.onload = () => {
  button1.focus();
  document.documentElement.classList.remove('reftest-wait');
}
</script>
</html>