Searched refs:offsetWidth (Results 1 - 25 of 109) sorted by relevance

12345

/external/chromium_org/remoting/webapp/unittests/
H A Dmenu_button_unittest.js38 ok(menu.offsetWidth == 0 && menu.offsetHeight == 0);
40 ok(menu.offsetWidth != 0 && menu.offsetHeight != 0);
47 ok(menu.offsetWidth == 0 && menu.offsetHeight == 0);
58 ok(menu.offsetWidth == 0 && menu.offsetHeight == 0);
66 ok(menu.offsetWidth == 0 && menu.offsetHeight == 0);
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dsettings_app_browsertest.js30 return elem.offsetWidth > 0 || elem.offsetHeight > 0;
/external/chromium_org/third_party/polymer/components-chromium/core-drawer-panel/
H A Dcore-drawer-panel-extracted.js147 e.pageX >= this.offsetWidth - this.edgeSwipeSensitivity :
152 this.width = this.$.drawer.offsetWidth;
/external/chromium_org/third_party/polymer/components-chromium/core-layout-trbl/
H A Dcore-slide-extracted.js63 var w = this.target.offsetWidth;
74 w = s.offsetWidth;
81 var w = this.target.offsetWidth;
93 w = s.offsetWidth;
H A Dcore-layout-trbl-extracted.js40 vertical = (c.offsetWidth == 0 && c.offsetHeight !== 0);
65 w: c.offsetWidth,
69 ww += c.offsetWidth;
/external/chromium_org/third_party/polymer/components-chromium/paper-toggle-button/
H A Dpaper-toggle-button-extracted.js21 this._w = this.$.toggleBar.offsetLeft + this.$.toggleBar.offsetWidth;
/external/chromium_org/ui/webui/resources/js/cr/ui/table/
H A Dtable_list.js105 var offsetWidth = this.offsetWidth;
106 if (cm.totalWidth > offsetWidth) {
115 if (cm.totalWidth <= offsetWidth && style.overflowX != 'hidden') {
/external/chromium_org/chrome/browser/resources/net_internals/
H A Dwaterfall_view.js138 var waterfallLeft = $(WaterfallView.INFO_TABLE_ID).offsetWidth +
140 $(WaterfallView.ID_HEADER_ID).offsetWidth;
141 var maxWidth = $(WaterfallView.MAIN_BOX_ID).offsetWidth - waterfallLeft;
214 var waterfallLeft = $(WaterfallView.ID_HEADER_ID).offsetWidth +
215 $(WaterfallView.URL_HEADER_ID).offsetWidth;
236 var offsetLeft = $(WaterfallView.INFO_TABLE_ID).offsetWidth +
/external/chromium_org/chrome/browser/resources/chromeos/first_run/app/
H A Dmain.js12 bounds.width = content.offsetWidth;
/external/chromium_org/chrome/browser/resources/print_preview/common/
H A Dsearch_bubble.js93 var left = owner.offsetLeft + owner.offsetWidth / 2 -
94 this.offsetWidth / 2;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
H A DDialog.js170 var positionX = box.x + (relativeToElement.offsetWidth - element.offsetWidth) / 2;
171 positionX = Number.constrain(positionX, 0, container.offsetWidth - element.offsetWidth);
H A DSoftContextMenu.js75 if (document.body.offsetWidth < this._contextMenuElement.offsetLeft + this._contextMenuElement.offsetWidth)
76 this._contextMenuElement.style.left = Math.max(0, x - this._contextMenuElement.offsetWidth) + "px";
193 this._subMenu.show(this._x + menuItemElement.offsetWidth - 3, this._y + menuItemElement.offsetTop - 1);
/external/chromium_org/ui/login/
H A Dbubble.js205 [Math.min(ARROW_OFFSET, el.offsetWidth / 2),
218 pos.right = origin.right + el.offsetWidth + opt_padding;
226 pos.left = origin.left + el.offsetWidth + opt_padding;
237 pos.left = origin.left + el.offsetWidth + opt_padding;
245 pos.right = origin.right + el.offsetWidth + opt_padding;
/external/chromium_org/ui/webui/resources/js/cr/ui/
H A Dgrid.js122 * Must be updated when offsetWidth and/or offsetHeight changed.
126 var offsetWidth = this.offsetWidth;
130 if (this.lastOffsetWidth_ == offsetWidth &&
136 this.lastOffsetWidth_ = offsetWidth;
141 if (overflowY == 'auto' && offsetWidth > 0) {
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderVideo.cpp235 LayoutUnit RenderVideo::offsetWidth() const function in class:blink::RenderVideo
238 return block->offsetWidth();
239 return RenderMedia::offsetWidth();
H A DRenderVideo.h73 virtual LayoutUnit offsetWidth() const OVERRIDE;
/external/chromium_org/chrome/browser/resources/chromeos/first_run/
H A Dstep.js227 var arrow = [this.arrow_.offsetLeft + this.arrow_.offsetWidth / 2,
236 left = Math.min(left, document.body.offsetWidth - this.offsetWidth -
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/
H A DFontView.js110 var result = { width: this._dummyElement.offsetWidth, height: this._dummyElement.offsetHeight };
128 const containerWidth = this.element.offsetWidth - 50;
/external/chromium_org/chrome/browser/resources/options/chromeos/
H A Ddisplay_options.js58 width: element.offsetWidth,
380 newPosition.x = this.snapToEdge_(newPosition.x, draggingDiv.offsetWidth,
381 baseDiv.offsetLeft, baseDiv.offsetWidth);
386 x: newPosition.x + draggingDiv.offsetWidth / 2,
393 width: baseDiv.offsetWidth,
431 if (newPosition.x > baseDiv.offsetLeft + baseDiv.offsetWidth)
435 else if (newPosition.x + draggingDiv.offsetWidth <
465 baseDiv.offsetLeft + baseDiv.offsetWidth + 'px';
470 baseDiv.offsetLeft - draggingDiv.offsetWidth + 'px';
551 baseDiv.offsetLeft - draggingDiv.offsetWidth
[all...]
H A Ddisplay_overscan.js73 displayOptionsPage.offsetWidth - 20 + 'px';
/external/chromium_org/third_party/polymer/components-chromium/core-layout-grid/
H A Dcore-layout-grid-extracted.js141 var w = node.offsetWidth;
300 node.style[offscreen] = node.offsetWidth * -2 + 'px';
303 node.style.left = node.offsetParent.offsetWidth
304 + node.offsetWidth + 'px';
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/
H A Dpopup.js7 (p.x <= (elem.offsetLeft + elem.offsetWidth)) &&
66 return probe.offsetWidth;
423 ratchetWidth(item.getElement('icon').offsetWidth +
424 item.getElement('file-url').offsetWidth +
425 item.getElement('cancel').offsetWidth +
426 item.getElement('pause').offsetWidth +
427 item.getElement('resume').offsetWidth);
428 ratchetWidth(item.getElement('more').offsetWidth);
747 document.getElementById('q-outer').offsetWidth +
748 document.getElementById('clear-all').offsetWidth
[all...]
/external/chromium_org/third_party/WebKit/Source/web/resources/
H A DcolorSuggestionPicker.js49 resizeWindow(main.offsetWidth, main.offsetHeight);
121 var elementWidth = this._element.offsetWidth;
/external/chromium_org/third_party/polymer/components-chromium/paper-toast/
H A Dpaper-toast-extracted.js114 this.w = this.offsetWidth;
/external/chromium_org/chrome/browser/resources/
H A Dabout_memory.js44 var width = el.offsetWidth;

Completed in 1951 milliseconds

12345