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

Unified Diff: LayoutTests/fast/history/scroll-restoration/resources/page-with-fragment.html

Issue 1239463005: Replace history.options with history.scrollRestoration attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move setScrollRestorationType to History Created 5 years, 5 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/history/scroll-restoration/resources/page-with-fragment.html
diff --git a/LayoutTests/fast/history/scroll-restoration/resources/page-with-fragment.html b/LayoutTests/fast/history/scroll-restoration/resources/page-with-fragment.html
new file mode 100644
index 0000000000000000000000000000000000000000..76ac8f364f23871742ba73b6fcc97f23a9333ba5
--- /dev/null
+++ b/LayoutTests/fast/history/scroll-restoration/resources/page-with-fragment.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<style>
+body {
+ height: 2000px;
+ width: 2000px;
+}
+#fragment {
+ position: absolute;
+ top: 800px;
+ background-color: #faa;
+ display: block;
+ height: 100px;
+ width: 100px;
+}
+
+</style>
+<body>
+Page with fragment
+ <a id="fragment" name="fragment" class='box'></a>
+</body>

Powered by Google App Engine
This is Rietveld 408576698