Lines Matching refs:el
22 for (var i = 0, el; el = elements[i]; i++) {
23 if (!(el instanceof constr))
24 constr.decorate(el);
82 var el = createFunction(tagName, opt_propertyBag);
83 f.decorate(el);
85 el[propertyName] = opt_propertyBag[propertyName];
87 return el;
94 f.decorate = function(el) { argument
95 el.__proto__ = f.prototype;
96 el.decorate();
110 function limitInputWidth(el, parentEl, min) { argument
112 el.style.width = '10px';
113 var doc = el.ownerDocument;
115 var computedStyle = win.getComputedStyle(el);
121 var inputRect = el.getBoundingClientRect(); // box-sizing
139 if (el.scrollWidth > max) {
140 el.style.width = max + 'px';
142 el.style.width = 0;
143 var sw = el.scrollWidth;
145 el.style.width = min + 'px';
147 el.style.width = sw + 'px';
152 el.addEventListener('input', limit);