Skip to content

Commit f742a8c

Browse files
author
Nicholas C. Zakas
committed
Release v0.9.2
1 parent 6b135a8 commit f742a8c

File tree

9 files changed

+105
-44
lines changed

9 files changed

+105
-44
lines changed

CHANGELOG

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
January 5, 2012 - v0.9.2
2+
3+
* More validations fixes (fixes #219) (Nicholas C. Zakas)
4+
5+
16
January 4, 2012 - v0.9.1
27

38
* Updated parser to fix validation issues (fixes #219) (Nicholas C. Zakas)
@@ -219,4 +224,6 @@ June 15, 2011 - v0.1.0
219224

220225

221226

227+
228+
222229

release/csslint-node.js

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
THE SOFTWARE.
2222
2323
*/
24-
/* Build time: 4-January-2012 05:18:36 */
24+
/* Build time: 5-January-2012 09:26:45 */
2525

2626
/*!
2727
Parser-Lib
@@ -46,7 +46,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
4646
THE SOFTWARE.
4747
4848
*/
49-
/* Version v0.1.2, Build time: 4-January-2012 05:14:28 */
49+
/* Version v0.1.3, Build time: 5-January-2012 09:23:31 */
5050
var parserlib = {};
5151
(function(){
5252

@@ -956,7 +956,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
956956
THE SOFTWARE.
957957
958958
*/
959-
/* Version v0.1.2, Build time: 4-January-2012 05:14:28 */
959+
/* Version v0.1.3, Build time: 5-January-2012 09:23:31 */
960960
(function(){
961961
var EventTarget = parserlib.util.EventTarget,
962962
TokenStreamBase = parserlib.util.TokenStreamBase,
@@ -3475,8 +3475,8 @@ var Properties = {
34753475
"border-bottom-color" : "<color>",
34763476
"border-bottom-left-radius" : { single: "<x-one-radius>", complex: true },
34773477
"border-bottom-right-radius" : { single: "<x-one-radius>", complex: true },
3478-
"border-bottom-style" : "border-style",
3479-
"border-bottom-width" : "border-width",
3478+
"border-bottom-style" : "<border-style>",
3479+
"border-bottom-width" : "<border-width>",
34803480
"border-collapse" : "collapse | separate | inherit",
34813481
"border-color" : { multi: "<color> | inherit", max: 4 },
34823482
"border-image" : 1,
@@ -5942,6 +5942,7 @@ var Validation = {
59425942
//inset? && [ <length>{2,4} && <color>? ]
59435943
var result = false,
59445944
inset = false,
5945+
color = false,
59455946
count = 0,
59465947
part;
59475948

@@ -5954,6 +5955,14 @@ var Validation = {
59545955
inset = true;
59555956
}
59565957

5958+
if (part) {
5959+
if (this["<color>"](part)) {
5960+
expression.next();
5961+
part = expression.peek();
5962+
color = true;
5963+
}
5964+
}
5965+
59575966
while (part && this["<length>"](part) && count < 4) {
59585967
count++;
59595968
expression.next();
@@ -5962,7 +5971,7 @@ var Validation = {
59625971

59635972

59645973
if (part) {
5965-
if (this["<color>"](part)) {
5974+
if (this["<color>"](part) && !color) {
59665975
expression.next();
59675976
part = expression.peek();
59685977
}
@@ -6169,7 +6178,7 @@ var CSSLint = (function(){
61696178
formatters = [],
61706179
api = new parserlib.util.EventTarget();
61716180

6172-
api.version = "0.9.1";
6181+
api.version = "0.9.2";
61736182

61746183
//-------------------------------------------------------------------------
61756184
// Rule Management

release/csslint-rhino.js

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
THE SOFTWARE.
2222
2323
*/
24-
/* Build time: 4-January-2012 05:18:36 */
24+
/* Build time: 5-January-2012 09:26:45 */
2525
var CSSLint = (function(){
2626

2727
/*!
@@ -47,7 +47,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
4747
THE SOFTWARE.
4848
4949
*/
50-
/* Version v0.1.2, Build time: 4-January-2012 05:14:28 */
50+
/* Version v0.1.3, Build time: 5-January-2012 09:23:31 */
5151
var parserlib = {};
5252
(function(){
5353

@@ -957,7 +957,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
957957
THE SOFTWARE.
958958
959959
*/
960-
/* Version v0.1.2, Build time: 4-January-2012 05:14:28 */
960+
/* Version v0.1.3, Build time: 5-January-2012 09:23:31 */
961961
(function(){
962962
var EventTarget = parserlib.util.EventTarget,
963963
TokenStreamBase = parserlib.util.TokenStreamBase,
@@ -3476,8 +3476,8 @@ var Properties = {
34763476
"border-bottom-color" : "<color>",
34773477
"border-bottom-left-radius" : { single: "<x-one-radius>", complex: true },
34783478
"border-bottom-right-radius" : { single: "<x-one-radius>", complex: true },
3479-
"border-bottom-style" : "border-style",
3480-
"border-bottom-width" : "border-width",
3479+
"border-bottom-style" : "<border-style>",
3480+
"border-bottom-width" : "<border-width>",
34813481
"border-collapse" : "collapse | separate | inherit",
34823482
"border-color" : { multi: "<color> | inherit", max: 4 },
34833483
"border-image" : 1,
@@ -5943,6 +5943,7 @@ var Validation = {
59435943
//inset? && [ <length>{2,4} && <color>? ]
59445944
var result = false,
59455945
inset = false,
5946+
color = false,
59465947
count = 0,
59475948
part;
59485949

@@ -5955,6 +5956,14 @@ var Validation = {
59555956
inset = true;
59565957
}
59575958

5959+
if (part) {
5960+
if (this["<color>"](part)) {
5961+
expression.next();
5962+
part = expression.peek();
5963+
color = true;
5964+
}
5965+
}
5966+
59585967
while (part && this["<length>"](part) && count < 4) {
59595968
count++;
59605969
expression.next();
@@ -5963,7 +5972,7 @@ var Validation = {
59635972

59645973

59655974
if (part) {
5966-
if (this["<color>"](part)) {
5975+
if (this["<color>"](part) && !color) {
59675976
expression.next();
59685977
part = expression.peek();
59695978
}
@@ -6170,7 +6179,7 @@ var CSSLint = (function(){
61706179
formatters = [],
61716180
api = new parserlib.util.EventTarget();
61726181

6173-
api.version = "0.9.1";
6182+
api.version = "0.9.2";
61746183

61756184
//-------------------------------------------------------------------------
61766185
// Rule Management

release/csslint-worker.js

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
THE SOFTWARE.
2222
2323
*/
24-
/* Build time: 4-January-2012 05:18:36 */
24+
/* Build time: 5-January-2012 09:26:45 */
2525

2626
/*!
2727
Parser-Lib
@@ -46,7 +46,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
4646
THE SOFTWARE.
4747
4848
*/
49-
/* Version v0.1.2, Build time: 4-January-2012 05:14:28 */
49+
/* Version v0.1.3, Build time: 5-January-2012 09:23:31 */
5050
var parserlib = {};
5151
(function(){
5252

@@ -956,7 +956,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
956956
THE SOFTWARE.
957957
958958
*/
959-
/* Version v0.1.2, Build time: 4-January-2012 05:14:28 */
959+
/* Version v0.1.3, Build time: 5-January-2012 09:23:31 */
960960
(function(){
961961
var EventTarget = parserlib.util.EventTarget,
962962
TokenStreamBase = parserlib.util.TokenStreamBase,
@@ -3475,8 +3475,8 @@ var Properties = {
34753475
"border-bottom-color" : "<color>",
34763476
"border-bottom-left-radius" : { single: "<x-one-radius>", complex: true },
34773477
"border-bottom-right-radius" : { single: "<x-one-radius>", complex: true },
3478-
"border-bottom-style" : "border-style",
3479-
"border-bottom-width" : "border-width",
3478+
"border-bottom-style" : "<border-style>",
3479+
"border-bottom-width" : "<border-width>",
34803480
"border-collapse" : "collapse | separate | inherit",
34813481
"border-color" : { multi: "<color> | inherit", max: 4 },
34823482
"border-image" : 1,
@@ -5942,6 +5942,7 @@ var Validation = {
59425942
//inset? && [ <length>{2,4} && <color>? ]
59435943
var result = false,
59445944
inset = false,
5945+
color = false,
59455946
count = 0,
59465947
part;
59475948

@@ -5954,6 +5955,14 @@ var Validation = {
59545955
inset = true;
59555956
}
59565957

5958+
if (part) {
5959+
if (this["<color>"](part)) {
5960+
expression.next();
5961+
part = expression.peek();
5962+
color = true;
5963+
}
5964+
}
5965+
59575966
while (part && this["<length>"](part) && count < 4) {
59585967
count++;
59595968
expression.next();
@@ -5962,7 +5971,7 @@ var Validation = {
59625971

59635972

59645973
if (part) {
5965-
if (this["<color>"](part)) {
5974+
if (this["<color>"](part) && !color) {
59665975
expression.next();
59675976
part = expression.peek();
59685977
}
@@ -6169,7 +6178,7 @@ var CSSLint = (function(){
61696178
formatters = [],
61706179
api = new parserlib.util.EventTarget();
61716180

6172-
api.version = "0.9.1";
6181+
api.version = "0.9.2";
61736182

61746183
//-------------------------------------------------------------------------
61756184
// Rule Management

release/csslint-wsh.js

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
THE SOFTWARE.
2222
2323
*/
24-
/* Build time: 4-January-2012 05:18:36 */
24+
/* Build time: 5-January-2012 09:26:45 */
2525
var CSSLint = (function(){
2626

2727
/*!
@@ -47,7 +47,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
4747
THE SOFTWARE.
4848
4949
*/
50-
/* Version v0.1.2, Build time: 4-January-2012 05:14:28 */
50+
/* Version v0.1.3, Build time: 5-January-2012 09:23:31 */
5151
var parserlib = {};
5252
(function(){
5353

@@ -957,7 +957,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
957957
THE SOFTWARE.
958958
959959
*/
960-
/* Version v0.1.2, Build time: 4-January-2012 05:14:28 */
960+
/* Version v0.1.3, Build time: 5-January-2012 09:23:31 */
961961
(function(){
962962
var EventTarget = parserlib.util.EventTarget,
963963
TokenStreamBase = parserlib.util.TokenStreamBase,
@@ -3476,8 +3476,8 @@ var Properties = {
34763476
"border-bottom-color" : "<color>",
34773477
"border-bottom-left-radius" : { single: "<x-one-radius>", complex: true },
34783478
"border-bottom-right-radius" : { single: "<x-one-radius>", complex: true },
3479-
"border-bottom-style" : "border-style",
3480-
"border-bottom-width" : "border-width",
3479+
"border-bottom-style" : "<border-style>",
3480+
"border-bottom-width" : "<border-width>",
34813481
"border-collapse" : "collapse | separate | inherit",
34823482
"border-color" : { multi: "<color> | inherit", max: 4 },
34833483
"border-image" : 1,
@@ -5943,6 +5943,7 @@ var Validation = {
59435943
//inset? && [ <length>{2,4} && <color>? ]
59445944
var result = false,
59455945
inset = false,
5946+
color = false,
59465947
count = 0,
59475948
part;
59485949

@@ -5955,6 +5956,14 @@ var Validation = {
59555956
inset = true;
59565957
}
59575958

5959+
if (part) {
5960+
if (this["<color>"](part)) {
5961+
expression.next();
5962+
part = expression.peek();
5963+
color = true;
5964+
}
5965+
}
5966+
59585967
while (part && this["<length>"](part) && count < 4) {
59595968
count++;
59605969
expression.next();
@@ -5963,7 +5972,7 @@ var Validation = {
59635972

59645973

59655974
if (part) {
5966-
if (this["<color>"](part)) {
5975+
if (this["<color>"](part) && !color) {
59675976
expression.next();
59685977
part = expression.peek();
59695978
}
@@ -6170,7 +6179,7 @@ var CSSLint = (function(){
61706179
formatters = [],
61716180
api = new parserlib.util.EventTarget();
61726181

6173-
api.version = "0.9.1";
6182+
api.version = "0.9.2";
61746183

61756184
//-------------------------------------------------------------------------
61766185
// Rule Management

0 commit comments

Comments
 (0)