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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/html/body-offset-properties.html

Issue 2669403002: Move tests for sections elements to html/sections/. (Closed)
Patch Set: Created 3 years, 10 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
(Empty)
1 <body style="position: relative; width: 200px; margin: 0 auto;">
2 <pre id="console">The body should have 0 for both offsetLeft and offsetTop.
3
4 </pre>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
8 var console = document.getElementById("console");
9 console.appendChild(document.createTextNode("body.offsetParent = " + document.bo dy.offsetParent + "\n"));
10 console.appendChild(document.createTextNode("body.offsetLeft = " + document.body .offsetLeft + "\n"));
11 console.appendChild(document.createTextNode("body.offsetTop = " + document.body. offsetTop + "\n"));
12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698