Home | History | Annotate | Download | only in front-end

Lines Matching defs:Element

157 Element.prototype.removeStyleClass = function(className) 
162 Element.prototype.removeMatchingStyleClasses = function(classNameRegex)
169 Element.prototype.addStyleClass = function(className)
174 Element.prototype.hasStyleClass = function(className)
179 Element.prototype.positionAt = function(x, y)
185 Element.prototype.pruneEmptyTextNodes = function()
196 Element.prototype.isScrolledToBottom = function()
231 Element.prototype.query = function(query)
236 Element.prototype.removeChildren = function()
242 Element.prototype.isInsertionCaretInside = function()
251 Element.prototype.createChild = function(elementName, className)
253 var element = document.createElement(elementName);
255 element.className = className;
256 this.appendChild(element);
257 return element;
260 Element.prototype.__defineGetter__("totalOffsetLeft", function()
263 for (var element = this; element; element = element.offsetParent)
264 total += element.offsetLeft + (this !== element ? element.clientLeft : 0);
268 Element.prototype.__defineGetter__("totalOffsetTop", function()
271 for (var element = this; element; element = element.offsetParent)
272 total += element.offsetTop + (this !== element ? element.clientTop : 0);
276 Element.prototype.offsetRelativeToWindow = function(targetWindow)
330 Element.prototype.__defineGetter__("selectionLeftOffset", function() {
331 // Calculate selection offset relative to the current element.
982 function highlightSearchResult(element, offset, length)
984 var result = highlightSearchResults(element, [{offset: offset, length: length }]);
988 function highlightSearchResults(element, resultRanges)
991 var lineText = element.textContent;
992 var textNodeSnapshot = document.evaluate(".//text()", element, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
1020 textNode = element;