@@ -20,7 +20,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
THE SOFTWARE.
22
22
*/
23
- /* Version v1.0 .0, Build time: 15-July -2016 12:36:10 */
23
+ /* Version v1.1 .0, Build time: 6-December -2016 10:31:29 */
24
24
( function ( ) {
25
25
var require = parserlib . _require ;
26
26
require = ( function e ( t , n , r ) { function s ( o , u ) { if ( ! n [ o ] ) { if ( ! t [ o ] ) { var a = typeof require == "function" && require ; if ( ! u && a ) return a ( o , ! 0 ) ; if ( i ) return i ( o , ! 0 ) ; var f = new Error ( "Cannot find module '" + o + "'" ) ; throw f . code = "MODULE_NOT_FOUND" , f } var l = n [ o ] = { exports :{ } } ; t [ o ] [ 0 ] . call ( l . exports , function ( e ) { var n = t [ o ] [ 1 ] [ e ] ; return s ( n ?n :e ) } , l , l . exports , e , t , n , r ) } return n [ o ] . exports } var i = typeof require == "function" && require ; for ( var o = 0 ; o < r . length ; o ++ ) s ( r [ o ] ) ; return s } ) ( { "parserlib" :[ function ( require , module , exports ) {
@@ -630,6 +630,8 @@ Parser.prototype = function() {
630
630
this . _document ( ) ;
631
631
} else if ( tokenStream . peek ( ) === Tokens . SUPPORTS_SYM ) {
632
632
this . _supports ( ) ;
633
+ } else if ( tokenStream . peek ( ) === Tokens . MEDIA_SYM ) {
634
+ this . _media ( ) ;
633
635
} else if ( ! this . _ruleset ( ) ) {
634
636
break ;
635
637
}
@@ -2912,6 +2914,7 @@ var Properties = module.exports = {
2912
2914
"align-items" : "flex-start | flex-end | center | baseline | stretch" ,
2913
2915
"align-content" : "flex-start | flex-end | center | space-between | space-around | stretch" ,
2914
2916
"align-self" : "auto | flex-start | flex-end | center | baseline | stretch" ,
2917
+ "all" : "initial | inherit | unset" ,
2915
2918
"-webkit-align-items" : "flex-start | flex-end | center | baseline | stretch" ,
2916
2919
"-webkit-align-content" : "flex-start | flex-end | center | space-between | space-around | stretch" ,
2917
2920
"-webkit-align-self" : "auto | flex-start | flex-end | center | baseline | stretch" ,
@@ -2957,7 +2960,12 @@ var Properties = module.exports = {
2957
2960
"-o-animation-name" : "[ none | <single-animation-name> ]#" ,
2958
2961
"-o-animation-play-state" : "[ running | paused ]#" ,
2959
2962
2960
- "appearance" : "icon | window | desktop | workspace | document | tooltip | dialog | button | push-button | hyperlink | radio | radio-button | checkbox | menu-item | tab | menu | menubar | pull-down-menu | pop-up-menu | list-menu | radio-group | checkbox-group | outline-tree | range | field | combo-box | signature | password | normal | none" ,
2963
+ "appearance" : "none | auto" ,
2964
+ "-moz-appearance" : "none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized" ,
2965
+ "-ms-appearance" : "none | icon | window | desktop | workspace | document | tooltip | dialog | button | push-button | hyperlink | radio | radio-button | checkbox | menu-item | tab | menu | menubar | pull-down-menu | pop-up-menu | list-menu | radio-group | checkbox-group | outline-tree | range | field | combo-box | signature | password | normal" ,
2966
+ "-webkit-appearance" : "none | button | button-bevel | caps-lock-indicator | caret | checkbox | default-button | listbox | listitem | media-fullscreen-button | media-mute-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbargripper-horizontal | scrollbargripper-vertical | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical" ,
2967
+ "-o-appearance" : "none | window | desktop | workspace | document | tooltip | dialog | button | push-button | hyperlink | radio | radio-button | checkbox | menu-item | tab | menu | menubar | pull-down-menu | pop-up-menu | list-menu | radio-group | checkbox-group | outline-tree | range | field | combo-box | signature | password | normal" ,
2968
+
2961
2969
"azimuth" : "<azimuth>" ,
2962
2970
2963
2971
//B
@@ -3328,7 +3336,10 @@ var Properties = module.exports = {
3328
3336
"text-align" : "left | right | center | justify | match-parent | start | end" ,
3329
3337
"text-align-last" : 1 ,
3330
3338
"text-anchor" : "start | middle | end" ,
3331
- "text-decoration" : "<text-decoration>" ,
3339
+ "text-decoration" : "<text-decoration-line> || <text-decoration-style> || <text-decoration-color>" ,
3340
+ "text-decoration-color" : "<text-decoration-color>" ,
3341
+ "text-decoration-line" : "<text-decoration-line>" ,
3342
+ "text-decoration-style" : "<text-decoration-style>" ,
3332
3343
"text-emphasis" : 1 ,
3333
3344
"text-height" : 1 ,
3334
3345
"text-indent" : "<length> | <percentage>" ,
@@ -4178,9 +4189,15 @@ copy(ValidationTypes, {
4178
4189
Matcher . many ( [ true /* length is required */ ] ,
4179
4190
Matcher . cast ( "<length>" ) . braces ( 2 , 4 ) , "inset" , "<color>" ) ,
4180
4191
4181
- "<text-decoration>" :
4192
+ "<text-decoration-color>" :
4193
+ "<color>" ,
4194
+
4195
+ "<text-decoration-line>" :
4182
4196
"none | [ underline || overline || line-through || blink ]" ,
4183
4197
4198
+ "<text-decoration-style>" :
4199
+ "solid | double | dotted | dashed | wavy" ,
4200
+
4184
4201
"<will-change>" :
4185
4202
"auto | <animateable-feature>#" ,
4186
4203
@@ -4879,7 +4896,7 @@ TokenStream.prototype = mix(new TokenStreamBase(), {
4879
4896
4880
4897
if ( / ^ e m $ | ^ e x $ | ^ p x $ | ^ g d $ | ^ r e m $ | ^ v w $ | ^ v h $ | ^ v m a x $ | ^ v m i n $ | ^ c h $ | ^ c m $ | ^ m m $ | ^ i n $ | ^ p t $ | ^ p c $ / i. test ( ident ) ) {
4881
4898
tt = Tokens . LENGTH ;
4882
- } else if ( / ^ d e g | ^ r a d $ | ^ g r a d $ / i. test ( ident ) ) {
4899
+ } else if ( / ^ d e g | ^ r a d $ | ^ g r a d $ | ^ t u r n $ / i. test ( ident ) ) {
4883
4900
tt = Tokens . ANGLE ;
4884
4901
} else if ( / ^ m s $ | ^ s $ / i. test ( ident ) ) {
4885
4902
tt = Tokens . TIME ;
@@ -5264,7 +5281,6 @@ TokenStream.prototype = mix(new TokenStreamBase(), {
5264
5281
}
5265
5282
} ) ;
5266
5283
5267
-
5268
5284
} , { "../util/TokenStreamBase" :27 , "./PropertyValuePart" :11 , "./Tokens" :18 } ] , 15 :[ function ( require , module , exports ) {
5269
5285
"use strict" ;
5270
5286
@@ -5626,6 +5642,7 @@ function PropertyValuePart(text, line, col, optionalHint) {
5626
5642
case "deg" :
5627
5643
case "rad" :
5628
5644
case "grad" :
5645
+ case "turn" :
5629
5646
this . type = "angle" ;
5630
5647
break ;
5631
5648
0 commit comments