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

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

Issue 133703002: Compatible handling of the form.autocomplete IDL attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 {name: 'face', expectedNull: 'null'}, 246 {name: 'face', expectedNull: 'null'},
247 {name: 'size', expectedNull: 'null'} 247 {name: 'size', expectedNull: 'null'}
248 ] 248 ]
249 }, 249 },
250 { 250 {
251 type: 'HTMLFormElement', 251 type: 'HTMLFormElement',
252 elementToUse: document.createElement('form'), 252 elementToUse: document.createElement('form'),
253 attributes: [ 253 attributes: [
254 {name: 'acceptCharset', expectedNull: 'null'}, 254 {name: 'acceptCharset', expectedNull: 'null'},
255 {name: 'action', expectedNull: 'null', isUrl: true}, 255 {name: 'action', expectedNull: 'null', isUrl: true},
256 {name: 'autocomplete', expectedNull: 'null'}, 256 {name: 'autocomplete', expectedNull: 'on'},
257 {name: 'enctype', expectedNull: 'application/x-www-form- urlencoded'}, 257 {name: 'enctype', expectedNull: 'application/x-www-form- urlencoded'},
258 {name: 'encoding', expectedNull: 'application/x-www-form -urlencoded'}, 258 {name: 'encoding', expectedNull: 'application/x-www-form -urlencoded'},
259 {name: 'method', expectedNull: 'get'}, 259 {name: 'method', expectedNull: 'get'},
260 {name: 'name', expectedNull: 'null'}, 260 {name: 'name', expectedNull: 'null'},
261 {name: 'target', expectedNull: 'null'} 261 {name: 'target', expectedNull: 'null'}
262 ] 262 ]
263 }, 263 },
264 { 264 {
265 type: 'HTMLFrameElement', 265 type: 'HTMLFrameElement',
266 elementToUse: document.createElement('frame'), 266 elementToUse: document.createElement('frame'),
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 printOut(''); 719 printOut('');
720 } 720 }
721 } 721 }
722 </script> 722 </script>
723 </head> 723 </head>
724 <body onload="runTests()"> 724 <body onload="runTests()">
725 <p>This test setting various attributes of a elements to JavaScript null.</p > 725 <p>This test setting various attributes of a elements to JavaScript null.</p >
726 <div id="console"></div> 726 <div id="console"></div>
727 </body> 727 </body>
728 </html> 728 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/element-attribute-js-null-expected.txt » ('j') | LayoutTests/fast/forms/autocomplete.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698