Lines Matching refs:attribute
1194 var property = pair.first(), attribute = pair.last();
1196 if (value) result += ' ' + attribute + '=' + value.inspect(true);
1275 var attribute = element.attributes[name];
1276 if(attribute) return attribute.nodeValue;
1504 _getAttr: function(element, attribute) { argument
1505 return element.getAttribute(attribute, 2);
1508 _flag: function(element, attribute) { argument
1509 return $(element).hasAttribute(attribute) ? attribute : null;
1532 hasAttribute: function(element, attribute) { argument
1534 attribute = t.names[attribute] || attribute;
1535 return $(element).getAttributeNode(attribute).specified;
1795 clause.each(function(attribute) { argument
1796 var value = 'element.readAttribute(' + attribute.name.inspect() + ')';
1801 switch (attribute.operator) {
1802 case '=': conditions.push(value + ' == ' + attribute.value.inspect()); break;
1803 …case '~=': conditions.push(splitValueBy(' ') + '.include(' + attribute.value.inspect() + ')')…
1805 … splitValueBy('-') + '.first().toUpperCase() == ' + attribute.value.toUpperCase().inspect()
1807 case '!=': conditions.push(value + ' != ' + attribute.value.inspect()); break;
1809 … case undefined: conditions.push('element.hasAttribute(' + attribute.name.inspect() + ')'); break;
1810 default: throw 'Unknown operator ' + attribute.operator + ' in selector';