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

Unified Diff: LayoutTests/fast/css/target-fragment-match-expected.txt

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/css/target-fragment-match-expected.txt
diff --git a/LayoutTests/fast/css/target-fragment-match-expected.txt b/LayoutTests/fast/css/target-fragment-match-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..8b770e6c291ada99dad1c4bafcdfe9c06d0ddc4e
--- /dev/null
+++ b/LayoutTests/fast/css/target-fragment-match-expected.txt
@@ -0,0 +1,11 @@
+Verify that css :target selector is correctly updated during hash and history navigations
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS getComputedStyle(document.getElementById('target-01')).backgroundColor is "rgb(102, 204, 255)"
+PASS getComputedStyle(document.getElementById('target-01')).backgroundColor is "rgb(255, 255, 255)"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+I should be highlighted first because of the anchor, and de-highlighted when there is no fragment.

Powered by Google App Engine
This is Rietveld 408576698