summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/button/1349646-ref.html
blob: d36f19477a607f7e5f64eec50c7428a72bc280d2 (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: 0px;
  padding-inline-end: 0px;
}
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>