Lines Matching defs:Position
1639 for (var position in insertions) {
1640 content = insertions[position];
1641 position = position.toLowerCase();
1642 insert = Element._insertionTranslations[position];
1652 tagName = ((position == 'before' || position == 'after')
1657 if (position == 'top' || position == 'after') childNodes.reverse();
1951 var originalPosition = els.position;
1954 els.position = 'absolute';
1959 els.position = originalPosition;
1966 var pos = Element.getStyle(element, 'position');
1969 element.style.position = 'relative';
1971 // element is position relative but top and left have not been defined
1984 element.style.position =
2028 var p = Element.getStyle(element, 'position');
2037 if (element.getStyle('position') == 'absolute') return element;
2038 // Position.prepare(); // To be done manually by Scripty when it needs it.
2051 element.style.position = 'absolute';
2061 if (element.getStyle('position') == 'relative') return element;
2062 // Position.prepare(); // To be done manually by Scripty when it needs it.
2064 element.style.position = 'relative';
2090 if (Element.getStyle(element, 'position') != 'static')
2106 Element.getStyle(element, 'position') == 'absolute') break;
2131 // find page position of source
2139 // delta [0,0] will do fine with position: fixed elements,
2140 // position:absolute needs offsetParent deltas
2141 if (Element.getStyle(element, 'position') == 'absolute') {
2152 // set position
2183 if (proceed(element, 'position') === 'static') return null;
2230 var position = element.getStyle('position');
2231 if (position !== 'static') return proceed(element);
2232 element.setStyle({ position: 'relative' });
2234 element.setStyle({ position: position });
2245 var position = element.getStyle('position');
2246 if (position !== 'static') return proceed(element);
2248 // accurate offsetTop and offsetLeft values for position: fixed.
2250 if (offsetParent && offsetParent.getStyle('position') === 'fixed')
2252 element.setStyle({ position: 'relative' });
2254 element.setStyle({ position: position });
2432 if (Element.getStyle(element, 'position') == 'absolute') break;
2972 return Selector.xpath.pseudos.nth("position() ", m);
2975 return Selector.xpath.pseudos.nth("(last() + 1 - position()) ", m);
3089 // mark each child node with its position (for nth calls)
4163 var Position = {
4227 Position.prepare();
4232 Position.prepare();