]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
RTL dropdown test
authorKevin Ball <kmball11@gmail.com>
Wed, 24 Feb 2016 17:41:17 +0000 (09:41 -0800)
committerKevin Ball <kmball11@gmail.com>
Wed, 24 Feb 2016 17:41:27 +0000 (09:41 -0800)
test/visual/dropdown/basic-dropdown-rtl.html [new file with mode: 0644]
test/visual/index.html

diff --git a/test/visual/dropdown/basic-dropdown-rtl.html b/test/visual/dropdown/basic-dropdown-rtl.html
new file mode 100644 (file)
index 0000000..7764361
--- /dev/null
@@ -0,0 +1,39 @@
+<html>
+
+<head>
+  <link href="http://cdnjs.cloudflare.com/ajax/libs/foundicons/3.0.0/foundation-icons.css" rel="stylesheet">
+  <meta name="viewport" content="width=device-width, initial-scale=1">
+
+  <link href="../assets/css/foundation-rtl.css" rel="stylesheet" />
+
+  <style>
+    
+
+  </style>
+</head>
+
+<body dir="rtl">
+
+  <h1>RTL Should work</h1>
+
+  <ul class="dropdown menu" data-dropdown-menu>
+    <li>
+      <a href="#">Item 1</a>
+      <ul class="menu">
+        <li><a href="#">Item 1A</a></li>
+        <!-- ... -->
+      </ul>
+    </li>
+    <li><a href="#">Item 2</a></li>
+    <li><a href="#">Item 3</a></li>
+    <li><a href="#">Item 4</a></li>
+  </ul>
+
+  <script src="../assets/js/vendor.js"></script>
+  <script src="../assets/js/foundation.js"></script>
+  <script>
+    $(document).foundation();
+  </script>
+</body>
+</html>
+
index 6758c8858504daa2b25f2419027fdf5f476f5ef3..419bb78e1aaa50ff38cfb0ef323e7e3cce84e9e4 100644 (file)
@@ -20,6 +20,8 @@
         <li><a href="reveal/long-page.html">Reveal Long Page</a></li>
         <li><a href="reveal/long-page-with-add-this.html">Reveal Long Page with Add This</a></li>
         <li><a href="reveal/full-reveal.html">Reveal Full</a></li>
+
+        <li><a href="dropdown/basic-dropdown-rtl.html">Dropdown RTL</a></li>
       </ul>
     </div>