Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 0øªjã#@s¦dZddlmZddlmZddlmZmZddlm Z dd l m Z m Z m Z mZd d d d ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,h#Zd-d.„Zd/S)0zs weasyprint.css.validation ------------------------- Validate properties, expanders and descriptors. é)Ú serializeé)ÚLOGGERé)Ú InvalidValuesÚremove_whitespaceé)Ú EXPANDERS)ÚPREFIXÚ PROPRIETARYÚUNSTABLEÚvalidate_non_shorthandZazimuthZcuez cue-afterz cue-beforeZ elevationÚpausez pause-afterz pause-beforez pitch-rangeZpitchz play-duringZrichnessz speak-headerz speak-numeralzspeak-punctuationZspeakz speech-rateZstressz voice-familyÚvolumeÚcursorZ animationzanimation-delayzanimation-directionzanimation-durationzanimation-fill-modezanimation-iteration-countzanimation-namezanimation-play-statezanimation-timing-functionZ transitionztransition-delayztransition-durationztransition-propertyztransition-timing-functionc #s¼�x´|D�]ª‰ˆjdkr.tjdˆjˆjˆjƒˆjdkr:qˆj}|jdƒsPˆj}‡fdd„}|t krp|ddƒq|jt ƒrè|t t ƒd …}|t kr˜|}nP|t krÆtjd ˆjtˆjƒˆjˆj|ƒ|}n"tjd ˆjtˆjƒˆjˆj|ƒq|jd ƒoü|jdƒ �r |dd ƒqtj|tƒ}tˆjƒ}yt||||ƒƒ}WnNtk �r„}z0|d|j�rl|jd�rl|jdndƒwWYd d }~XnXˆj} x&|D]\} } | jd dƒ| | fV�q’WqWd S)z½Expand shorthand properties, filter unsupported properties and values. Log a warning for every ignored declaration. Return a iterable of ``(name, value, important)`` tuples. ÚerrorzError: %s at %d:%d.Ú declarationz--cs(tt|ƒdˆjtˆjƒˆjˆj|ƒdS)NzIgnored `%s:%s` at %d:%d, %s.)ÚgetattrrÚnamerÚvalueÚ source_lineÚ source_column)ÚlevelÚreason)r©úH/tmp/pip-build-_d5lkt3n/weasyprint/weasyprint/css/validation/__init__.pyÚvalidation_errorRs z1preprocess_declarations..validation_errorÚdebugz/the property does not apply for the print mediaNz\Deprecated `%s:%s` at %d:%d, prefixes on unstable attributes are deprecated, use %r instead.zTIgnored `%s:%s` at %d:%d, prefix on this attribute is not supported, use %r instead.ú-zprefixed selectors are ignoredÚwarningrz invalid valueÚ_)ÚtyperrÚmessagerrrÚ startswithZ lower_nameÚNOT_PRINT_MEDIAr Úlenr r rrr Úgetr rÚlistrÚargsÚ importantÚreplace) Úbase_urlZ declarationsrrZunprefixed_nameZ expander_ÚtokensÚresultÚexcr)Z long_namerr)rrÚpreprocess_declarations<s`           $r/N)Ú__doc__Ztinycss2rÚrÚutilsrrZ expandersr Z propertiesr r r r r$r/rrrrÚsR