Lines Matching refs:attributes
568 list($tag, $id, $class, $attributes, $cmb) = $selector;
664 // Check attributes
666 && $attributes !== ''
667 && is_array($attributes)
668 && !empty($attributes)) {
669 foreach($attributes as $a) {
678 // Handle indexing attributes (i.e. "[2]")
685 * doesn't work on numeric attributes anyway.
870 * [4] - attributes
872 * Optionally matches the attributes list
909 /* Extract attributes (pattern based on the pattern above!)
923 $attributes,
930 foreach($attributes as $att) {
1121 $attributes = array();
1131 $attributes[$match[1]] = $match[2];
1134 // If there is a width in the style attributes:
1135 if (isset($attributes['width']) && $width == -1) {
1137 if (strtolower(substr($attributes['width'], -2)) === 'px') {
1138 $proposed_width = substr($attributes['width'], 0, -2);
1146 // If there is a width in the style attributes:
1147 if (isset($attributes['height']) && $height == -1) {
1149 if (strtolower(substr($attributes['height'], -2)) == 'px') {
1150 $proposed_height = substr($attributes['height'], 0, -2);
1830 // Skip attributes in end tags
1987 // attributes
2058 } else { // no more attributes