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

Side by Side Diff: LayoutTests/fast/html/hidden-attr.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/html/hgroup-element.html ('k') | LayoutTests/fast/html/hidden-attr-dom.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset=utf8> 2 <meta charset=utf8>
3 <script src="../../fast/js/resources/js-test-pre.js"></script> 3 <script src="../../fast/js/resources/js-test-pre.js"></script>
4 4
5 <p id="description"></p> 5 <p id="description"></p>
6 <div id="console"> 6 <div id="console">
7 Tests that hidden in markup works: 7 Tests that hidden in markup works:
8 <div hidden><span class=fail>FAIL</span> - this line should not appear</div><div hidden=hidden><span class=fail>FAIL</span> - this line should not appear</div>< div hidden=false><span class=fail>FAIL</span> - this line should not appear</div ><p hidden><span class=fail>FAIL</span> - this line should not appear</p><span h idden><span class=fail>FAIL</span> - this line should not appear</span><img widt h=400px alt="FAIL - this should not appear" src="resources/xxx-missing.jpeg" hid den> 8 <div hidden><span class=fail>FAIL</span> - this line should not appear</div><div hidden=hidden><span class=fail>FAIL</span> - this line should not appear</div>< div hidden=false><span class=fail>FAIL</span> - this line should not appear</div ><p hidden><span class=fail>FAIL</span> - this line should not appear</p><span h idden><span class=fail>FAIL</span> - this line should not appear</span><img widt h=400px alt="FAIL - this should not appear" src="resources/xxx-missing.jpeg" hid den>
9 9
10 Tests that dynamically adding/removing hidden works: 10 Tests that dynamically adding/removing hidden works:
(...skipping 17 matching lines...) Expand all
28 test3.removeAttribute("hidden"); 28 test3.removeAttribute("hidden");
29 debug('test3.removeAttribute("hidden")'); 29 debug('test3.removeAttribute("hidden")');
30 shouldBe('getComputedStyle(test3, false).display', '"block"'); 30 shouldBe('getComputedStyle(test3, false).display', '"block"');
31 31
32 shouldBe('getComputedStyle(test4, false).display', '"block"'); 32 shouldBe('getComputedStyle(test4, false).display', '"block"');
33 test4.setAttribute("hidden", ""); 33 test4.setAttribute("hidden", "");
34 debug('test4.setAttribute("hidden", "")'); 34 debug('test4.setAttribute("hidden", "")');
35 shouldBe('getComputedStyle(test4, false).display', '"none"'); 35 shouldBe('getComputedStyle(test4, false).display', '"none"');
36 36
37 </script> 37 </script>
38 <script src="../../fast/js/resources/js-test-post.js"></script>
39 </body> 38 </body>
40 </html> 39 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/html/hgroup-element.html ('k') | LayoutTests/fast/html/hidden-attr-dom.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698