@@ -20,7 +20,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121THE SOFTWARE.
2222*/
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 */
2424( function ( ) {
2525var require = parserlib . _require ;
2626require = ( 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() {
630630 this . _document ( ) ;
631631 } else if ( tokenStream . peek ( ) === Tokens . SUPPORTS_SYM ) {
632632 this . _supports ( ) ;
633+ } else if ( tokenStream . peek ( ) === Tokens . MEDIA_SYM ) {
634+ this . _media ( ) ;
633635 } else if ( ! this . _ruleset ( ) ) {
634636 break ;
635637 }
@@ -2912,6 +2914,7 @@ var Properties = module.exports = {
29122914 "align-items" : "flex-start | flex-end | center | baseline | stretch" ,
29132915 "align-content" : "flex-start | flex-end | center | space-between | space-around | stretch" ,
29142916 "align-self" : "auto | flex-start | flex-end | center | baseline | stretch" ,
2917+ "all" : "initial | inherit | unset" ,
29152918 "-webkit-align-items" : "flex-start | flex-end | center | baseline | stretch" ,
29162919 "-webkit-align-content" : "flex-start | flex-end | center | space-between | space-around | stretch" ,
29172920 "-webkit-align-self" : "auto | flex-start | flex-end | center | baseline | stretch" ,
@@ -2957,7 +2960,12 @@ var Properties = module.exports = {
29572960 "-o-animation-name" : "[ none | <single-animation-name> ]#" ,
29582961 "-o-animation-play-state" : "[ running | paused ]#" ,
29592962
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+
29612969 "azimuth" : "<azimuth>" ,
29622970
29632971 //B
@@ -3328,7 +3336,10 @@ var Properties = module.exports = {
33283336 "text-align" : "left | right | center | justify | match-parent | start | end" ,
33293337 "text-align-last" : 1 ,
33303338 "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>" ,
33323343 "text-emphasis" : 1 ,
33333344 "text-height" : 1 ,
33343345 "text-indent" : "<length> | <percentage>" ,
@@ -4178,9 +4189,15 @@ copy(ValidationTypes, {
41784189 Matcher . many ( [ true /* length is required */ ] ,
41794190 Matcher . cast ( "<length>" ) . braces ( 2 , 4 ) , "inset" , "<color>" ) ,
41804191
4181- "<text-decoration>" :
4192+ "<text-decoration-color>" :
4193+ "<color>" ,
4194+
4195+ "<text-decoration-line>" :
41824196 "none | [ underline || overline || line-through || blink ]" ,
41834197
4198+ "<text-decoration-style>" :
4199+ "solid | double | dotted | dashed | wavy" ,
4200+
41844201 "<will-change>" :
41854202 "auto | <animateable-feature>#" ,
41864203
@@ -4879,7 +4896,7 @@ TokenStream.prototype = mix(new TokenStreamBase(), {
48794896
48804897 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 ) ) {
48814898 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 ) ) {
48834900 tt = Tokens . ANGLE ;
48844901 } else if ( / ^ m s $ | ^ s $ / i. test ( ident ) ) {
48854902 tt = Tokens . TIME ;
@@ -5264,7 +5281,6 @@ TokenStream.prototype = mix(new TokenStreamBase(), {
52645281 }
52655282} ) ;
52665283
5267-
52685284} , { "../util/TokenStreamBase" :27 , "./PropertyValuePart" :11 , "./Tokens" :18 } ] , 15 :[ function ( require , module , exports ) {
52695285"use strict" ;
52705286
@@ -5626,6 +5642,7 @@ function PropertyValuePart(text, line, col, optionalHint) {
56265642 case "deg" :
56275643 case "rad" :
56285644 case "grad" :
5645+ case "turn" :
56295646 this . type = "angle" ;
56305647 break ;
56315648
0 commit comments