Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: Source/core/dom/Element.idl

Issue 1323073005: Remove Element.offsetParent/offsetTop/offsetLeft/offsetWidth/offsetHeight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op tions); 93 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op tions);
94 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre stricted double y); 94 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre stricted double y);
95 attribute unrestricted double scrollTop; 95 attribute unrestricted double scrollTop;
96 attribute unrestricted double scrollLeft; 96 attribute unrestricted double scrollLeft;
97 readonly attribute long scrollWidth; 97 readonly attribute long scrollWidth;
98 readonly attribute long scrollHeight; 98 readonly attribute long scrollHeight;
99 readonly attribute long clientTop; 99 readonly attribute long clientTop;
100 readonly attribute long clientLeft; 100 readonly attribute long clientLeft;
101 readonly attribute long clientWidth; 101 readonly attribute long clientWidth;
102 readonly attribute long clientHeight; 102 readonly attribute long clientHeight;
103 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-htmlelement-interfa ce
104 // FIXME: offset* should only be on HTMLElement. crbug.com/504578
105 [DeprecateAs=ElementOffsetParent, PerWorldBindings] readonly attribute Eleme nt? offsetParent;
106 [DeprecateAs=ElementOffsetTop] readonly attribute long offsetTop;
107 [DeprecateAs=ElementOffsetLeft] readonly attribute long offsetLeft;
108 [DeprecateAs=ElementOffsetWidth] readonly attribute long offsetWidth;
109 [DeprecateAs=ElementOffsetHeight] readonly attribute long offsetHeight;
110 103
111 // Scroll Customization API. See crbug.com/410974 for details. 104 // Scroll Customization API. See crbug.com/410974 for details.
112 [RuntimeEnabled=ScrollCustomization] void setApplyScroll(ScrollStateCallback scrollStateCallback, NativeScrollBehavior nativeScrollBehavior); 105 [RuntimeEnabled=ScrollCustomization] void setApplyScroll(ScrollStateCallback scrollStateCallback, NativeScrollBehavior nativeScrollBehavior);
113 [RuntimeEnabled=ScrollCustomization] void setDistributeScroll(ScrollStateCal lback scrollStateCallback, NativeScrollBehavior nativeScrollBehavior); 106 [RuntimeEnabled=ScrollCustomization] void setDistributeScroll(ScrollStateCal lback scrollStateCallback, NativeScrollBehavior nativeScrollBehavior);
114 107
115 // Non-standard APIs 108 // Non-standard APIs
116 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=19962 109 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=19962
117 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E lement insertAdjacentElement(DOMString where, Element element); 110 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E lement insertAdjacentElement(DOMString where, Element element);
118 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS tring where, DOMString text); 111 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS tring where, DOMString text);
119 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option al boolean centerIfNeeded); 112 [MeasureAs=ElementScrollIntoViewIfNeeded] void scrollIntoViewIfNeeded(option al boolean centerIfNeeded);
(...skipping 15 matching lines...) Expand all
135 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; 128 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
136 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 129 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
137 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 130 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
138 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 131 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
139 attribute EventHandler onwheel; 132 attribute EventHandler onwheel;
140 }; 133 };
141 134
142 Element implements ParentNode; 135 Element implements ParentNode;
143 Element implements ChildNode; 136 Element implements ChildNode;
144 Element implements NonDocumentTypeChildNode; 137 Element implements NonDocumentTypeChildNode;
OLDNEW
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698