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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/execCommand/toggle-compound-styles-expected.txt

Issue 2800723002: Ensure we never remove the style attribute when syncing it from CSSOM. (Closed)
Patch Set: Nits Created 3 years, 8 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 Test to make sure we can toggle text decorations correctly. The first three test s give different result on mac only. 1 Test to make sure we can toggle text decorations correctly. The first three test s give different result on mac only.
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 Platform: mac 6 Platform: mac
7 PASS one bold command converted "<u><b>hello</b> world</u>" to "<u>hello world</ u> 7 PASS one bold command converted "<u><b>hello</b> world</u>" to "<u>hello world</ u>
8 PASS one bold command converted "<b>hello </b>world" to "hello world 8 PASS one bold command converted "<b>hello </b>world" to "hello world
9 PASS one bold command converted "<u><b>hello </b></u>world" to "<u>hello </u>wor ld 9 PASS one bold command converted "<u><b>hello </b></u>world" to "<u>hello </u>wor ld
10 PASS one italic command converted "<i>hello</i> <img>" to "hello <img> 10 PASS one italic command converted "<i>hello</i> <img>" to "hello <img>
11 PASS one bold command converted "<u><span id='test'><b>hello</b></span><b>world< /b></u>" to "<u><span id="test">hello</span>world</u> 11 PASS one bold command converted "<u><span id='test'><b>hello</b></span><b>world< /b></u>" to "<u><span id="test">hello</span>world</u>
12 PASS one bold command converted "<span id='test' style='font-weight:normal;'><b> hello</b></span>" to "<span id="test">hello</span> 12 PASS one bold command converted "<span id='test' style='font-weight:normal;'><b> hello</b></span>" to "<span id="test" style="">hello</span>
13 PASS one bold command converted "<div><b>hello</b><br><br><b>world</b></div>" to "<div>hello<br><br>world</div> 13 PASS one bold command converted "<div><b>hello</b><br><br><b>world</b></div>" to "<div>hello<br><br>world</div>
14 PASS one italic command converted "<i>hello </i><img>" to "hello <img> 14 PASS one italic command converted "<i>hello </i><img>" to "hello <img>
15 PASS one italic command converted "<i><b>hello</b>world</i>" to "<b>hello</b>wor ld 15 PASS one italic command converted "<i><b>hello</b>world</i>" to "<b style="">hel lo</b>world
16 PASS one italic command converted "<span style='font-style: normal;'> <i> hello </i> </span>" to " hello 16 PASS one italic command converted "<span style='font-style: normal;'> <i> hello </i> </span>" to " hello
17 PASS one italic command converted "<p><i>hello</i><span style='font-style:italic ;'>world</span></p>" to "<p>helloworld</p> 17 PASS one italic command converted "<p><i>hello</i><span style='font-style:italic ;'>world</span></p>" to "<p>helloworld</p>
18 PASS one italic command converted "<s><b>hello<i> world</i></b></s>" to "<s><b>< i>hello world</i></b></s> 18 PASS one italic command converted "<s><b>hello<i> world</i></b></s>" to "<s><b>< i>hello world</i></b></s>
19 19
20 Platform: win 20 Platform: win
21 PASS one bold command converted "<u><b>hello</b> world</u>" to "<u><b>hello worl d</b></u> 21 PASS one bold command converted "<u><b>hello</b> world</u>" to "<u><b>hello worl d</b></u>
22 PASS one bold command converted "<b>hello </b>world" to "<b>hello world</b> 22 PASS one bold command converted "<b>hello </b>world" to "<b>hello world</b>
23 PASS one bold command converted "<u><b>hello </b></u>world" to "<b><u>hello </u> world</b> 23 PASS one bold command converted "<u><b>hello </b></u>world" to "<b><u>hello </u> world</b>
24 PASS one italic command converted "<i>hello</i> <img>" to "<i>hello <img></i> 24 PASS one italic command converted "<i>hello</i> <img>" to "<i>hello <img></i>
25 PASS one bold command converted "<u><span id='test'><b>hello</b></span><b>world< /b></u>" to "<u><span id="test">hello</span>world</u> 25 PASS one bold command converted "<u><span id='test'><b>hello</b></span><b>world< /b></u>" to "<u><span id="test">hello</span>world</u>
26 PASS one bold command converted "<span id='test' style='font-weight:normal;'><b> hello</b></span>" to "<span id="test">hello</span> 26 PASS one bold command converted "<span id='test' style='font-weight:normal;'><b> hello</b></span>" to "<span id="test" style="">hello</span>
27 PASS one bold command converted "<div><b>hello</b><br><br><b>world</b></div>" to "<div>hello<br><br>world</div> 27 PASS one bold command converted "<div><b>hello</b><br><br><b>world</b></div>" to "<div>hello<br><br>world</div>
28 PASS one italic command converted "<i>hello </i><img>" to "hello <img> 28 PASS one italic command converted "<i>hello </i><img>" to "hello <img>
29 PASS one italic command converted "<i><b>hello</b>world</i>" to "<b>hello</b>wor ld 29 PASS one italic command converted "<i><b>hello</b>world</i>" to "<b style="">hel lo</b>world
30 PASS one italic command converted "<span style='font-style: normal;'> <i> hello </i> </span>" to " hello 30 PASS one italic command converted "<span style='font-style: normal;'> <i> hello </i> </span>" to " hello
31 PASS one italic command converted "<p><i>hello</i><span style='font-style:italic ;'>world</span></p>" to "<p>helloworld</p> 31 PASS one italic command converted "<p><i>hello</i><span style='font-style:italic ;'>world</span></p>" to "<p>helloworld</p>
32 PASS one italic command converted "<s><b>hello<i> world</i></b></s>" to "<s><b>< i>hello world</i></b></s> 32 PASS one italic command converted "<s><b>hello<i> world</i></b></s>" to "<s><b>< i>hello world</i></b></s>
33 33
34 Platform: unix 34 Platform: unix
35 PASS one bold command converted "<u><b>hello</b> world</u>" to "<u><b>hello worl d</b></u> 35 PASS one bold command converted "<u><b>hello</b> world</u>" to "<u><b>hello worl d</b></u>
36 PASS one bold command converted "<b>hello </b>world" to "<b>hello world</b> 36 PASS one bold command converted "<b>hello </b>world" to "<b>hello world</b>
37 PASS one bold command converted "<u><b>hello </b></u>world" to "<b><u>hello </u> world</b> 37 PASS one bold command converted "<u><b>hello </b></u>world" to "<b><u>hello </u> world</b>
38 PASS one italic command converted "<i>hello</i> <img>" to "<i>hello <img></i> 38 PASS one italic command converted "<i>hello</i> <img>" to "<i>hello <img></i>
39 PASS one bold command converted "<u><span id='test'><b>hello</b></span><b>world< /b></u>" to "<u><span id="test">hello</span>world</u> 39 PASS one bold command converted "<u><span id='test'><b>hello</b></span><b>world< /b></u>" to "<u><span id="test">hello</span>world</u>
40 PASS one bold command converted "<span id='test' style='font-weight:normal;'><b> hello</b></span>" to "<span id="test">hello</span> 40 PASS one bold command converted "<span id='test' style='font-weight:normal;'><b> hello</b></span>" to "<span id="test" style="">hello</span>
41 PASS one bold command converted "<div><b>hello</b><br><br><b>world</b></div>" to "<div>hello<br><br>world</div> 41 PASS one bold command converted "<div><b>hello</b><br><br><b>world</b></div>" to "<div>hello<br><br>world</div>
42 PASS one italic command converted "<i>hello </i><img>" to "hello <img> 42 PASS one italic command converted "<i>hello </i><img>" to "hello <img>
43 PASS one italic command converted "<i><b>hello</b>world</i>" to "<b>hello</b>wor ld 43 PASS one italic command converted "<i><b>hello</b>world</i>" to "<b style="">hel lo</b>world
44 PASS one italic command converted "<span style='font-style: normal;'> <i> hello </i> </span>" to " hello 44 PASS one italic command converted "<span style='font-style: normal;'> <i> hello </i> </span>" to " hello
45 PASS one italic command converted "<p><i>hello</i><span style='font-style:italic ;'>world</span></p>" to "<p>helloworld</p> 45 PASS one italic command converted "<p><i>hello</i><span style='font-style:italic ;'>world</span></p>" to "<p>helloworld</p>
46 PASS one italic command converted "<s><b>hello<i> world</i></b></s>" to "<s><b>< i>hello world</i></b></s> 46 PASS one italic command converted "<s><b>hello<i> world</i></b></s>" to "<s><b>< i>hello world</i></b></s>
47 47
48 Platform: android 48 Platform: android
49 PASS one bold command converted "<u><b>hello</b> world</u>" to "<u><b>hello worl d</b></u> 49 PASS one bold command converted "<u><b>hello</b> world</u>" to "<u><b>hello worl d</b></u>
50 PASS one bold command converted "<b>hello </b>world" to "<b>hello world</b> 50 PASS one bold command converted "<b>hello </b>world" to "<b>hello world</b>
51 PASS one bold command converted "<u><b>hello </b></u>world" to "<b><u>hello </u> world</b> 51 PASS one bold command converted "<u><b>hello </b></u>world" to "<b><u>hello </u> world</b>
52 PASS one italic command converted "<i>hello</i> <img>" to "<i>hello <img></i> 52 PASS one italic command converted "<i>hello</i> <img>" to "<i>hello <img></i>
53 PASS one bold command converted "<u><span id='test'><b>hello</b></span><b>world< /b></u>" to "<u><span id="test">hello</span>world</u> 53 PASS one bold command converted "<u><span id='test'><b>hello</b></span><b>world< /b></u>" to "<u><span id="test">hello</span>world</u>
54 PASS one bold command converted "<span id='test' style='font-weight:normal;'><b> hello</b></span>" to "<span id="test">hello</span> 54 PASS one bold command converted "<span id='test' style='font-weight:normal;'><b> hello</b></span>" to "<span id="test" style="">hello</span>
55 PASS one bold command converted "<div><b>hello</b><br><br><b>world</b></div>" to "<div>hello<br><br>world</div> 55 PASS one bold command converted "<div><b>hello</b><br><br><b>world</b></div>" to "<div>hello<br><br>world</div>
56 PASS one italic command converted "<i>hello </i><img>" to "hello <img> 56 PASS one italic command converted "<i>hello </i><img>" to "hello <img>
57 PASS one italic command converted "<i><b>hello</b>world</i>" to "<b>hello</b>wor ld 57 PASS one italic command converted "<i><b>hello</b>world</i>" to "<b style="">hel lo</b>world
58 PASS one italic command converted "<span style='font-style: normal;'> <i> hello </i> </span>" to " hello 58 PASS one italic command converted "<span style='font-style: normal;'> <i> hello </i> </span>" to " hello
59 PASS one italic command converted "<p><i>hello</i><span style='font-style:italic ;'>world</span></p>" to "<p>helloworld</p> 59 PASS one italic command converted "<p><i>hello</i><span style='font-style:italic ;'>world</span></p>" to "<p>helloworld</p>
60 PASS one italic command converted "<s><b>hello<i> world</i></b></s>" to "<s><b>< i>hello world</i></b></s> 60 PASS one italic command converted "<s><b>hello<i> world</i></b></s>" to "<s><b>< i>hello world</i></b></s>
61 61
62 PASS successfullyParsed is true 62 PASS successfullyParsed is true
63 63
64 TEST COMPLETE 64 TEST COMPLETE
65 65
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698