Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding cssflexbox-standard test. #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/cssflexbox-standard/config.yml
@@ -0,0 +1,5 @@
---
r: 2
spec: "http://dev.w3.org/csswg/css3-flexbox"
sources: ["https://github.com/Modernizr/Modernizr"]
title: "CSS3 Flexbox, Standard"
23 changes: 23 additions & 0 deletions tests/cssflexbox-standard/test.js
@@ -0,0 +1,23 @@
test("CSS Flexbox, flex-align", function() {
var div = document.createElement("div");

assert( H.test.cssProp( div, "flexAlign" ), "flexAlign supported" );
});

test("CSS Flexbox, flex-flow", function() {
var div = document.createElement("div");

assert( H.test.cssProp( div, "flexFlow" ), "flexFlow supported" );
});

test("CSS Flexbox, flex-pack", function() {
var div = document.createElement("div");

assert( H.test.cssProp( div, "flexPack" ), "flexPack supported" );
});

test("CSS Flexbox, flex-order", function() {
var div = document.createElement("div");

assert( H.test.cssProp( div, "flexOrder" ), "flexOrder supported" );
});