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

Unified Diff: third_party/WebKit/LayoutTests/editing/execCommand/insert-list-items-inside-another-list-expected.txt

Issue 2757563004: Adjust insertion point when listifying unordered list items (Closed)
Patch Set: Added regression test. Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/editing/execCommand/insert-list-items-inside-another-list-expected.txt
diff --git a/third_party/WebKit/LayoutTests/editing/execCommand/insert-list-items-inside-another-list-expected.txt b/third_party/WebKit/LayoutTests/editing/execCommand/insert-list-items-inside-another-list-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6c36e8634dcdb4011160448375bc2ed3bad26f6c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/editing/execCommand/insert-list-items-inside-another-list-expected.txt
@@ -0,0 +1,43 @@
+Test to make sure inserting an ordered/unordered list inside another list works
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Select 1 node
+
+PASS <ul><li id="first">hello</li><li>world</li><li>WebKit</li></ul>
+ got:<ol><li>hello</li></ol><ul><li>world</li><li>WebKit</li></ul>
+
+PASS <ul><li>hello</li><li id="first">world</li><li>WebKit</li></ul>
+ got:<ul><li>hello</li></ul><ol><li>world</li></ol><ul><li>WebKit</li></ul>
+
+PASS <ul><li>hello</li><li>world</li><li id="first">WebKit</li></ul>
+ got:<ul><li>hello</li><li>world</li></ul><ol><li>WebKit</li></ol>
+
+PASS <ol><li id="first">hello</li><li>world</li><li>WebKit</li></ol>
+ got:<ul><li>hello</li></ul><ol><li>world</li><li>WebKit</li></ol>
+
+PASS <ol><li>hello</li><li id="first">world</li><li>WebKit</li></ol>
+ got:<ol><li>hello</li></ol><ul><li>world</li></ul><ol><li>WebKit</li></ol>
+
+PASS <ol><li>hello</li><li>world</li><li id="first">WebKit</li></ol>
+ got:<ol><li>hello</li><li>world</li></ol><ul><li>WebKit</li></ul>
+
+Select 2 nodes
+
+PASS <ul><li id="first">hello</li><li id="second">world</li><li>WebKit</li></ul>
+ got:<ol><li>hello</li><li>world</li></ol><ul><li>WebKit</li></ul>
+
+PASS <ul><li>hello</li><li id="first">world</li><li id="second">WebKit</li></ul>
+ got:<ul><li>hello</li></ul><ol><li>world</li><li id="second">WebKit</li></ol>
+
+PASS <ol><li id="first">hello</li><li id="second">world</li><li>WebKit</li></ol>
+ got:<ul><li>hello</li><li>world</li></ul><ol><li>WebKit</li></ol>
+
+PASS <ol><li>hello</li><li id="first">world</li><li id="second">WebKit</li></ol>
+ got:<ol><li>hello</li></ol><ul><li>world</li><li id="second">WebKit</li></ul>
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698