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¦ d Z ddlmZ ddlmZ ddlmZmZ ddlm Z dd l
mZmZm
Z
mZ d
ddd
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Úpausezpause-afterzpause-beforezpitch-rangeZpitchzplay-duringZrichnesszspeak-headerz
speak-numeralzspeak-punctuationZspeakzspeech-rateZstresszvoice-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 �]ª‰ ˆ j dkr.tjdˆ jˆ jˆ jƒ ˆ j dkr:qˆ j}|jdƒsPˆ j}‡ fdd„}|t krp|ddƒ q|jt
ƒrè|tt
ƒd … }|tkr˜|}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|| ||ƒƒ}W nN tk
�r„ } z0|d|j�rl|jd �rl|jd ndƒ wW Y d d }~X nX ˆ j} x&|D ]\}
}|
jddƒ|| fV �q’W qW d 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--c s( t t| ƒdˆ jtˆ jƒˆ jˆ j|ƒ d S )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_errorR s 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Úwarningr z
invalid valueÚ_)Útyper r Úmessager r r Ú
startswithZ
lower_nameÚNOT_PRINT_MEDIAr
Úlenr r r r r Úgetr
r Úlistr ÚargsÚ importantÚreplace)Úbase_urlZdeclarationsr r Zunprefixed_nameZ expander_ÚtokensÚresultÚexcr) Z long_namer r )r r Úpreprocess_declarations<