blob: 1fa31215deb10f90a1fe68eb0e89633dff617f45 (
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
33
34
|
<!DOCTYPE html>
<html>
<head>
<style>
body {
border: 1px solid gray;
}
.statusbar {
height: 26px;
background: #eef;
display: flex;
justify-content: flex-end;
}
#test1 {
border: 1px solid red;
}
#test2 {
border: 1px solid green;
}
</style>
<script>
function test1() {
document.querySelector('#test1').hidden = false;
document.querySelector('#test2').hidden = false;
}
</script>
</head>
<body onload="test1()">
<div dir="rtl">
<div class="statusbar">
<img src="foo" id="test1" hidden>
<img src="bar" id="test2" hidden>
</div>
</div>
|