Lines Matching refs:t

216 		$CSSstr = preg_replace('/[\s\n\r\t\f]/s', ' ', $CSSstr);
294 // Ignores -webkit-gradient so doesn't override -moz-
316 $t = '';
323 $t = trim($tags[0]);
336 $tag = $t;
338 $tag = $t . '>>PSEUDO>>' . $m[1];
343 $tag = $t . '>>NAMED>>' . $t2;
345 $tag = $t . '>>NAMED>>' . $t2 . '>>PSEUDO>>' . $m[1];
360 $t = trim($tags[0]);
363 if ($t) {
367 if (preg_match('/^[.](.*)$/', $t, $m)) {
371 } elseif (preg_match('/^[#](.*)$/', $t, $m)) {
373 } elseif (preg_match('/^\[LANG=[\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\]$/', $t, $m)) {
375 } elseif (preg_match('/^:LANG\([\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\)$/', $t, $m)) { // mPDF 6 Special case for lang as attribute selector
377 } elseif (preg_match('/^(' . $this->mpdf->allowedCSStags . ')[.](.*)$/', $t, $m)) { // mPDF 6 Special case for lang as attribute selector
381 } elseif (preg_match('/^(' . $this->mpdf->allowedCSStags . ')\s*:NTH-CHILD\((.*)\)$/', $t, $m)) {
383 } elseif (preg_match('/^(' . $this->mpdf->allowedCSStags . ')[#](.*)$/', $t, $m)) {
385 } elseif (preg_match('/^(' . $this->mpdf->allowedCSStags . ')\[LANG=[\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\]$/', $t, $m)) {
387 } elseif (preg_match('/^(' . $this->mpdf->allowedCSStags . '):LANG\([\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\)$/', $t, $m)) { // mPDF 6 Special case for lang as attribute selector
389 } elseif (preg_match('/^(' . $this->mpdf->allowedCSStags . ')$/', $t)) { // mPDF 6 Special case for lang as attribute selector
390 $tag = $t;
409 $t = trim($tags[$n]);
411 $t = '';
414 if ($t) {
416 if (preg_match('/^[.](.*)$/', $t, $m)) {
420 } elseif (preg_match('/^[#](.*)$/', $t, $m)) {
422 } elseif (preg_match('/^\[LANG=[\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\]$/', $t, $m)) {
424 } elseif (preg_match('/^:LANG\([\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\)$/', $t, $m)) { // mPDF 6 Special case for lang as attribute selector
426 } elseif (preg_match('/^(' . $this->mpdf->allowedCSStags . ')[.](.*)$/', $t, $m)) { // mPDF 6 Special case for lang as attribute selector
430 } elseif (preg_match('/^(' . $this->mpdf->allowedCSStags . ')\s*:NTH-CHILD\((.*)\)$/', $t, $m)) {
432 } elseif (preg_match('/^(' . $this->mpdf->allowedCSStags . ')[#](.*)$/', $t, $m)) {
434 } elseif (preg_match('/^(' . $this->mpdf->allowedCSStags . ')\[LANG=[\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\]$/', $t, $m)) {
436 } elseif (preg_match('/^(' . $this->mpdf->allowedCSStags . '):LANG\([\'\"]{0,1}([A-Z\-]{2,11})[\'\"]{0,1}\)$/', $t, $m)) { // mPDF 6 Special case for lang as attribute selector
438 } elseif (preg_match('/^(' . $this->mpdf->allowedCSStags . ')$/', $t)) { // mPDF 6 Special case for lang as attribute selector
439 $tag = $t;
521 // Ignores -webkit-gradient so doesn't override -moz-
1349 function _mergeCSS($p, &$t)
1353 if ($t) {
1354 $t = $this->array_merge_recursive_unique($t, $p);
1356 $t = $p;
1383 function _mergeFullCSS($p, &$t, $tag, $classes, $id, $lang)
1387 $this->_mergeCSS($p[$tag], $t);
1392 $this->_mergeCSS($p['CLASS>>' . $class], $t);
1418 $this->_mergeCSS($p[$tag . '>>SELECTORNTHCHILD>>' . $m[1]], $t);
1425 $this->_mergeCSS($p['LANG>>' . $lang], $t);
1429 $this->_mergeCSS($p['ID>>' . $id], $t);
1435 $this->_mergeCSS($p[$tag . '>>CLASS>>' . $class], $t);
1440 $this->_mergeCSS($p[$tag . '>>LANG>>' . $lang], $t);
1444 $this->_mergeCSS($p[$tag . '>>ID>>' . $id], $t);
1651 if (isset($this->mpdf->blk[$this->mpdf->blklvl - 1]['bgcolor']) && $this->mpdf->blk[$this->mpdf->blklvl - 1]['bgcolor']) { // Doesn't officially inherit, but default value is transparent (?=inherited)
1933 // false, 9 = don't check for 'depth' and do set border dominance