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

Side by Side Diff: LayoutTests/editing/style/inline-style-container-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 WebKit adds style to the appropriate container. 1 Test to make sure WebKit adds style to the appropriate container.
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 styleWithCSS = false 6 styleWithCSS = false
7 PASS fontSize(3) on all of "<font size="3">hello <font size="4">world</font></fo nt>" yields "<font size="3">hello world</font>" 7 PASS fontSize(3) on all of "<font size="3">hello <font size="4">world</font></fo nt>" yields "<font size="3">hello world</font>"
8 PASS fontSize(4) on all of "<font face="Arial">hello</font>" yields "<font face= "Arial" size="4">hello</font>" 8 PASS fontSize(4) on all of "<font face="Arial">hello</font>" yields "<font face= "Arial" size="4">hello</font>"
9 PASS fontSize(4) on all of "<font color="blue"><font face="Arial">hello</font></ font>" yields "<font color="blue"><font face="Arial" size="4">hello</font></font >" 9 PASS fontSize(4) on all of "<font color="blue"><font face="Arial">hello</font></ font>" yields "<font color="blue"><font face="Arial" size="4">hello</font></font >"
10 PASS fontSize(4) on all of "<b><font face="Arial">hello</font></b>" yields "<b>< font face="Arial" size="4">hello</font></b>" 10 PASS fontSize(4) on all of "<b><font face="Arial">hello</font></b>" yields "<b>< font face="Arial" size="4">hello</font></b>"
11 PASS fontSize(4) on all of "<font face="Arial"><i>hello</i></font>" yields "<fon t face="Arial" size="4"><i>hello</i></font>" 11 PASS fontSize(4) on all of "<font face="Arial"><i>hello</i></font>" yields "<fon t face="Arial" size="4"><i>hello</i></font>"
12 PASS fontName(Arial) on all of "<b><font face="Arial">hello</font></b> world" yi elds "<font face="Arial"><b>hello</b> world</font>" 12 PASS fontName(Arial) on all of "<b><font face="Arial">hello</font></b> world" yi elds "<font class="Apple-style-span" face="Arial"><b>hello</b> world</font>"
13 PASS fontName(Arial) on all of "<font color="blue">hello</font> world" yields "< font face="Arial"><font color="blue">hello</font> world</font>" 13 PASS fontName(Arial) on all of "<font color="blue">hello</font> world" yields "< font class="Apple-style-span" face="Arial"><font color="blue">hello</font> world </font>"
14 PASS fontName(Arial) on all of "<b><u>hello</u> world</b>" yields "<b><font face ="Arial"><u>hello</u> world</font></b>" 14 PASS fontName(Arial) on all of "<b><u>hello</u> world</b>" yields "<b><font clas s="Apple-style-span" face="Arial"><u>hello</u> world</font></b>"
15 PASS foreColor(blue) on all of "<font><u style="color:red;">hello</u></font>" yi elds "<font color="#0000ff"><u>hello</u></font>" 15 PASS foreColor(blue) on all of "<font><u style="color:red;">hello</u></font>" yi elds "<font color="#0000ff"><u>hello</u></font>"
16 PASS foreColor(rgba(0, 50, 100, 0.4)) on all of "<font><u style="color:red;">hel lo</u></font>" yields "<font color="rgba(0, 50, 100, 0.4)"><u>hello</u></font>" 16 PASS foreColor(rgba(0, 50, 100, 0.4)) on all of "<font><u style="color:red;">hel lo</u></font>" yields "<font color="rgba(0, 50, 100, 0.4)"><u>hello</u></font>"
17 PASS bold(null) on all of "<u><strike>hello</strike> <strike>world</strike></u>" yields "<u><b><strike>hello</strike> <strike>world</strike></b></u>" 17 PASS bold(null) on all of "<u><strike>hello</strike> <strike>world</strike></u>" yields "<u><b><strike>hello</strike> <strike>world</strike></b></u>"
18 PASS bold(null) on all of "<i>hello</i> <b>world</b>" yields "<b><i>hello</i> wo rld</b>" 18 PASS bold(null) on all of "<i>hello</i> <b>world</b>" yields "<b><i>hello</i> wo rld</b>"
19 PASS bold(null) on all of "<strike><i><u>hello <b>world</b></u></i> webkit</stri ke>" yields "<strike><b><i><u>hello world</u></i> webkit</b></strike>" 19 PASS bold(null) on all of "<strike><i><u>hello <b>world</b></u></i> webkit</stri ke>" yields "<strike><b><i><u>hello world</u></i> webkit</b></strike>"
20 PASS bold(null) on all of "<b contenteditable="false"><span style="font-weight: normal;">hello</span> world</b> world" yields "<b contenteditable="false"><span style="font-weight: normal;">hello</span> world</b><b> world</b>" 20 PASS bold(null) on all of "<b contenteditable="false"><span style="font-weight: normal;">hello</span> world</b> world" yields "<b contenteditable="false"><span style="font-weight: normal;">hello</span> world</b><b> world</b>"
21 PASS bold(null) on all of "<i>hello</i> <b contenteditable="false">world</b>" yi elds "<b><i>hello</i> </b><b contenteditable="false">world</b>" 21 PASS bold(null) on all of "<i>hello</i> <b contenteditable="false">world</b>" yi elds "<b><i>hello</i> </b><b contenteditable="false">world</b>"
22 PASS strikeThrough(null) on all of "<i>hello</i> <b><strike>world</strike></b> W ebKit" yields "<strike><i>hello</i> <b>world</b> WebKit</strike>" 22 PASS strikeThrough(null) on all of "<i>hello</i> <b><strike>world</strike></b> W ebKit" yields "<strike><i>hello</i> <b>world</b> WebKit</strike>"
23 PASS strikeThrough(null) on all of "<b><i>hello <strike>world</strike></i> WebKi t</b>" yields "<b><strike><i>hello world</i> WebKit</strike></b>" 23 PASS strikeThrough(null) on all of "<b><i>hello <strike>world</strike></i> WebKi t</b>" yields "<b><strike><i>hello world</i> WebKit</strike></b>"
24 24
25 styleWithCSS = true 25 styleWithCSS = true
26 PASS fontSize(4) on all of "<font face="Arial">hello</font>" yields "<font face= "Arial" style="font-size: large;">hello</font>" 26 PASS fontSize(4) on all of "<font face="Arial">hello</font>" yields "<font face= "Arial" style="font-size: large;">hello</font>"
27 PASS fontSize(4) on all of "<font face="Arial"><b>hello</b></font>" yields "<fon t face="Arial"><b style="font-size: large;">hello</b></font>" 27 PASS fontSize(4) on all of "<font face="Arial"><b>hello</b></font>" yields "<fon t face="Arial"><b style="font-size: large;">hello</b></font>"
28 PASS fontSize(4) on all of "<i><b>hello</b></i>" yields "<i><b style="font-size: large;">hello</b></i>" 28 PASS fontSize(4) on all of "<i><b>hello</b></i>" yields "<i><b style="font-size: large;">hello</b></i>"
29 PASS fontSize(4) on all of "<i><b>hello</b> world</i>" yields "<i style="font-si ze: large;"><b>hello</b> world</i>" 29 PASS fontSize(4) on all of "<i><b>hello</b> world</i>" yields "<i style="font-si ze: large;"><b>hello</b> world</i>"
30 PASS fontSize(4) on all of "<font color="blue"><b>hello</b></font>" yields "<fon t color="blue"><b style="font-size: large;">hello</b></font>" 30 PASS fontSize(4) on all of "<font color="blue"><b>hello</b></font>" yields "<fon t color="blue"><b style="font-size: large;">hello</b></font>"
31 PASS bold(null) on all of "<span style="font-style: italic;">hello</span>" yield s "<span style="font-style: italic; font-weight: bold;">hello</span>" 31 PASS bold(null) on all of "<span style="font-style: italic;">hello</span>" yield s "<span style="font-style: italic; font-weight: bold;">hello</span>"
32 PASS underline(null) on all of "<span style="font-style: italic;"><b>hello</b></ span>" yields "<span style="font-style: italic; text-decoration: underline;"><b> hello</b></span>" 32 PASS underline(null) on all of "<span style="font-style: italic;"><b>hello</b></ span>" yields "<span style="font-style: italic; text-decoration: underline;"><b> hello</b></span>"
33 PASS underline(null) on all of "<span style="color: blue;"><i><span style="font- size: large;"><b>hello</b> world</span></i></span>" yields "<span style="color: blue;"><i><span style="font-size: large; text-decoration: underline;"><b>hello</ b> world</span></i></span>" 33 PASS underline(null) on all of "<span style="color: blue;"><i><span style="font- size: large;"><b>hello</b> world</span></i></span>" yields "<span style="color: blue;"><i><span style="font-size: large; text-decoration: underline;"><b>hello</ b> world</span></i></span>"
34 PASS successfullyParsed is true 34 PASS successfullyParsed is true
35 35
36 TEST COMPLETE 36 TEST COMPLETE
37 37
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698