Skip to content
This repository

Adding cssflexbox test. #66

Open
wants to merge 1 commit into from

1 participant

Matt Kelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Apr 09, 2012
Matt Kelly Adding cssflexbox test. 741eae6
This page is out of date. Refresh to see the latest.
5  tests/cssflexbox/config.yml
... ...
@@ -0,0 +1,5 @@
  1
+---
  2
+  r: 2
  3
+  spec: "http://www.w3.org/TR/css3-flexbox/"
  4
+  sources: ["https://github.com/Modernizr/Modernizr"]
  5
+  title: "CSS3 Flexbox"
27  tests/cssflexbox/test.js
... ...
@@ -0,0 +1,27 @@
  1
+// test("CSS Flexbox", function() {
  2
+//   // Need baseline test
  3
+// });
  4
+
  5
+test("CSS Flexbox, flex-align", function() {
  6
+  var div = document.createElement("div");
  7
+
  8
+  assert( H.test.cssProp( div, "flexAlign", true ), "flexAlign supported" );
  9
+});
  10
+
  11
+test("CSS Flexbox, flex-flow", function() {
  12
+  var div = document.createElement("div");
  13
+
  14
+  assert( H.test.cssProp( div, "flexFlow", true ), "flexFlow supported" );
  15
+});
  16
+
  17
+test("CSS Flexbox, flex-pack", function() {
  18
+  var div = document.createElement("div");
  19
+
  20
+  assert( H.test.cssProp( div, "flexPack", true ), "flexPack supported" );
  21
+});
  22
+
  23
+test("CSS Flexbox, flex-order", function() {
  24
+  var div = document.createElement("div");
  25
+
  26
+  assert( H.test.cssProp( div, "flexOrder", true ), "flexOrder supported" );
  27
+});
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.