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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/execCommand/remove-format-multiple-elements-mac-expected.txt

Issue 2193033004: Restore the collapsed spaces of the text when we copy it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test fails Created 4 years, 4 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 This tests removing multiple elements by RemoveFormat command. 1 This tests removing multiple elements by RemoveFormat command.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS RemoveFormat on all of "hello" yields "hello" 6 PASS RemoveFormat on all of "hello" yields "hello"
7 PASS RemoveFormat on all of "<i>hello</i> <u>world</u>" yields "hello world" 7 PASS RemoveFormat on all of "<i>hello</i> <u>world</u>" yields "hello world"
8 PASS RemoveFormat on all of "<b><u>hello</u> world</b> <a href="http://webkit.or g/"><em>WebKit</em></a>" yields "hello world <a href="http://webkit.org/">WebKit </a>" 8 PASS RemoveFormat on all of "<b><u>hello</u> world</b> <a href="http://webkit.or g/"><em>WebKit</em></a>" yields "hello world <a href="http://webkit.org/">WebKit </a>"
9 PASS RemoveFormat on second word of "<b><u>hello</u> world</b> <a href="http://w ebkit.org/"><em>WebKit</em></a>" yields "<b><u>hello</u> </b>world <a href="http ://webkit.org/"><em>WebKit</em></a>" 9 PASS RemoveFormat on second word of "<b><u>hello</u> world</b> <a href="http://w ebkit.org/"><em>WebKit</em></a>" yields "<b><u>hello</u> </b>world <a href="http ://webkit.org/"><em>WebKit</em></a>"
10 PASS RemoveFormat on second word of "<sub><tt>hello world WebKit</tt></sub>" yie lds "<sub><tt>hello </tt></sub>world<sub><tt> WebKit</tt></sub>" 10 PASS RemoveFormat on second word of "<sub><tt>hello world WebKit</tt></sub>" yie lds "<sub><tt>hello </tt></sub>world<sub><tt> WebKit</tt></sub>"
11 PASS RemoveFormat on second word of "<q><ins><var>hello wor</var>ld</ins> WebKit </q>" yields "<q><ins><var>hello </var></ins></q>world<q> WebKit</q>" 11 PASS RemoveFormat on second word of "<q><ins><var>hello wor</var>ld</ins> WebKit </q>" yields "<q><ins><var>hello </var></ins></q>world<q> WebKit</q>"
12 PASS RemoveFormat on last word of "<b>hello <dfn>world <kbd>WebKit</kbd></dfn></ b>" yields "<b>hello <dfn>world </dfn></b>WebKit" 12 PASS RemoveFormat on last word of "<b>hello <dfn>world <kbd>WebKit</kbd></dfn></ b>" yields "<b>hello <dfn>world </dfn></b>WebKit"
13 PASS RemoveFormat on second word of "<b>hello <dfn>world <kbd>WebKit</kbd></dfn> </b>" yields "<b>hello </b>world<b><dfn> <kbd>WebKit</kbd></dfn></b>" 13 PASS RemoveFormat on second word of "<b>hello <dfn>world <kbd>WebKit</kbd></dfn> </b>" yields "<b>hello </b>world <b><dfn><kbd>WebKit</kbd></dfn></b>"
14 PASS RemoveFormat on first two words of "<code>hello <strong>world WebKit</storn g></code>" yields "hello world<code><strong> WebKit</strong></code>" 14 PASS RemoveFormat on first two words of "<code>hello <strong>world WebKit</storn g></code>" yields "hello world<code><strong> WebKit</strong></code>"
15 PASS RemoveFormat on first two words of "<acronym><tt><mark><samp>hello</samp></ mark> world <sub>WebKit</sub></tt></acronym>" yields "<mark>hello</mark> world<a cronym><tt> <sub>WebKit</sub></tt></acronym>" 15 PASS RemoveFormat on first two words of "<acronym><tt><mark><samp>hello</samp></ mark> world <sub>WebKit</sub></tt></acronym>" yields "<mark>hello</mark> world < acronym><tt><sub>WebKit</sub></tt></acronym>"
16 PASS RemoveFormat on last two words of "<b><div>hello world</div></b><div>WebKit </div>" yields "<div><b>hello </b>world</div><div>WebKit</div>" 16 PASS RemoveFormat on last two words of "<b><div>hello world</div></b><div>WebKit </div>" yields "<div><b>hello </b>world</div><div>WebKit</div>"
17 PASS RemoveFormat on last two words of "<q><b><div>hello world</div></b>WebKit</ q>" yields "<div><q><b>hello </b></q>world</div>WebKit" 17 PASS RemoveFormat on last two words of "<q><b><div>hello world</div></b>WebKit</ q>" yields "<div><q><b>hello </b></q>world</div>WebKit"
18 PASS RemoveFormat on second word of "<q><b><div>hello world</div></b>WebKit</q>" yields "<div><q><b>hello </b></q>world</div><q>WebKit</q>" 18 PASS RemoveFormat on second word of "<q><b><div>hello world</div></b>WebKit</q>" yields "<div><q><b>hello </b></q>world</div><q>WebKit</q>"
19 PASS RemoveFormat on first line of "<b><div>hello</div>webkit</b>" yields "<div> hello</div><b>webkit</b>" 19 PASS RemoveFormat on first line of "<b><div>hello</div>webkit</b>" yields "<div> hello</div><b>webkit</b>"
20 PASS RemoveFormat on all of "<i style="font-weight:bold;">hello</i> <u>world</u> " yields "hello world" 20 PASS RemoveFormat on all of "<i style="font-weight:bold;">hello</i> <u>world</u> " yields "hello world"
21 PASS RemoveFormat on second word of "<font color="red"><b style="font-size: larg e;"><u>hello</u> world</b> WebKit</font>" yields "<font color="red"><b style="fo nt-size: large;"><u>hello</u> </b></font>world<font color="red"> WebKit</font>" 21 PASS RemoveFormat on second word of "<font color="red"><b style="font-size: larg e;"><u>hello</u> world</b> WebKit</font>" yields "<font color="red"><b style="fo nt-size: large;"><u>hello</u> </b></font>world<font color="red"> WebKit</font>"
22 PASS RemoveFormat on second word of "<font size="5"><i><u style="font-size: smal l;">hello</u> world</i><font size="3"> WebKit</font></font>" yields "<font size= "5"><i><u style="font-size: small;">hello</u> </i></font>world<font size="5"><fo nt size="3"> WebKit</font></font>" 22 PASS RemoveFormat on second word of "<font size="5"><i><u style="font-size: smal l;">hello</u> world</i><font size="3"> WebKit</font></font>" yields "<font size= "5"><i><u style="font-size: small;">hello</u> </i></font>world<font size="5"><fo nt size="3"> WebKit</font></font>"
23 PASS RemoveFormat on second word of "<sup><div style="text-decoration-line: unde rline; font-size: large;">hello <dfn style="font-size: normal;">world</dfn></div > WebKit</sup>" yields "<div><sup><font size="4"><u>hello </u></font></sup>world </div><sup> WebKit</sup>" 23 PASS RemoveFormat on second word of "<sup><div style="text-decoration-line: unde rline; font-size: large;">hello <dfn style="font-size: normal;">world</dfn></div > WebKit</sup>" yields "<div><sup><font size="4"><u>hello </u></font></sup>world </div><sup> WebKit</sup>"
24 PASS successfullyParsed is true 24 PASS successfullyParsed is true
25 25
26 TEST COMPLETE 26 TEST COMPLETE
27 27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698