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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/execCommand/insertNewLineInQuotedContent-outside-quote.html

Issue 2750533007: Let insertNewLineInQuotedContent not do anything out of a quote element (Closed)
Patch Set: update 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <script src="../assert_selection.js"></script>
5 <script>
6 test(() => {
7 assert_selection(
8 '^foo<svg></svg>|',
9 selection => {
10 const document = selection.document;
11 document.designMode = "on";
yosin_UTC9 2017/03/17 09:27:02 nit: s/"on"/'on'/
yoichio 2017/03/21 03:48:07 Done.
12 document.execCommand('InsertNewlineInQuotedContent');
13 },
14 '^foo|<svg></svg>');
15 }, 'InsertNewlineInQuotedContent outside of quote element should not do nothing' );
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698