Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: pages/testcases/generic/index.html

Issue 29325987: Issue 616 - Add some tests for generic hide + block (Closed)
Left Patch Set: Created Sept. 5, 2015, 3:27 p.m.
Right Patch Set: Adjust for new dimensions of test + fail images Created Sept. 11, 2015, 2:14 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « pages/testcases/generic/06.md ('k') | static/abp-test-suite-filters.txt » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 title=ABP Test Pages 1 title=ABP Test Pages
2 template=blank 2 template=blank
3 3
4 <head> 4 <head>
5 <style> 5 <style>
6 html, body { margin: 0; height: 100%; } 6 html, body { margin: 0; height: 100%; }
7 #iframe { display: block; width: 100%; height: 100%; border: none; } 7 #iframe { display: block; width: 100%; height: 100%; border: none; }
8 </style> 8 </style>
9 </head> 9 </head>
10 10
11 <iframe id="iframe"></iframe> 11 <iframe id="iframe"></iframe>
kzar 2015/09/05 15:36:53 I've created this page so that we can load test ca
rossg 2015/09/10 11:06:08 I applied the patch set successfully, however some
kzar 2015/09/10 11:12:06 My mistake, should be fixed now for both www.testp
12 12
13 <script type="text/javascript"> 13 <script type="text/javascript">
14 var iframe = document.getElementById("iframe") 14 var iframe = document.getElementById("iframe")
15 function update_iframe_location() 15 function update_iframe_location()
16 { 16 {
17 var hash = window.location.hash; 17 var hash = window.location.hash;
18 if (hash) 18 if (hash)
19 { 19 {
20 var url = window.location.href. 20 var url = window.location.href.
21 substr(0, window.location.href.length - hash.length). 21 substr(0, window.location.href.length - hash.length).
22 replace("testpages", "www.testpages") + hash.substring(1); 22 replace("://testpages", "://www.testpages") + hash.substring(1);
23 23
24 iframe.src = url; 24 iframe.src = url;
25 } 25 }
26 } 26 }
27 window.addEventListener("hashchange", update_iframe_location); 27 window.addEventListener("hashchange", update_iframe_location);
28 update_iframe_location(); 28 update_iframe_location();
29 </script> 29 </script>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld