• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/libxo/xohtml/external/

Lines Matching refs:top

43 TOP = 'top',
707 position = { left: 0, top: 0 },
717 // Force left top and set position
719 position = { left: target[0], top: target[1] };
724 // Force left top to allow flipping
741 top: event.pageY - position.top + (offset && offset.top || 0)
747 position.top -= mouse.scrollY - win.scrollTop();
773 top: (viewport || target).scrollTop(),
813 position.top -= win.scrollTop();
819 position.top += at.y === BOTTOM ? targetHeight : at.y === CENTER ? targetHeight / 2 : 0;
825 position.top += adjust.y + (my.y === BOTTOM ? -elemHeight : my.y === CENTER ? -elemHeight / 2 : 0);
835 if(offset && position.adjusted.top) { position.top += offset.top; }
839 else { position.adjusted = { left: 0, top: 0 }; }
846 if(effect === FALSE || !visible || isNaN(position.left) || isNaN(position.top) || target === 'mouse' || !$.isFunction(posOptions.effect)) {
879 pos.top += i * e.scrollTop();
892 parentOffset.top += (parseFloat($.css(parent, 'borderTopWidth')) || 0);
896 pos.top -= parentOffset.top + (parseFloat($.css(parent, 'marginTop')) || 0);
916 this.y = (corner.match(/top|bottom|center/i) || ['inherit'])[0].toLowerCase();
1060 top: ''
1869 my: 'top left',
2040 corner.y === TOP || (corner.y === CENTER && this.element.position().top + (this.size[1] / 2) + this.options.offset < titlebar.outerHeight(TRUE))
2306 top: translate[1] - (translate[2] * Number(precedance === Y)),
2378 tip.css({ margin: '', top: '', bottom: '', left: '', right: '' }).css(position);
2391 shift = { left: FALSE, top: FALSE, x: 0, y: 0 },
2405 if(vertical === SHIFT && newCorner.precedance === Y && adjust.top && newCorner.x !== CENTER) {
2408 else if(vertical !== SHIFT && adjust.top) {
2409 newCorner.y = newCorner.y === CENTER ? (adjust.top > 0 ? TOP : BOTTOM) : (newCorner.y === TOP ? BOTTOM : TOP);
2413 if(newCorner.string() !== cache.corner.string() && (cache.cornerTop !== adjust.top || cache.cornerLeft !== adjust.left)) {
2421 // Readjust offset object to make it left/top
2423 if(offset.bottom !== undefined) { offset.top = -offset.bottom; }
2443 if(shift.top = (vertical === SHIFT && !!adjust.top)) {
2445 css[MARGIN+'-top'] = shift.y = offset[MARGIN+'-top'] - adjust.top;
2449 [ adjust.top, -offset.top ] : [ -adjust.top, offset.top ];
2452 pos.top -= adjust.top;
2453 shift.top = FALSE;
2470 pos.left -= offset.left.charAt ? offset.user : horizontal !== SHIFT || shift.top || !shift.left && !shift.top ? offset.left : 0;
2471 pos.top -= offset.top.charAt ? offset.user : vertical !== SHIFT || shift.left || !shift.left && !shift.top ? offset.top : 0;
2474 cache.cornerLeft = adjust.left; cache.cornerTop = adjust.top;
2556 adjusted = { left: 0, top: 0 },
2572 offset: viewport.offset() || { left: 0, top: 0 }
2578 offset: container.offset() || { left: 0, top: 0 }
2617 // Check for overflow on the left/top
2644 top: methodY !== 'none' ? calculate( Y, X, methodY, adjust.y, TOP, BOTTOM, HEIGHT, targetHeight, elemHeight ) : 0