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

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

Issue 101153003: Remove TreatNullAs=NullString for HTMLHtmlElement (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 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 {name: 'align', expectedNull: 'null'}, 304 {name: 'align', expectedNull: 'null'},
305 {name: 'color', expectedNull: 'null'}, 305 {name: 'color', expectedNull: 'null'},
306 {name: 'size', expectedNull: 'null'}, 306 {name: 'size', expectedNull: 'null'},
307 {name: 'width', expectedNull: 'null'} 307 {name: 'width', expectedNull: 'null'}
308 ] 308 ]
309 }, 309 },
310 { 310 {
311 type: 'HTMLHtmlElement', 311 type: 'HTMLHtmlElement',
312 elementToUse: document.createElement('html'), 312 elementToUse: document.createElement('html'),
313 attributes: [ 313 attributes: [
314 {name: 'version', expectedNull: ''} 314 {name: 'version', expectedNull: 'null'}
315 ] 315 ]
316 }, 316 },
317 { 317 {
318 type: 'HTMLIFrameElement', 318 type: 'HTMLIFrameElement',
319 elementToUse: document.createElement('iframe'), 319 elementToUse: document.createElement('iframe'),
320 attributes: [ 320 attributes: [
321 {name: 'align', expectedNull: 'null'}, 321 {name: 'align', expectedNull: 'null'},
322 {name: 'frameBorder', expectedNull: 'null'}, 322 {name: 'frameBorder', expectedNull: 'null'},
323 {name: 'height', expectedNull: 'null'}, 323 {name: 'height', expectedNull: 'null'},
324 {name: 'longDesc', expectedNull: 'null', isUrl: true}, 324 {name: 'longDesc', expectedNull: 'null', isUrl: true},
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 printOut(''); 716 printOut('');
717 } 717 }
718 } 718 }
719 </script> 719 </script>
720 </head> 720 </head>
721 <body onload="runTests()"> 721 <body onload="runTests()">
722 <p>This test setting various attributes of a elements to JavaScript null.</p > 722 <p>This test setting various attributes of a elements to JavaScript null.</p >
723 <div id="console"></div> 723 <div id="console"></div>
724 </body> 724 </body>
725 </html> 725 </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