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

Side by Side Diff: LayoutTests/fast/dom/element-attribute-js-null.html

Issue 240153003: Remove the HTMLSourceElement.media IDL attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update test Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/dom/element-attribute-js-null-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <style type="text/css"> 3 <style type="text/css">
4 .pass { color: green; } 4 .pass { color: green; }
5 .fail { color: red; } 5 .fail { color: red; }
6 </style> 6 </style>
7 <script> 7 <script>
8 function printOut(msg) 8 function printOut(msg)
9 { 9 {
10 var console = document.getElementById("console"); 10 var console = document.getElementById("console");
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 elementToUse: document.createElement('select'), 566 elementToUse: document.createElement('select'),
567 attributes: [ 567 attributes: [
568 {name: 'value', expectedNull: ''}, 568 {name: 'value', expectedNull: ''},
569 {name: 'name', expectedNull: 'null'} 569 {name: 'name', expectedNull: 'null'}
570 ] 570 ]
571 }, 571 },
572 { 572 {
573 type: 'HTMLSourceElement', 573 type: 'HTMLSourceElement',
574 elementToUse: document.createElement('source'), 574 elementToUse: document.createElement('source'),
575 attributes: [ 575 attributes: [
576 {name: 'media', expectedNull: 'null'},
577 {name: 'src', expectedNull: 'null', isUrl: true}, 576 {name: 'src', expectedNull: 'null', isUrl: true},
578 {name: 'type', expectedNull: 'null'} 577 {name: 'type', expectedNull: 'null'}
579 ] 578 ]
580 }, 579 },
581 { 580 {
582 type: 'HTMLStyleElement', 581 type: 'HTMLStyleElement',
583 elementToUse: document.createElement('style'), 582 elementToUse: document.createElement('style'),
584 attributes: [ 583 attributes: [
585 {name: 'media', expectedNull: 'null'}, 584 {name: 'media', expectedNull: 'null'},
586 {name: 'type', expectedNull: 'null'} 585 {name: 'type', expectedNull: 'null'}
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 printOut(''); 715 printOut('');
717 } 716 }
718 } 717 }
719 </script> 718 </script>
720 </head> 719 </head>
721 <body onload="runTests()"> 720 <body onload="runTests()">
722 <p>This test setting various attributes of a elements to JavaScript null.</p > 721 <p>This test setting various attributes of a elements to JavaScript null.</p >
723 <div id="console"></div> 722 <div id="console"></div>
724 </body> 723 </body>
725 </html> 724 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/element-attribute-js-null-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698