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

Unified Diff: LayoutTests/fast/regions/wheel-scroll-abspos.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/regions/wheel-scroll-abspos.html
diff --git a/LayoutTests/fast/regions/wheel-scroll-abspos.html b/LayoutTests/fast/regions/wheel-scroll-abspos.html
deleted file mode 100644
index f2c75eb3b5c7ccc4d8596c49935e4eba929bf1e2..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/wheel-scroll-abspos.html
+++ /dev/null
@@ -1,88 +0,0 @@
-<!DOCTYPE html>
-
-<style>
- body { font: 16px/16px monospace; }
-
- .region {
- -webkit-flow-from: flow;
- width: 250px;
- height: 55px;
- border: 1px solid red;
- padding: 2px;
- overflow: visible;
- }
-
- #region4 {
- height: auto;
- position: absolute;
- left: 330px;
- top: 120px;
- border-width: thick;
- }
-
- #container {
- overflow: auto;
- border: 3px solid blue;
- height: 100px;
- padding: 10px;
- width: 270px;
- }
-
- #article {
- -webkit-flow-into: flow;
- }
-
- .inner_scroll {
- height: 75px;
- border: 2px solid green;
- margin: 5px;
- overflow: scroll;
- padding: 5px;
- }
-
- p {
- margin: 0px;
- }
-</style>
-
-<script>
- onload = function() {
- if (window.eventSender) {
- eventSender.mouseMoveTo(150, 230);
- eventSender.continuousMouseScrollBy(0, -10000);
- eventSender.continuousMouseScrollBy(0, -10000);
- eventSender.mouseMoveTo(0, 0);
- }
- }
-</script>
-
-<body>
- <div>
- The text passes if everything can be scrolled normally using the mouse wheel:
- <ul>
- <li>Scrolling inside the green div should work until it reaches the end and then the blue container should scroll.</li>
- <li>Scrolling inside the orange div should work until it reaches the end and then the blue container should NOT scroll because the region in which the orange div is flowed is absolutely positioned</li>
- </ul>
- </div>
-
- <div id="container">
- <!-- content to be flowed in regions -->
- <div id="article">
- <p>Assume that there is enough content in the flow to fill the regions</p>
- <div class="inner_scroll" style="height: 30px">
- <p>Assume that there is enough content in the flow to fill the regions and the size of the container is less than the size of regions so that the container gets vertical scrollbar. Case1. If the mouse cursor is over the flow thread fragmented content inside a region, the user is unable to scroll the content inside the container. Case2. However, if the mouse is outside the flow thread content but still inside the container, then the user is able to scroll the container content. There *should be* a possibility to scroll the container content even when the mouse cursor is over the flow thread content in regions. (Case1)</p>
- </div>
- <p>is less than the size of regions so that the container gets vertical scrollbar. Case1. If the mouse cursor is over the flow thread fragmented content inside a region, the user is unable to scroll the content inside the container. </p>
- <div class="inner_scroll" style="border-color: orange;">
- <p>Assume that there is enough content in the flow to fill the regions and the size of the container is less than the size of regions so that the container gets vertical scrollbar. Case1. If the mouse cursor is over the flow thread fragmented content inside a region, the user is unable to scroll the content inside the container. Case2. However, if the mouse is outside the flow thread content but still inside the container, then the user is able to scroll the container content. There *should be* a possibility to scroll the container content even when the mouse cursor is over the flow thread content in regions. (Case1)</p>
- </div>
- <p>Assume that there is enough content in the flow to fill the regions and the size of the container is less than the size of regions so that the container gets vertical scrollbar. Case1.</p>
- </div>
-
- <!-- regions that will fragment the content -->
- <div class="region"></div>
- <div class="region"></div>
- <div class="region"></div>
- <div class="region" id="region4"></div>
- </div>
-</body>
« no previous file with comments | « LayoutTests/fast/regions/wheel-scroll.html ('k') | LayoutTests/fast/regions/wheel-scroll-abspos-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698