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

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

Issue 99213002: Remove TreatNullAs=NullString for HTMLModElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 {name: 'content', expectedNull: ''}, 415 {name: 'content', expectedNull: ''},
416 {name: 'httpEquiv', expectedNull: ''}, 416 {name: 'httpEquiv', expectedNull: ''},
417 {name: 'name', expectedNull: ''}, 417 {name: 'name', expectedNull: ''},
418 {name: 'scheme', expectedNull: ''} 418 {name: 'scheme', expectedNull: ''}
419 ] 419 ]
420 }, 420 },
421 { 421 {
422 type: 'HTMLModElement', 422 type: 'HTMLModElement',
423 elementToUse: document.createElement('ins'), // same as 'del ' 423 elementToUse: document.createElement('ins'), // same as 'del '
424 attributes: [ 424 attributes: [
425 {name: 'cite', expectedNull: ''}, 425 {name: 'cite', expectedNull: 'null', isUrl: true},
426 {name: 'dateTime', expectedNull: ''} 426 {name: 'dateTime', expectedNull: 'null'}
427 ] 427 ]
428 }, 428 },
429 { 429 {
430 type: 'HTMLObjectElement', 430 type: 'HTMLObjectElement',
431 elementToUse: document.createElement('object'), 431 elementToUse: document.createElement('object'),
432 attributes: [ 432 attributes: [
433 {name: 'code', expectedNull: ''}, 433 {name: 'code', expectedNull: ''},
434 {name: 'align', expectedNull: ''}, 434 {name: 'align', expectedNull: ''},
435 {name: 'archive', expectedNull: ''}, 435 {name: 'archive', expectedNull: ''},
436 {name: 'border', expectedNull: ''}, 436 {name: 'border', expectedNull: ''},
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 printOut(''); 660 printOut('');
661 } 661 }
662 } 662 }
663 </script> 663 </script>
664 </head> 664 </head>
665 <body onload="runTests()"> 665 <body onload="runTests()">
666 <p>This test setting various attributes of a elements to JavaScript null.</p > 666 <p>This test setting various attributes of a elements to JavaScript null.</p >
667 <div id="console"></div> 667 <div id="console"></div>
668 </body> 668 </body>
669 </html> 669 </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