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

Side by Side Diff: LayoutTests/fast/dom/Element/resources/scrollable-iframe-strict.html

Issue 26489005: Relax HTMLBodyElement's scrollTop/Left property set and get operations. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@issue_290895
Patch Set: Relax HTMLBodyElement's scrollTop/Left property set and get operations. Created 7 years, 2 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/dom/Element/scrollTop-scrollLeft-strict-quirks-modes-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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <head> 2 <head>
3 <style> 3 <style>
4 div { 4 div {
5 height: 9999px; 5 height: 9999px;
6 width: 9999px; 6 width: 9999px;
7 } 7 }
8 </style> 8 </style>
9 <script> 9 <script>
10 function scroll() { 10 function scroll() {
11 document.documentElement.scrollTop = 5000; 11 document.documentElement.scrollTop = 5000;
12 document.documentElement.scrollLeft = 4000; 12 document.documentElement.scrollLeft = 4000;
13 13
14 // The calls below should not take effect, given
15 // that setting scrollTop/Left on the body node
16 // is no-op in strict-mode.
17 document.body.scrollTop = 1;
18 document.body.scrollLeft = 1;
19
20 parent.verifyTest() 14 parent.verifyTest()
21 } 15 }
22 </script> 16 </script>
23 </head> 17 </head>
24 <body onload="scroll()"> 18 <body onload="scroll()">
25 <div></div> 19 <div></div>
26 </body> 20 </body>
27 </html> 21 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Element/scrollTop-scrollLeft-strict-quirks-modes-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698