summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1127679-1a-inline-flex-relpos.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/1127679-1a-inline-flex-relpos.html')
-rw-r--r--layout/reftests/bugs/1127679-1a-inline-flex-relpos.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1127679-1a-inline-flex-relpos.html b/layout/reftests/bugs/1127679-1a-inline-flex-relpos.html
new file mode 100644
index 000000000..9c95e98a1
--- /dev/null
+++ b/layout/reftests/bugs/1127679-1a-inline-flex-relpos.html
@@ -0,0 +1,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>