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

Updated flexbox tests to better capture all 3 specs; fixes #812 #936

Merged
merged 1 commit into from
Jul 6, 2013

Conversation

stucox
Copy link
Member

@stucox stucox commented May 17, 2013

Fixes #812.

Now have 3 flexbox tests:

Modernizr.addTest('flexbox', testAllProps('flexBasis'));
Modernizr.addTest('flexboxlegacy', testAllProps('boxDirection'));
Modernizr.addTest('flexboxtweener', testAllProps('flexAlign'));

Uses new testAllProps() syntax so should probably wait until #933 is merged in.

@paulirish
Copy link
Member

I don't understand why "tweener". I almost feel like it can be named "flexbox-ie10" as this is pretty universally known as the ie10 take on flexbox.

@stucox
Copy link
Member Author

stucox commented May 22, 2013

I've seen it referred to as the "tweener" syntax in various places. "transitional" also suggested.

I'm not precious over the name, although it doesn't quite feel right naming it after a specific browser (let alone version). Do we know for certain that IE11 will support the latest syntax?

@ryanseddon
Copy link
Member

I'd prefer tweener to keep it generic or if we really want IE in the name just make it flexbox-ie.

@stucox
Copy link
Member Author

stucox commented Jun 5, 2013

@paulirish – decision on this?

@paulirish
Copy link
Member

"tweener" is fine for me.

stucox pushed a commit that referenced this pull request Jul 6, 2013
Updated flexbox tests to better capture all 3 specs; fixes #812
@stucox stucox merged commit aee1446 into Modernizr:master Jul 6, 2013
@stucox stucox mentioned this pull request Sep 27, 2013
patrickkettner pushed a commit to patrickkettner/Modernizr that referenced this pull request Feb 22, 2015
Updated flexbox tests to better capture all 3 specs; fixes Modernizr#812
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong flexbox detection on IE10?
3 participants