summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flexbox_rtl-direction-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-flexbox/flexbox_rtl-direction-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-flexbox/flexbox_rtl-direction-ref.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-flexbox/flexbox_rtl-direction-ref.html b/testing/web-platform/tests/css/css-flexbox/flexbox_rtl-direction-ref.html
new file mode 100644
index 0000000000..a8bc9ad38e
--- /dev/null
+++ b/testing/web-platform/tests/css/css-flexbox/flexbox_rtl-direction-ref.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<title>flexbox | flex-direction: column-reverse | rtl</title>
+<link rel="author" href="http://opera.com" title="Opera Software">
+<style>
+div {
+ background: blue;
+ margin: 1em 0;
+ border: 1px solid black;
+}
+div::after {
+ content: "";
+ clear: both;
+ display: block;
+}
+span {
+ text-align: right;
+ background: white;
+ margin: 1em 1em 0;
+ width: 8em;
+ float: right;
+ clear: both;
+}
+.test {
+ background: #ffcc00;
+}
+span~span {
+ margin: 2em 1em 0;
+}
+span:last-child {
+ margin-bottom: 1em;
+}
+</style>
+
+<div>
+ <span>filler</span>
+ <span>filler</span>
+ <span>filler</span>
+ <span class="test">filler</span>
+</div>