File: copyformatting.html

package info (click to toggle)
ckeditor 4.16.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 258,804 kB
  • sloc: javascript: 239,590; sh: 184; makefile: 64; python: 37; php: 15; xml: 5
file content (148 lines) | stat: -rw-r--r-- 3,530 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<div id="list_type">
	<div class="input">
		<ol dir="ltr">
			<li>
				<ol>
					<li><b>dog</b><br></li>
				</ol>
				<ul>
					<li>br[]own<br></li>
				</ul>
			</li>
		</ol>
	</div>

	<div class="expected">
		<ol dir="ltr">
			<li>
				<ul>
					<li>d[]og<br></li>
				</ul>
				<ul>
					<li>brown<br></li>
				</ul>
			</li>
		</ol>
	</div>
</div>

<!-- DO NOT change formatting -->
<div id="nested_lists_styles">
	<div class="input">
		<ol>
			<li><span style="text-decoration: underline;">Test </span><ol><li><b>dog</b></li>
				</ol>
				<ol start="5" style="list-style-type: upper-alpha;">
					<li>br[]own<br></li>
				</ol>
			</li>
		</ol>
	</div>

	<div class="expected">
		<ol start="5" style="list-style-type: upper-alpha;">
			<li>T[]est <ol><li><b>dog</b></li>
				</ol>
				<ol start="5" style="list-style-type: upper-alpha;">
					<li>brown<br></li>
				</ol>
			</li>
		</ol>
	</div>
</div>

<div id="list_type_styles">
	<div class="input">
		<ol>
			<li><span style="color:#FF8C00;">ap[]ple<br></span>
		</ol>

		<ul style="list-style-type: square; font-size: 26px;">
			<li>Square Bullet<br></li>
		</ul>
	</div>

	<div class="expected">
		<ol>
			<li><span style="color:#FF8C00;">apple<br></span>
		</ol>

		<ol>
			<li><span style="color:#FF8C00;">S[]quare</span> Bullet<br></li>
		</ol>
	</div>
</div>

<div id="list_remove_source">
	<div class="input">
		<p dir="ltr">Numbered list with styling applied to text before making a list<br></p>

		<ol>
			<li style="font-size: 26px;"><span style="font-weight: bold;">apple</span><br></li>
		</ol>

		<ol start="5" style="list-style-type: upper-alpha; font-size: 22px;">
			<li style="text-decoration: underline;">or[]ange<br></li>
		</ol>
	</div>

	<div class="expected">
		<p dir="ltr">Numbered list with styling applied to text before making a [list<br></p>

		<ol start="5" style="list-style-type: upper-alpha; font-size: 22px;">
			<li style="text-decoration: underline;">ap]<span style="font-weight:bold;">ple</span><br></li>
		</ol>

		<ol start="5" style="list-style-type: upper-alpha; font-size: 22px;">
			<li style="text-decoration: underline;">orange<br></li>
		</ol>
	</div>
</div>

<div id="list_type_nested">
	<div class="input">
		<ol dir="ltr" start="5" style="list-style-type: upper-alpha;">
			<li>Start Value 5 &amp; Upper Alpha
			<ol start="3" style="list-style-type: upper-roman;">
				<li>Start Value 3 &amp; Upper Roman
				<ol start="7" style="list-style-type: lower-alpha;">
					<li>Start Value 7 &amp; low[]er Alpha<br></li>
				</ol>
				</li>
			</ol>
			</li>
			<li>Top list again</li>
		</ol>
	</div>

	<div class="expected">
		<ol start="7" style="list-style-type: lower-alpha;">
			<li>S{tart Value 5 &amp; Upper Alpha
			<ol start="3" style="list-style-type: upper-roman;">
				<li>Start Value 3 &amp; Upper Roman
				<ol start="7" style="list-style-type: lower-alpha;">
					<li>S}tart Value 7 &amp; lower Alpha<br></li>
				</ol>
				</li>
			</ol>
			</li>
			<li>Top list again</li>
		</ol>
	</div>
</div>

<div id="t-16675">
	<div class="input">
		<table>
			<tbody>
				<tr>
					<td style="background-color:#eeeeee;"><span style="font-size:14px"><span style="font-family:Arial,Helvetica,sans-serif"><strong>S[]OME TITLE</strong></span></span></td>
					<td><span style="font-size:14px"><span style="font-family:Arial,Helvetica,sans-serif">Q4 <span style="display:none">&nbsp;</span><strong>2015</strong></span></span></td>
				</tr>
				<tr>
					<td>Some thing</td>
				</tr>
			</tbody>
		</table>
	</div>
</div>