blob: 5d17e5fd7b32cdcd12af580bc4b807798578b8c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!doctype html>
<html class="reftest-wait">
<style>
input {
border: 0;
}
</style>
<label id="fooLabel" for="foo">Foo label</label>
<input id="foo" type="text" value="foo" >
<label id="barLabel" for="bar">Bar label</label>
<input id="bar" type="text" value="bar">
<script>
onload = function() {
fooLabel.click();
requestAnimationFrame(() => {
barLabel.click();
requestAnimationFrame(() => {
document.documentElement.className = "";
});
});
}
</script>
</html>
|