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

Side by Side Diff: LayoutTests/editing/style/push-down-font-styles-expected.txt

Issue 7973008: Revert 93001 - Apple-style-span class seems unnecessary (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 3 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 push down inline styles properly. 1 Test to make sure we push down inline styles properly.
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 Font size 6 Font size
7 PASS fontsize 2 on all of "hello world" yields "<font size="2">hello world</font >" 7 PASS fontsize 2 on all of "hello world" yields "<font class="Apple-style-span" s ize="2">hello world</font>"
8 PASS fontsize 4 on all of "hello world" yields "<font size="4">hello world</font >" 8 PASS fontsize 4 on all of "hello world" yields "<font class="Apple-style-span" s ize="4">hello world</font>"
9 PASS fontsize 5 on first word of "hello world" yields "<font size="5">hello</fon t> world" 9 PASS fontsize 5 on first word of "hello world" yields "<font class="Apple-style- span" size="5">hello</font> world"
10 PASS fontsize 3 on first word of "<font size="7">hello <div>world</div></font>" yields "hello <div style="font-size: -webkit-xxx-large; ">world</div>" 10 PASS fontsize 3 on first word of "<font size="7">hello <div>world</div></font>" yields "hello <div style="font-size: -webkit-xxx-large; ">world</div>"
11 PASS fontsize 3 on first word of "<font size="7"><div>hello</div><div>world</div ></font>" yields "<div>hello</div><div style="font-size: -webkit-xxx-large; ">wo rld</div>" 11 PASS fontsize 3 on first word of "<font size="7"><div>hello</div><div>world</div ></font>" yields "<div>hello</div><div style="font-size: -webkit-xxx-large; ">wo rld</div>"
12 PASS fontsize 3 on second word of "<font size="7"><div>hello</div>world</font>" yields "<div style="font-size: -webkit-xxx-large; ">hello</div>world" 12 PASS fontsize 3 on second word of "<font size="7"><div>hello</div>world</font>" yields "<div style="font-size: -webkit-xxx-large; ">hello</div>world"
13 PASS fontsize 7 on all of "<font size="7"><div>hello</div>world</font>" yields " <font size="7"><div>hello</div>world</font>" 13 PASS fontsize 7 on all of "<font size="7"><div>hello</div>world</font>" yields " <font size="7"><div>hello</div>world</font>"
14 PASS fontsize 7 on all of "<font size="3"><div>hello</div>world</font>" yields " <div><font size="7">hello</font></div><font size="7">world</font>" 14 PASS fontsize 7 on all of "<font size="3"><div>hello</div>world</font>" yields " <div><font class="Apple-style-span" size="7">hello</font></div><font class="Appl e-style-span" size="7">world</font>"
15 PASS fontsize 6 on all of "<font size="7"><div>hello</div>world</font>" yields " <div><font size="6">hello</font></div><font size="6">world</font>" 15 PASS fontsize 6 on all of "<font size="7"><div>hello</div>world</font>" yields " <div><font class="Apple-style-span" size="6">hello</font></div><font class="Appl e-style-span" size="6">world</font>"
16 PASS fontsize 5 on all of "<font size="7"><div>hello</div>world</font>" yields " <div><font size="5">hello</font></div><font size="5">world</font>" 16 PASS fontsize 5 on all of "<font size="7"><div>hello</div>world</font>" yields " <div><font class="Apple-style-span" size="5">hello</font></div><font class="Appl e-style-span" size="5">world</font>"
17 PASS fontsize 3 on all of "<font size="7"><div>hello</div>world</font>" yields " <div>hello</div>world" 17 PASS fontsize 3 on all of "<font size="7"><div>hello</div>world</font>" yields " <div>hello</div>world"
18 PASS fontsize 3 on all of "<font size="3"><div>hello</div>world</font>" yields " <font size="3"><div>hello</div>world</font>" 18 PASS fontsize 3 on all of "<font size="3"><div>hello</div>world</font>" yields " <font size="3"><div>hello</div>world</font>"
19 PASS fontsize 1 on all of "<font size="3"><div>hello</div>world</font>" yields " <div><font size="1">hello</font></div><font size="1">world</font>" 19 PASS fontsize 1 on all of "<font size="3"><div>hello</div>world</font>" yields " <div><font class="Apple-style-span" size="1">hello</font></div><font class="Appl e-style-span" size="1">world</font>"
20 20
21 Font size (with CSS) 21 Font size (with CSS)
22 PASS fontsize 7 on all of "<font size="7"><div>hello</div>world</font>" yields " <font size="7"><div>hello</div>world</font>" 22 PASS fontsize 7 on all of "<font size="7"><div>hello</div>world</font>" yields " <font size="7"><div>hello</div>world</font>"
23 PASS fontsize 7 on all of "<font size="3"><div>hello</div>world</font>" yields " <div><span style="font-size: -webkit-xxx-large;">hello</span></div><span style=" font-size: -webkit-xxx-large;">world</span>" 23 PASS fontsize 7 on all of "<font size="3"><div>hello</div>world</font>" yields " <div><span class="Apple-style-span" style="font-size: -webkit-xxx-large;">hello< /span></div><span class="Apple-style-span" style="font-size: -webkit-xxx-large;" >world</span>"
24 PASS fontsize 6 on all of "<font size="7"><div>hello</div>world</font>" yields " <div><span style="font-size: xx-large;">hello</span></div><span style="font-size : xx-large;">world</span>" 24 PASS fontsize 6 on all of "<font size="7"><div>hello</div>world</font>" yields " <div><span class="Apple-style-span" style="font-size: xx-large;">hello</span></d iv><span class="Apple-style-span" style="font-size: xx-large;">world</span>"
25 PASS fontsize 5 on all of "<font size="7"><div>hello</div>world</font>" yields " <div><span style="font-size: x-large;">hello</span></div><span style="font-size: x-large;">world</span>" 25 PASS fontsize 5 on all of "<font size="7"><div>hello</div>world</font>" yields " <div><span class="Apple-style-span" style="font-size: x-large;">hello</span></di v><span class="Apple-style-span" style="font-size: x-large;">world</span>"
26 PASS fontsize 3 on all of "<font size="7"><div>hello</div>world</font>" yields " <div>hello</div>world" 26 PASS fontsize 3 on all of "<font size="7"><div>hello</div>world</font>" yields " <div>hello</div>world"
27 PASS fontsize 3 on all of "<font size="3"><div>hello</div>world</font>" yields " <font size="3"><div>hello</div>world</font>" 27 PASS fontsize 3 on all of "<font size="3"><div>hello</div>world</font>" yields " <font size="3"><div>hello</div>world</font>"
28 PASS fontsize 1 on all of "<font size="3"><div>hello</div>world</font>" yields " <div><span style="font-size: x-small;">hello</span></div><span style="font-size: x-small;">world</span>" 28 PASS fontsize 1 on all of "<font size="3"><div>hello</div>world</font>" yields " <div><span class="Apple-style-span" style="font-size: x-small;">hello</span></di v><span class="Apple-style-span" style="font-size: x-small;">world</span>"
29 29
30 Font family 30 Font family
31 PASS fontname Arial on all of "hello world" yields "<font face="Arial">hello wor ld</font>" 31 PASS fontname Arial on all of "hello world" yields "<font class="Apple-style-spa n" face="Arial">hello world</font>"
32 PASS fontname Arial on first word of "<font face="sans-serif">hello world</font> " yields "<font face="Arial">hello</font><font face="sans-serif"> world</font>" 32 PASS fontname Arial on first word of "<font face="sans-serif">hello world</font> " yields "<font class="Apple-style-span" face="Arial">hello</font><font face="sa ns-serif"> world</font>"
33 PASS fontname Arial on first word of "<font face="sans-serif">hello<div>world</d iv></font>" yields "<font face="Arial">hello</font><div style="font-family: sans -serif; ">world</div>" 33 PASS fontname Arial on first word of "<font face="sans-serif">hello<div>world</d iv></font>" yields "<font class="Apple-style-span" face="Arial">hello</font><div style="font-family: sans-serif; ">world</div>"
34 PASS fontname Arial on second word of "<font face="sans-serif">hello<div>world</ div></font>" yields "<font face="sans-serif">hello</font><div><font face="Arial" >world</font></div>" 34 PASS fontname Arial on second word of "<font face="sans-serif">hello<div>world</ div></font>" yields "<font class="Apple-style-span" face="sans-serif">hello</fon t><div><font class="Apple-style-span" face="Arial">world</font></div>"
35 PASS fontname Sans-Serif on all of "<font face="sans-serif"><div>hello</div><div >world</div></font>" yields "<font face="sans-serif"><div>hello</div><div>world< /div></font>" 35 PASS fontname Sans-Serif on all of "<font face="sans-serif"><div>hello</div><div >world</div></font>" yields "<font face="sans-serif"><div>hello</div><div>world< /div></font>"
36 PASS fontname Arial on all of "<font face="sans-serif"><div>hello</div><div>worl d</div></font>" yields "<div><font face="Arial">hello</font></div><div><font fac e="Arial">world</font></div>" 36 PASS fontname Arial on all of "<font face="sans-serif"><div>hello</div><div>worl d</div></font>" yields "<div><font class="Apple-style-span" face="Arial">hello</ font></div><div><font class="Apple-style-span" face="Arial">world</font></div>"
37 37
38 Font family (with CSS) 38 Font family (with CSS)
39 PASS fontname Arial on all of "hello world" yields "<span style="font-family: Ar ial;">hello world</span>" 39 PASS fontname Arial on all of "hello world" yields "<span class="Apple-style-spa n" style="font-family: Arial;">hello world</span>"
40 PASS fontname Arial on first word of "<font face="sans-serif">hello world</font> " yields "<span style="font-family: Arial;">hello</span><font face="sans-serif"> world</font>" 40 PASS fontname Arial on first word of "<font face="sans-serif">hello world</font> " yields "<span class="Apple-style-span" style="font-family: Arial;">hello</span ><font face="sans-serif"> world</font>"
41 PASS fontname Arial on first word of "<font face="sans-serif">hello<div>world</d iv></font>" yields "<span style="font-family: Arial;">hello</span><div style="fo nt-family: sans-serif; ">world</div>" 41 PASS fontname Arial on first word of "<font face="sans-serif">hello<div>world</d iv></font>" yields "<span class="Apple-style-span" style="font-family: Arial;">h ello</span><div style="font-family: sans-serif; ">world</div>"
42 PASS fontname Arial on second word of "<font face="sans-serif">hello<div>world</ div></font>" yields "<span style="font-family: sans-serif;">hello</span><div><sp an style="font-family: Arial;">world</span></div>" 42 PASS fontname Arial on second word of "<font face="sans-serif">hello<div>world</ div></font>" yields "<span class="Apple-style-span" style="font-family: sans-ser if;">hello</span><div><span class="Apple-style-span" style="font-family: Arial;" >world</span></div>"
43 PASS fontname Sans-Serif on all of "<font face="sans-serif"><div>hello</div><div >world</div></font>" yields "<font face="sans-serif"><div>hello</div><div>world< /div></font>" 43 PASS fontname Sans-Serif on all of "<font face="sans-serif"><div>hello</div><div >world</div></font>" yields "<font face="sans-serif"><div>hello</div><div>world< /div></font>"
44 PASS fontname Arial on all of "<font face="sans-serif"><div>hello</div><div>worl d</div></font>" yields "<div><span style="font-family: Arial;">hello</span></div ><div><span style="font-family: Arial;">world</span></div>" 44 PASS fontname Arial on all of "<font face="sans-serif"><div>hello</div><div>worl d</div></font>" yields "<div><span class="Apple-style-span" style="font-family: Arial;">hello</span></div><div><span class="Apple-style-span" style="font-family : Arial;">world</span></div>"
45 PASS successfullyParsed is true 45 PASS successfullyParsed is true
46 46
47 TEST COMPLETE 47 TEST COMPLETE
48 48
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698