summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1127679-1a-inline-flex-relpos.html
blob: 9c95e98a1a78b7aaac1584f6607c5e374acaf780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
div {
  border: 1px solid blue;
  padding: 5px;
}
span {
  margin: 0 15px;
  border: 1px solid green;
  position: relative;
  top: 5px;
  left: 10px;
}
</style>
<body>
<!-- the dir attributes on the spans here should not affect their positioning -->
<div style="display: inline-flex;"><span dir=rtl>foo</span><span dir=ltr>bar</span>
</body>
</html>