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

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

Issue 101423002: Remove TreatNullAs=NullString for HTMLTextAreaElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase on top of HTMLSelectElement patch 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
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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 {name: 'align', expectedNull: ''}, 657 {name: 'align', expectedNull: ''},
658 {name: 'ch', expectedNull: ''}, 658 {name: 'ch', expectedNull: ''},
659 {name: 'chOff', expectedNull: ''}, 659 {name: 'chOff', expectedNull: ''},
660 {name: 'vAlign', expectedNull: ''} 660 {name: 'vAlign', expectedNull: ''}
661 ] 661 ]
662 }, 662 },
663 { 663 {
664 type: 'HTMLTextAreaElement', 664 type: 'HTMLTextAreaElement',
665 elementToUse: document.createElement('textarea'), 665 elementToUse: document.createElement('textarea'),
666 attributes: [ 666 attributes: [
667 {name: 'defaultValue', expectedNull: ''},
668 {name: 'accessKey', expectedNull: ''}, 667 {name: 'accessKey', expectedNull: ''},
669 {name: 'name', expectedNull: ''}, 668 {name: 'defaultValue', expectedNull: 'null'},
670 {name: 'value', expectedNull: ''} 669 {name: 'dirName', expectedNull: 'null'},
670 {name: 'inputMode', expectedNull: 'null'},
671 {name: 'name', expectedNull: 'null'},
672 {name: 'placeholder', expectedNull: 'null'},
673 {name: 'value', expectedNull: ''},
674 {name: 'wrap', expectedNull: 'null'}
671 ] 675 ]
672 }, 676 },
673 { 677 {
674 type: 'HTMLTitleElement', 678 type: 'HTMLTitleElement',
675 elementToUse: document.createElement('title'), 679 elementToUse: document.createElement('title'),
676 attributes: [ 680 attributes: [
677 {name: 'text', expectedNull: 'null'} 681 {name: 'text', expectedNull: 'null'}
678 ] 682 ]
679 }, 683 },
680 { 684 {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 printOut(''); 720 printOut('');
717 } 721 }
718 } 722 }
719 </script> 723 </script>
720 </head> 724 </head>
721 <body onload="runTests()"> 725 <body onload="runTests()">
722 <p>This test setting various attributes of a elements to JavaScript null.</p > 726 <p>This test setting various attributes of a elements to JavaScript null.</p >
723 <div id="console"></div> 727 <div id="console"></div>
724 </body> 728 </body>
725 </html> 729 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698