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

Side by Side Diff: third_party/WebKit/LayoutTests/html/sections/body-quirk-client-size.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
1 <!-- quirks mode --> 1 <!-- quirks mode -->
2 <script src="../../resources/js-test.js"></script> 2 <script src="../../resources/js-test.js"></script>
3 <style> 3 <style>
4 :root, body { width: 100%; height: 100%; margin: 0 } 4 :root, body { width: 100%; height: 100%; margin: 0 }
5 #container.wide { width: 5000px; height: 10px; } 5 #container.wide { width: 5000px; height: 10px; }
6 #container.tall { height: 5000px; width: 10px; } 6 #container.tall { height: 5000px; width: 10px; }
7 </style> 7 </style>
8 <div id="container"></div> 8 <div id="container"></div>
9 <script> 9 <script>
10 description("Style recalc when reading clientWidth/clientHeight of body in q uirks mode."); 10 description("Style recalc when reading clientWidth/clientHeight of body in q uirks mode.");
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 runClientSizeTest("wide", false, false, 1); 44 runClientSizeTest("wide", false, false, 1);
45 runClientSizeTest("tall", false, false, 1); 45 runClientSizeTest("tall", false, false, 1);
46 46
47 internals.settings.setOverlayScrollbarsEnabled(false); 47 internals.settings.setOverlayScrollbarsEnabled(false);
48 48
49 runClientSizeTest("wide", false, true, 0); 49 runClientSizeTest("wide", false, true, 0);
50 runClientSizeTest("tall", true, false, 0); 50 runClientSizeTest("tall", true, false, 0);
51 51
52 internals.settings.setOverlayScrollbarsEnabled(originalOverlayScrollbars); 52 internals.settings.setOverlayScrollbarsEnabled(originalOverlayScrollbars);
53 </script> 53 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698