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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/execCommand/insertHTML.html

Issue 1607703003: Don't force display:inline-table/table on table elements when in quirks mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 <script src=../editing.js language="JavaScript" type="text/JavaScript"></script> 3 <script src=../editing.js language="JavaScript" type="text/JavaScript"></script>
4 <script> 4 <script>
5 5
6 if (window.testRunner) 6 if (window.testRunner)
7 window.testRunner.dumpAsText(); 7 window.testRunner.dumpAsText();
8 8
9 function log(message) { 9 function log(message) {
10 var console = document.getElementById("console"); 10 var console = document.getElementById("console");
(...skipping 11 matching lines...) Expand all
22 deleteCommand(); 22 deleteCommand();
23 insertHTMLCommand(html); 23 insertHTMLCommand(html);
24 24
25 log(d.innerHTML); 25 log(d.innerHTML);
26 } 26 }
27 </script> 27 </script>
28 </head> 28 </head>
29 29
30 <body> 30 <body>
31 <p>This is a test of execCommand(insertHTML, ...). The contents of the editable div below should be the same before and after the test.</p> 31 <p>This is a test of execCommand(insertHTML, ...). The contents of the editable div below should be the same before and after the test.</p>
32 <div id="test" contenteditable="true">hello<table style="display:inline" border= 1><tr><td>1</td><td>2</td></tr></table><b>world</b>!</div> 32 <div id="test" contenteditable="true">hello<table style="display:inline-table" b order=1><tr><td>1</td><td>2</td></tr></table><b>world</b>!</div>
33 <ul id="console"></ul> 33 <ul id="console"></ul>
34 <script> 34 <script>
35 runEditingTest(); 35 runEditingTest();
36 </script> 36 </script>
37 </body> 37 </body>
38 38
39 </html> 39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698