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

Unified Diff: LayoutTests/fast/css/sticky/sticky-overflowing.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
Index: LayoutTests/fast/css/sticky/sticky-overflowing.html
diff --git a/LayoutTests/fast/css/sticky/sticky-overflowing.html b/LayoutTests/fast/css/sticky/sticky-overflowing.html
deleted file mode 100644
index 89a63217b13b40464328c34d1f96ca1881ed5ee7..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/css/sticky/sticky-overflowing.html
+++ /dev/null
@@ -1,75 +0,0 @@
-<!DOCTYPE html>
-
-<html>
-<head>
-<style>
- body {
- margin: 0;
- height: 2000px;
- overflow: hidden; /* hide scrollbars */
- }
-
- .container {
- position: absolute;
- width: 200px;
- height: 400px;
- margin: 10px;
- left: 300px;
- top: -200px;
- font-family: Ahem;
- font-size: 24px;
- outline: 2px solid black;
- }
-
- .vertical.container {
- -webkit-writing-mode: vertical-rl;
- top: 300px;
- left: 800px;
- width: 400px;
- height: 200px;
- }
-
- .spacer {
- height: 350px;
- width: 20px;
- background-color: black;
- }
-
- .vertical .spacer {
- height: 20px;
- width: 350px;
- }
-
- .box {
- width: 150px;
- height: 150px;
- }
-
- .sticky {
- position: sticky;
- top: 200px;
- right: 200px;
- background-color: green;
- opacity: 0.75;
- }
-</style>
-<script>
- function doTest()
- {
- window.scrollTo(100, 100);
- }
- window.addEventListener('load', doTest, false);
-</script>
-</head>
-<body>
- <div class="container">
- <div class="spacer"></div>
- <div class="sticky box"></div>
- </div>
-
- <div class="vertical container">
- <div class="spacer"></div>
- <div class="sticky box"></div>
- </div>
-</body>
-</html>
« no previous file with comments | « LayoutTests/fast/css/sticky/sticky-margins-expected.html ('k') | LayoutTests/fast/css/sticky/sticky-overflowing-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698