]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add visual test to reproduce issue #10305 feature/fix-grid-frame-with-margin
authorKevin Ball <kmball11@gmail.com>
Fri, 30 Jun 2017 19:57:03 +0000 (12:57 -0700)
committerKevin Ball <kmball11@gmail.com>
Fri, 30 Jun 2017 19:57:03 +0000 (12:57 -0700)
test/visual/xy-grid/frame-with-margin.html [new file with mode: 0644]

diff --git a/test/visual/xy-grid/frame-with-margin.html b/test/visual/xy-grid/frame-with-margin.html
new file mode 100644 (file)
index 0000000..059cf0a
--- /dev/null
@@ -0,0 +1,37 @@
+<!doctype html>
+<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
+<html class="no-js" lang="en" dir="ltr">
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
+    <title>xy frame grid</title>
+    <link href="../assets/css/foundation.css" rel="stylesheet" />
+    <style>
+      body {
+        padding: 0px;
+      }
+
+      .cell {
+        background: #1779ba;
+      }
+    </style>
+  </head>
+  <body>
+    <div class="grid-y grid-margin-y grid-frame">
+      <div class="cell small-6 medium-8 large-2">
+          6/8/2
+      </div>
+      <div class="cell small-6 medium-4 large-10">
+          6/4/10
+      </div>
+    </div>
+    <script src="../assets/js/vendor.js"></script>
+    <script src="../assets/js/foundation.js"></script>
+    <script>
+      $(document).foundation();
+    </script>
+  </body>
+</html>
+
+