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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/loader/fragment-anchor-cleared-after-load.html

Issue 2474813002: Clamping shouldn't clear the fragment anchor. (Closed)
Patch Set: address review comments Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script> 2 <script src="../../resources/js-test.js"></script>
3 <script src="../../resources/run-after-layout-and-paint.js"></script> 3 <script src="../../resources/run-after-layout-and-paint.js"></script>
4 <style> 4 <style>
5 5
6 #anchor { 6 #anchor {
7 display: block; 7 display: block;
8 position: absolute; 8 position: absolute;
9 width: 60px; 9 width: 60px;
10 height: 30px; 10 height: 30px;
(...skipping 24 matching lines...) Expand all
35 shouldBe("scrollY", "0"); 35 shouldBe("scrollY", "0");
36 36
37 location.hash = "#"; 37 location.hash = "#";
38 anchor.style.top = ""; 38 anchor.style.top = "";
39 finishJSTest(); 39 finishJSTest();
40 }); 40 });
41 }); 41 });
42 }; 42 };
43 43
44 </script> 44 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698