summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/compat/webkit-box-rtl-flex-ref.html
blob: 10b9eb73fd9017746116e55d42df434ba33fec1e (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
<!DOCTYPE html>
<style>
#flexbox {
  width: 500px;
  display: flex;
  direction: rtl;
}

#redbox {
  background: red;
  flex: 1;
}

#greenbox {
  background: green;
  flex: 1;
}

</style>
<p>There should be a green box followed by a red box, both on the same line.
<div id="flexbox">
  <div id="redbox">A</div>
  <div id="greenbox">B</div>
</div>