diff --git a/lib/nib/config.styl b/lib/nib/config.styl index 42d7c3d3..c4c0bcef 100644 --- a/lib/nib/config.styl +++ b/lib/nib/config.styl @@ -8,4 +8,4 @@ support-for-ie ?= true * Default vendor prefixes. */ -vendor-prefixes ?= webkit moz o ms official +vendor-prefixes ?= webkit moz ms official diff --git a/lib/nib/flex.styl b/lib/nib/flex.styl index 4421da46..8297e964 100644 --- a/lib/nib/flex.styl +++ b/lib/nib/flex.styl @@ -2,7 +2,7 @@ * Vendor "display: flex" support with fallback to obsolete versions. */ -flex-version ?= box flex +flex-version ?= flex // box // // 1. Display values diff --git a/lib/nib/vendor.styl b/lib/nib/vendor.styl index aed4b91b..59394792 100644 --- a/lib/nib/vendor.styl +++ b/lib/nib/vendor.styl @@ -53,13 +53,6 @@ vendor-value(arg, only = null, ignore = null) add-property(prop, '-%s-%s' % (prefix arg)) arg -/* - * Vendor "box-shadow" support. - */ - -box-shadow() - vendor('box-shadow', arguments, only: webkit official) - /* * Vendor "user-select" support. */ @@ -128,7 +121,7 @@ column-span() */ column-fill() - vendor('column-fill', arguments, only: moz) + vendor('column-fill', arguments, only: moz official) /* * Legacy syntax support for background-clip and background-origin @@ -168,74 +161,12 @@ background-origin() legacy-bg-values('background-origin', arguments) background-origin: arguments -/* - * Vendor "background-size" support. - */ - -background-size() - vendor('background-size', arguments, only: webkit moz official) - -/* - * Vendor "transform" support. - */ - -transform() - vendor('transform', arguments) - -/* - * Vendor "transform-origin" support. - */ -transform-origin() - vendor('transform-origin', arguments) - -/* - * Vendor "transform-style" support. - */ - -transform-style() - vendor('transform-style', arguments) - /* * Vendor "border-image" support. */ border-image() - vendor('border-image', arguments, only: webkit moz o official) - -/* - * Vendor "transition" support. - */ - -transition() - vendor('transition', arguments) - -/* - * Vendor "transition-property" support. - */ - -transition-property() - vendor('transition-property', arguments) - -/* - * Vendor "transition-duration" support. - */ - -transition-duration() - vendor('transition-duration', arguments) - -/* - * Vendor "transition-timing-function" support. - */ - -transition-timing-function() - vendor('transition-timing-function', arguments) - -/* - * Vendor "transition-delay" support. - */ - -transition-delay() - vendor('transition-delay', arguments) + vendor('border-image', arguments, only: webkit moz official) /* * Vendor "backface-visibility" support. @@ -427,7 +358,7 @@ appearance() */ tab-size() - vendor('tab-size', arguments, only: moz o official) + vendor('tab-size', arguments, only: moz official) /* * Vendor "overflow-scrolling" support. @@ -441,7 +372,7 @@ overflow-scrolling() */ text-overflow() - vendor('text-overflow', arguments, only: official o) + vendor('text-overflow', arguments, only: official) /* * Vendor "text-size-adjust" support. @@ -466,7 +397,7 @@ font-smoothing() x = pos[1] // We don't use moz for simple boder-radius anymore // vendor('border-radius-%s%s' % pos, pos[2], only: moz) - vendor('border-%s-%s-radius' % pos, pos[2] importance, only: webkit official) + vendor('border-%s-%s-radius' % pos, pos[2] importance, only: official) else if pos[0] in (top bottom) // border-radius: -apply-border-radius(pos[0] left pos[1], importance) @@ -508,7 +439,7 @@ border-radius() if augmented -apply-border-radius(pos, importance) pos = () - vendor('border-radius', pos, only: webkit official) unless augmented + vendor('border-radius', pos, only: official) unless augmented /** * Vendor input-placeholder/placeholder support.