HomeSort by relevance Sort by last modified time
    Searched full:newelementposition (Results 1 - 1 of 1) sorted by null

  /external/webkit/Source/WebCore/inspector/front-end/
Popover.js 103 var newElementPosition = { x: 0, y: 0, width: preferredWidth + scrollerWidth, height: preferredHeight };
111 if (anchorBox.y > newElementPosition.height + arrowHeight + borderRadius)
112 newElementPosition.y = anchorBox.y - newElementPosition.height - arrowHeight;
114 newElementPosition.y = borderRadius * 2;
115 newElementPosition.height = anchorBox.y - borderRadius * 2 - arrowHeight;
120 newElementPosition.y = anchorBox.y + anchorBox.height + arrowHeight;
121 if (newElementPosition.y + newElementPosition.height + arrowHeight - borderWidth >= totalHeight)
122 newElementPosition.height = totalHeight - anchorBox.y - anchorBox.height - borderRadius * 2 - arrowHeight
    [all...]

Completed in 49 milliseconds