summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/compat/webkit-box-rtl-flex.html
blob: d20b3a0a9dbab237a799f62504b9b1ea7b90a564 (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
<!DOCTYPE html>
<link rel="help" href="https://crbug.com/1034461">
<link rel="match" href="webkit-box-rtl-flex-ref.html">
<style>
#webkitbox {
  width: 500px;
  display: -webkit-box;
  direction: rtl;
}

#redbox {
  background: red;
  -webkit-box-flex: 1;
}

#greenbox {
  background: green;
  -webkit-box-flex: 1;
}

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