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

Unified Diff: third_party/WebKit/LayoutTests/editing/execCommand/insert-list-and-strikethrough.html

Issue 2532873002: Get rid of wrong assumption in reconcileTextDecorationProperties() (Closed)
Patch Set: 2016-11-28T18:40:32 Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/EditingStyle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/execCommand/insert-list-and-strikethrough.html
diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/insert-list-and-strikethrough.html b/third_party/WebKit/LayoutTests/editing/execCommand/insert-list-and-strikethrough.html
new file mode 100644
index 0000000000000000000000000000000000000000..6fc0ca860aa0edf0ad3e61f98a461495a5233ced
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/editing/execCommand/insert-list-and-strikethrough.html
@@ -0,0 +1,29 @@
+<!doctype html>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script src="../assert_selection.js"></script>
+<script>
+test(() => assert_selection(
+ [
+ '<div contenteditable>',
+ '<strike>^Female</strike>',
+ '<dl><strike>DT element</strike></dl>',
+ '<strike><br></strike>',
+ '<hr>|',
+ '</div>'
+ ].join(''),
+ 'insertOrderedList',
+ [
+ '<div contenteditable>',
+ '<ol><li><strike>^Female</strike></li></ol>',
+ '<dl>',
+ '<ol>',
+ '<ul><strike>DT element</strike></ul>',
+ '<li><strike><br></strike></li>',
+ '<li><hr>|</li>',
+ '</ol>',
+ '</dl>',
+ '</div>'
+ ].join('')),
+ 'insertOrderedList with STRIKE, DL, and HR');
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/EditingStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698