Skip to content
This repository was archived by the owner on Jul 15, 2019. It is now read-only.

Commit 0bd6319

Browse files
committed
Merge branch 'develop' of github.com:yahoo/css-js into develop
2 parents 6c1dd60 + c2590ee commit 0bd6319

File tree

5 files changed

+2
-6
lines changed

5 files changed

+2
-6
lines changed

src/l/css.21.core.l

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Reference:
1111
- http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html
1212
- http://www.w3.org/TR/2011/REC-CSS2-20110607/grammar.html
1313
14-
TODO: need to add vendor-specific extensions
1514
*/
1615

1716
h [0-9a-fA-F] /* add A-Z for case-insensitive */
@@ -33,6 +32,7 @@ baduri2 "url"\({w}{string}{w}
3332
baduri3 "url"\({w}{badstring}
3433
comment \/\*[^*]*\*+([^/*][^*]*\*+)*\/
3534
ident [\-]?{nmstart}{nmchar}*
35+
vendor [\-_]{h}"-"{h}
3636
name {nmchar}+
3737
num [0-9]+|[0-9]*"."[0-9]+
3838
string {string1}|{string2}
@@ -90,6 +90,7 @@ Z "Z"|"z"|\\"0"{0,4}("5a"|"7a")(\r\n|[ \t\r\n\f])?|\\[z]
9090

9191
{ident}"(" {return 'FUNCTION';}
9292
{ident} {return 'IDENT';}
93+
{vendor} {return 'VENDOR';}
9394
"@"{ident} {return 'ATKEYWORD';}
9495

9596
"#"{name} {return 'HASH';}

src/l/css.21.l

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Reference:
1111
- http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html
1212
- http://www.w3.org/TR/2011/REC-CSS2-20110607/grammar.html
1313
14-
TODO: need to add vendor-specific extensions
1514
*/
1615

1716
h [0-9a-fA-F] /* add A-Z for case-insensitive */

src/l/css.3.l

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Reference:
1212
- http://www.w3.org/TR/2011/REC-CSS2-20110607/grammar.html
1313
- http://www.w3.org/TR/css3-syntax/
1414
15-
TODO: need to add vendor-specific extensions
1615
*/
1716

1817
h [0-9a-fA-F] /* add A-Z for case-insensitive */

src/l/css.strict.l

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Reference:
1212
- http://www.w3.org/TR/2011/REC-CSS2-20110607/grammar.html
1313
- http://www.w3.org/TR/css3-syntax/
1414
15-
TODO: need to add vendor-specific extensions
1615
*/
1716

1817
h [0-9a-fA-F] /* add A-Z for case-insensitive */

src/y/css-parser.strict.attr.y

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ See the accompanying LICENSE file for terms.
55
66
Authors: Nera Liu <neraliu@yahoo-inc.com, neraliu@gmail.com>
77
8-
Grammer of CSS 2.1 specification
9-
108
Reference:
119
- http://www.w3.org/TR/2011/REC-CSS2-20110607/syndata.html
1210
- http://www.w3.org/TR/2011/REC-CSS2-20110607/grammar.html

0 commit comments

Comments
 (0)