Home
last modified time | relevance | path

Searched refs:raw_selector (Results 1 – 2 of 2) sorted by relevance

/plugin/html2pdf/html2pdf/html2ps/
Dcss.parse.inc.php99 function parse_css_selector($raw_selector) { argument
102 $raw_selector = strtolower(trim($raw_selector));
105 if (preg_match("/^(\S.*)\s*>\s*([^\s]+)$/", $raw_selector, $matches)) {
113 if (preg_match("/^(\S.*)\s+([^\s]+)$/", $raw_selector, $matches)) {
120 if (preg_match("/^(.+)\[(".SELECTOR_ATTR_REGEXP.")\]$/", $raw_selector, $matches)) {
126 if (preg_match("/^(.+)\[".SELECTOR_ATTR_VALUE_REGEXP."\]$/", $raw_selector, $matches)) {
132 if (preg_match("/^(.+)\[".SELECTOR_ATTR_VALUE_WORD_REGEXP."\]$/", $raw_selector, $matches)) {
139 if (preg_match("/^([#\.\s\w_-]*):(\w+)$/", $raw_selector, $matches)) {
155 if (preg_match("/^([#\.\s\w_-]+):lang\((\w+)\)$/", $raw_selector, $matches)) {
159 if (preg_match("/^(\S+)(\.\S+)$/", $raw_selector, $matches)) {
[all …]
Dcss.rules.page.inc.php200 $raw_selector = trim($matches[1]);
203 $selector =& parse_css_atpage_selector($raw_selector);