Not possible to remove the 'li' element inside the table cell
[WebKit-https.git] / Source / WebCore / ChangeLog
index 17bfdd858c6d3beae92423b322cd26f94ff0ddd8..72ec0b8176afa4e354f1526f4f40e1e5a9225cdf 100644 (file)
@@ -1,3 +1,26 @@
+2017-08-08  Javier Fernandez  <jfernandez@igalia.com>
+
+        Not possible to remove the 'li' element inside the table cell
+        https://bugs.webkit.org/show_bug.cgi?id=173148
+
+        Reviewed by Ryosuke Niwa.
+
+        We need to add a new case for breaking out empty list items when they are
+        at the start of an editable area. Since list items can be also inside
+        table cells, we need to consider this kind of elements as well.
+
+        Tests: editing/deleting/delete-list-items-in-table-cell-1.html
+               editing/deleting/delete-list-items-in-table-cell-2.html
+               editing/deleting/delete-list-items-in-table-cell-3.html
+               editing/deleting/delete-list-items-in-table-cell-4.html
+               editing/deleting/delete-list-items-in-table-cell-5.html
+               editing/deleting/delete-list-items-in-table-cell-6.html
+               editing/deleting/delete-list-items-in-table-cell-7.html
+               editing/deleting/delete-list-items-in-table-cell-8.html
+
+        * editing/TypingCommand.cpp:
+        (WebCore::TypingCommand::deleteKeyPressed):
+
 2017-08-08  Zan Dobersek  <zdobersek@igalia.com>
 
         [TexMap] Isolate the TextureMapperPlatformLayerProxyProvider class