From 9f718b991c0370d34022b814e391c443d6aab79f Mon Sep 17 00:00:00 2001 From: Andrew Sutherland Date: Thu, 2 Oct 2014 20:12:33 -0700 Subject: [PATCH 1/8] Removing box-shadow and border-radius webkit mixins --- lib/nib/vendor.styl | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/nib/vendor.styl b/lib/nib/vendor.styl index a9d8bcf8..2f34e4a4 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. */ @@ -466,7 +459,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) else if pos[0] in (top bottom) // border-radius: -apply-border-radius(pos[0] left pos[1], importance) @@ -508,7 +501,7 @@ border-radius() if augmented -apply-border-radius(pos, importance) pos = () - vendor('border-radius', pos, only: webkit official) unless augmented + vendor('border-radius', pos) unless augmented /** * Vendor input-placeholder/placeholder support. From c47cad80d7a7988930c5d79bce9b3771e9619a6d Mon Sep 17 00:00:00 2001 From: Andrew Sutherland Date: Thu, 2 Oct 2014 20:21:59 -0700 Subject: [PATCH 2/8] only do official on border-radius (could probably implement this differently) --- lib/nib/vendor.styl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nib/vendor.styl b/lib/nib/vendor.styl index 2f34e4a4..a3b57aee 100644 --- a/lib/nib/vendor.styl +++ b/lib/nib/vendor.styl @@ -459,7 +459,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) + 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) @@ -501,7 +501,7 @@ border-radius() if augmented -apply-border-radius(pos, importance) pos = () - vendor('border-radius', pos) unless augmented + vendor('border-radius', pos, only: official) unless augmented /** * Vendor input-placeholder/placeholder support. From ca2bbe6707b168506170519a3c9602d97af126bb Mon Sep 17 00:00:00 2001 From: Andrew Sutherland Date: Thu, 2 Oct 2014 20:24:53 -0700 Subject: [PATCH 3/8] Drop opera --- lib/nib/config.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 4c4fe0a8a5b15dcb008c530c10bd42383f66f310 Mon Sep 17 00:00:00 2001 From: Andrew Sutherland Date: Thu, 2 Oct 2014 20:26:00 -0700 Subject: [PATCH 4/8] Dropping opera more --- lib/nib/vendor.styl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/nib/vendor.styl b/lib/nib/vendor.styl index a3b57aee..0d53701f 100644 --- a/lib/nib/vendor.styl +++ b/lib/nib/vendor.styl @@ -193,7 +193,7 @@ transform-style() */ border-image() - vendor('border-image', arguments, only: webkit moz o official) + vendor('border-image', arguments, only: webkit moz official) /* * Vendor "transition" support. @@ -420,7 +420,7 @@ appearance() */ tab-size() - vendor('tab-size', arguments, only: moz o official) + vendor('tab-size', arguments, only: moz official) /* * Vendor "overflow-scrolling" support. @@ -434,7 +434,7 @@ overflow-scrolling() */ text-overflow() - vendor('text-overflow', arguments, only: official o) + vendor('text-overflow', arguments, only: official) /* * Vendor "text-size-adjust" support. From 2ae8d55b686da3bb938dfd5ee06fbd97dcdf15c3 Mon Sep 17 00:00:00 2001 From: Andrew Sutherland Date: Thu, 2 Oct 2014 20:37:02 -0700 Subject: [PATCH 5/8] also removing background-size --- lib/nib/vendor.styl | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/nib/vendor.styl b/lib/nib/vendor.styl index 0d53701f..71105755 100644 --- a/lib/nib/vendor.styl +++ b/lib/nib/vendor.styl @@ -161,13 +161,6 @@ 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. */ From 6e3dae6de8d3335ef00d09811972bd796f3cefc3 Mon Sep 17 00:00:00 2001 From: Karoun Kasraie Date: Tue, 20 Jun 2017 17:18:45 -0700 Subject: [PATCH 6/8] Disabling legacy "box" Flexbox output --- lib/nib/flex.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 0f54c28d26158d13b9adbdc2b6588e1057ee76fa Mon Sep 17 00:00:00 2001 From: Alec Winograd Date: Thu, 14 Sep 2017 12:17:27 -0700 Subject: [PATCH 7/8] Add official rule for column-fill --- lib/nib/vendor.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nib/vendor.styl b/lib/nib/vendor.styl index f533a8f4..b24ae1d9 100644 --- a/lib/nib/vendor.styl +++ b/lib/nib/vendor.styl @@ -121,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 From 0e9888859de26747c4c6c931bf6cebdd6a4c65c7 Mon Sep 17 00:00:00 2001 From: Andrew Sutherland Date: Sat, 7 Oct 2017 10:00:55 -0700 Subject: [PATCH 8/8] dont vendor transition or transform --- lib/nib/vendor.styl | 55 --------------------------------------------- 1 file changed, 55 deletions(-) diff --git a/lib/nib/vendor.styl b/lib/nib/vendor.styl index b24ae1d9..59394792 100644 --- a/lib/nib/vendor.styl +++ b/lib/nib/vendor.styl @@ -161,26 +161,6 @@ background-origin() legacy-bg-values('background-origin', arguments) background-origin: arguments -/* - * 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. */ @@ -188,41 +168,6 @@ transform-style() border-image() vendor('border-image', arguments, only: webkit moz 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 "backface-visibility" support. */