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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/selection/table-caret-3.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 <script> 1 <script>
2 if (window.testRunner) 2 if (window.testRunner)
3 testRunner.dumpEditingCallbacks(); 3 testRunner.dumpEditingCallbacks();
4 </script> 4 </script>
5 <style> 5 <style>
6 table, td { 6 table, td {
7 border: 1px solid #999; 7 border: 1px solid #999;
8 } 8 }
9 </style> 9 </style>
10 10
11 <p>This tests the caret position for the caret after an inline table.</p> 11 <p>This tests the caret position for the caret after an inline table.</p>
12 12
13 <div contenteditable="true">foo<table style="display:inline" id="test"><tr><td>t his</td></tr><tr><td>is</td></tr><tr><td>a table</td></tr></table>baz</div> 13 <div contenteditable="true">foo<table style="display:inline-table" id="test"><tr ><td>this</td></tr><tr><td>is</td></tr><tr><td>a table</td></tr></table>baz</div >
14 14
15 <script> 15 <script>
16 var s = window.getSelection(); 16 var s = window.getSelection();
17 var e = document.getElementById("test"); 17 var e = document.getElementById("test");
18 18
19 s.collapse(e, e.childNodes.length); 19 s.collapse(e, e.childNodes.length);
20 </script> 20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698