Ticket #3036: 3036.patch
File 3036.patch, 1.7 KB (added by , 15 years ago) |
---|
-
_source/core/htmlparser.js
18 18 19 19 (function() 20 20 { 21 var attribsRegex = /([\w:]+) \s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+))?/g,21 var attribsRegex = /([\w:]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g, 22 22 emptyAttribs = {checked:1,compact:1,declare:1,defer:1,disabled:1,ismap:1,multiple:1,nohref:1,noresize:1,noshade:1,nowrap:1,readonly:1,selected:1}; 23 23 24 24 CKEDITOR.htmlParser.prototype = -
_source/tests/plugins/htmldataprocessor/htmldataprocessor.html
90 90 assert.areSame( '<p class="MsoNormal"><b><i><span lang="EN-US"><o:p>Test</o:p></span></i></b></p>', getDataProcessor().toDataFormat( element.getHtml() ) ); 91 91 }, 92 92 93 test_toDataFormat_ticket_3036_1 : function() 94 { 95 assert.areSame( '<input autocomplete="off" checked="checked" type="checkbox" />', 96 getDataProcessor().toDataFormat( '<INPUT type="checkbox" CHECKED autocomplete=off>' ) ); 97 }, 98 99 test_toDataFormat_ticket_3036_2 : function() 100 { 101 assert.areSame( '<input autocomplete="off" type="checkbox" unknown="" />', 102 getDataProcessor().toDataFormat( '<INPUT type="checkbox" UNKNOWN autocomplete=off>' ) ); 103 }, 104 93 105 name : document.title 94 106 }; 95 107 })() ); 96 108 109 //window.onload = function() 110 //{ 111 // testCase.test_toDataFormat_ticket_3036(); 112 //} 113 97 114 //]]> 98 115 </script> 99 116 </head>