 Chromium Code Reviews
 Chromium Code Reviews Issue 177093016:
  Fix crash in ApplyStyleCommand::applyRelativeFontStyleChange()  (Closed) 
  Base URL: svn://svn.chromium.org/blink/trunk
    
  
    Issue 177093016:
  Fix crash in ApplyStyleCommand::applyRelativeFontStyleChange()  (Closed) 
  Base URL: svn://svn.chromium.org/blink/trunk| OLD | NEW | 
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <script> | |
| 4 if (window.testRunner) { | |
| 5 testRunner.dumpAsText(); | |
| 6 testRunner.waitUntilDone(); | |
| 7 } | |
| 8 | |
| 9 onload = function() { | |
| 10 var tests = [ | |
| 11 "el0=document.createElement('input');", | |
| 
leviw_travelin_and_unemployed
2014/02/25 18:45:36
This could be further minimized. Can you spend som
 
Inactive
2014/02/25 20:38:55
Done. Please let me know if the test is good enoug
 | |
| 12 "el1=document.createElement('canvas');", | |
| 13 "el2=document.createElement('select');", | |
| 14 "el3=document.createElement('li'); if(!el1.parentNode) { document.body.appendC hild(el1) }; el1.parentNode.insertBefore(el3, el1); ", | |
| 15 "el4=document.createElement('thead'); el3.appendChild(el4); ", | |
| 16 "el5=document.createElement('video'); el4.parentNode.insertBefore(el5, el4); " , | |
| 17 "el6=document.createElement('canvas');", | |
| 18 "el7=document.createElement('input'); ", | |
| 19 "el8=document.createElement('form'); el4.appendChild(el8); ", | |
| 20 "el9=document.createElement('input'); ", | |
| 21 "el11=document.createElement('script'); document.body.appendChild(el11);", | |
| 22 "el12=document.createElement('ruby'); el0.appendChild(el12); ", | |
| 23 "document.designMode='on'; window.getSelection().setBaseAndExtent(el8, 2); doc ument.designMode='off'", | |
| 24 "el13=document.createElement('textarea'); el12.parentNode.replaceChild(el13, e l12);", | |
| 25 "el14=document.createElement('header'); ", | |
| 26 "el15=document.createElement('rp');", | |
| 27 "el18=document.createElement('input'); el4.parentNode.insertBefore(el18, el4); ", | |
| 28 "document.implementation.createDocument('' ,'' ,null).adoptNode(el15)", | |
| 29 "document.designMode='on'; window.getSelection().setBaseAndExtent(el6, 2, el11 , 4); document.designMode='off'", | |
| 30 "window.getSelection().modify('extend', 'backward', 'character')", | |
| 31 "try { el3.innerHTML=el14.valueAsDate; } catch(e){}", | |
| 32 "document.designMode='on'; window.getSelection().setBaseAndExtent(el13, 2, el1 5, 1); document.execCommand('FontSizeDelta', false, '-1px'); document.designMode ='off'", | |
| 33 ]; | |
| 34 | |
| 35 function nextTest() { | |
| 36 for (var i = 0; i < 15; i++) { | |
| 37 var test = tests.shift(); | |
| 38 if (!test) { | |
| 39 if (window.testRunner) | |
| 40 testRunner.notifyDone() | |
| 41 return; | |
| 42 } | |
| 43 eval(test); | |
| 44 }; | |
| 45 setTimeout(nextTest, 0); | |
| 46 } | |
| 47 | |
| 48 setTimeout(nextTest, 0) | |
| 49 } | |
| 50 </script> | |
| 51 </html> | |
| OLD | NEW |