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

Side by Side Diff: LayoutTests/fast/html/element-offset.html

Issue 1231533002: Deprecate Element.offsetParent/offsetTop/offsetLeft/offsetWidth/offsetHeight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added tests Created 5 years, 5 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
« no previous file with comments | « no previous file | LayoutTests/fast/html/element-offset-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <script>
5
6 test(function () {
7 var element = document.createElementNS(null, 'x');
8 element.offsetParent;
9 element.offsetTop;
10 element.offsetLeft;
11 element.offsetWidth;
12 element.offsetHeight;
13 }, "element.offset*() should throw deprecation warning");
14
15 </script>
16 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/html/element-offset-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698