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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/loader/fragment-anchor-cleared-after-load-when-hidden.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 #anchor { 5 #anchor {
6 display: none; 6 display: none;
7 position: absolute; 7 position: absolute;
8 width: 60px; 8 width: 60px;
9 height: 30px; 9 height: 30px;
10 background-color: #eee; 10 background-color: #eee;
(...skipping 27 matching lines...) Expand all
38 }); 38 });
39 }; 39 };
40 40
41 onload = function() { 41 onload = function() {
42 runAfterLayoutAndPaint(function() { 42 runAfterLayoutAndPaint(function() {
43 location.hash = "#foo"; 43 location.hash = "#foo";
44 }); 44 });
45 }; 45 };
46 46
47 </script> 47 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698