Lines Matching refs:attributes
571 list($tag, $id, $class, $attributes, $cmb) = $selector;
660 // Check attributes
662 && $attributes !== ''
663 && is_array($attributes)
664 && !empty($attributes)) {
665 foreach($attributes as $a) {
674 // Handle indexing attributes (i.e. "[2]")
681 * doesn't work on numeric attributes anyway.
866 * [4] - attributes
868 * Optionally matches the attributes list
905 /* Extract attributes (pattern based on the pattern above!)
919 $attributes,
926 foreach($attributes as $att) {
1117 $attributes = array();
1127 $attributes[$match[1]] = $match[2];
1130 // If there is a width in the style attributes:
1131 if (isset($attributes['width']) && $width == -1) {
1133 if (strtolower(substr($attributes['width'], -2)) === 'px') {
1134 $proposed_width = substr($attributes['width'], 0, -2);
1142 // If there is a width in the style attributes:
1143 if (isset($attributes['height']) && $height == -1) {
1145 if (strtolower(substr($attributes['height'], -2)) == 'px') {
1146 $proposed_height = substr($attributes['height'], 0, -2);
1824 // Skip attributes in end tags
1981 // attributes
2052 } else { // no more attributes