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

Unified Diff: LayoutTests/fast/css/sticky/sticky-flexbox-expected.html

Issue 346603007: Remove position: sticky (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « LayoutTests/fast/css/sticky/sticky-flexbox.html ('k') | LayoutTests/fast/css/sticky/sticky-grid.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/sticky/sticky-flexbox-expected.html
diff --git a/LayoutTests/fast/css/sticky/sticky-flexbox-expected.html b/LayoutTests/fast/css/sticky/sticky-flexbox-expected.html
deleted file mode 100644
index d3024b089e35d7e0308969a6a074ac9f9391619f..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/css/sticky/sticky-flexbox-expected.html
+++ /dev/null
@@ -1,83 +0,0 @@
-<!DOCTYPE html>
-
-<html>
-<head>
-<style>
- body {
- margin: 0;
- width: 2000px;
- overflow: hidden; /* hide scrollbars */
- }
-
- p {
- position: relative;
- left: 100px;
- }
-
- .group {
- position: relative;
- width: 500px;
- height: 200px;
- }
-
- .flex-container {
- position: relative;
- display: flex;
- width: 200px;
- height: 180px;
- flex-flow: row wrap;
- outline: 2px solid black;
- }
-
- .box {
- width: 100px;
- height: 180px;
- }
-
- .flex-item {
- width: 100px;
- height: 180px;
- display: flex;
- }
-
- .sticky {
- position: relative;
- background-color: green;
- }
-
-</style>
-<script>
- function doTest()
- {
- window.scrollTo(100, 0);
- }
- window.addEventListener('load', doTest, false);
-</script>
-</head>
-<body>
- <p>This test checks the behavior of position:sticky with flex box items.
- There should be no red.</p>
-
- <div class="group" style="left: 100px">
- <div class="flex-container" style="left: 0px;">
- <div class="sticky flex-item" style="left:100px"></div>
- <div class="flex-item" style="background-color: green;"></div>
- </div>
- </div>
-
- <div class="group" style="left: 150px">
- <div class="flex-container" style="left: 0px;">
- <div class="sticky flex-item" style="left:50px"></div>
- <div class="flex-item" style="background-color: green;"></div>
- </div>
- </div>
-
- <div class="group" style="left: 200px">
- <div class="flex-container" style="left: 0px;">
- <div class="sticky flex-item"></div>
- <div class="flex-item" style="background-color: green;"></div>
- </div>
- </div>
-
-</body>
-</html>
« no previous file with comments | « LayoutTests/fast/css/sticky/sticky-flexbox.html ('k') | LayoutTests/fast/css/sticky/sticky-grid.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698