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

Unified Diff: LayoutTests/fast/css/sticky/remove-inline-sticky-crash.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/remove-inline-sticky-crash.html
diff --git a/LayoutTests/fast/css/sticky/remove-inline-sticky-crash.html b/LayoutTests/fast/css/sticky/remove-inline-sticky-crash.html
deleted file mode 100644
index c85c1233fbb833bfd8cc5b5dfc2a154a89cbf432..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/css/sticky/remove-inline-sticky-crash.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-
-<html>
-<head>
-<style>
- body {
- margin: 0;
- height: 2000px;
- }
-
- .box {
- width: 200px;
- height: 200px;
- }
-
- .sticky {
- position: sticky;
- top: 100px;
- background-color: green;
- }
-</style>
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- function doTest()
- {
- var stickyBox = document.getElementById('sticky');
- stickyBox.parentNode.removeChild(stickyBox);
- window.scrollTo(0, 10);
- }
- window.addEventListener('load', doTest, false);
-</script>
-</head>
-<body>
- <p>This test should not crash</p>
- <span id="sticky" class="sticky box"></span>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698