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

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

Issue 2939393002: Change ScrollIntoViewOptions::inlinePostion to inline (Closed)
Patch Set: Add a todo Created 3 years, 6 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // https://w3c.github.io/pointerlock/#extensions-to-the-element-interface 88 // https://w3c.github.io/pointerlock/#extensions-to-the-element-interface
89 [MeasureAs=ElementRequestPointerLock] void requestPointerLock(); 89 [MeasureAs=ElementRequestPointerLock] void requestPointerLock();
90 90
91 // CSSOM View Module 91 // CSSOM View Module
92 // https://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface 92 // https://dev.w3.org/csswg/cssom-view/#extension-to-the-element-interface
93 // FIXME: getClientRect() and getBoundingClientRect() should 93 // FIXME: getClientRect() and getBoundingClientRect() should
94 // return DOMRectList and DOMRect respectively. 94 // return DOMRectList and DOMRect respectively.
95 ClientRectList getClientRects(); 95 ClientRectList getClientRects();
96 ClientRect getBoundingClientRect(); 96 ClientRect getBoundingClientRect();
97 97
98 // TODO(sunyunjia): Add default value for scrollIntoView() once
99 // crbug.com/734599 is fixed.
98 void scrollIntoView(optional (ScrollIntoViewOptions or boolean) arg); 100 void scrollIntoView(optional (ScrollIntoViewOptions or boolean) arg);
99 [RuntimeEnabled=CSSOMSmoothScroll, ImplementedAs=scrollTo] void scroll(optio nal ScrollToOptions options); 101 [RuntimeEnabled=CSSOMSmoothScroll, ImplementedAs=scrollTo] void scroll(optio nal ScrollToOptions options);
100 [RuntimeEnabled=CSSOMSmoothScroll, ImplementedAs=scrollTo] void scroll(unres tricted double x, unrestricted double y); 102 [RuntimeEnabled=CSSOMSmoothScroll, ImplementedAs=scrollTo] void scroll(unres tricted double x, unrestricted double y);
101 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions op tions); 103 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(optional ScrollToOptions op tions);
102 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(unrestricted double x, unre stricted double y); 104 [RuntimeEnabled=CSSOMSmoothScroll] void scrollTo(unrestricted double x, unre stricted double y);
103 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op tions); 105 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(optional ScrollToOptions op tions);
104 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre stricted double y); 106 [RuntimeEnabled=CSSOMSmoothScroll] void scrollBy(unrestricted double x, unre stricted double y);
105 attribute unrestricted double scrollTop; 107 attribute unrestricted double scrollTop;
106 attribute unrestricted double scrollLeft; 108 attribute unrestricted double scrollLeft;
107 readonly attribute long scrollWidth; 109 readonly attribute long scrollWidth;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 attribute EventHandler oncut; 141 attribute EventHandler oncut;
140 attribute EventHandler onpaste; 142 attribute EventHandler onpaste;
141 attribute EventHandler onsearch; 143 attribute EventHandler onsearch;
142 attribute EventHandler onselectstart; 144 attribute EventHandler onselectstart;
143 attribute EventHandler onwheel; 145 attribute EventHandler onwheel;
144 }; 146 };
145 147
146 Element implements ParentNode; 148 Element implements ParentNode;
147 Element implements ChildNode; 149 Element implements ChildNode;
148 Element implements NonDocumentTypeChildNode; 150 Element implements NonDocumentTypeChildNode;
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/frame/ScrollIntoViewOptions.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698