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

Side by Side Diff: third_party/WebKit/LayoutTests/images/rendering-broken-images-expected.txt

Issue 2593263003: Use a non-replaced inline container for image alt text (Closed)
Patch Set: bug 644802 Created 3 years, 9 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
(Empty)
1 layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 860
2 LayoutView at (0,0) size 800x600
3 layer at (0,0) size 785x860 backgroundClip at (0,0) size 785x600 clip at (0,0) s ize 785x600
4 LayoutBlockFlow {HTML} at (0,0) size 785x860
5 LayoutBlockFlow {BODY} at (8,16) size 769x836
6 LayoutBlockFlow {P} at (0,0) size 769x20
7 LayoutText {#text} at (0,0) size 304x19
8 text run at (0,0) width 304: "crbug.com/644802: Render alt text per ht ml5 spec"
9 layer at (8,52) size 769x800 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
10 LayoutBlockFlow {DIV} at (0,36) size 769x800
11 LayoutMultiColumnSet (anonymous) at (0,0) size 769x408
12 layer at (8,52) size 180x1552 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600
13 LayoutMultiColumnFlowThread (anonymous) at (0,0) size 180.25x1552
14 LayoutBlockFlow {DIV} at (0,16) size 180.25x136
15 LayoutBlockFlow {P} at (0,0) size 180.25x20
16 LayoutText {#text} at (0,0) size 122x19
17 text run at (0,0) width 122: "Different dimensions"
18 LayoutBlockFlow (anonymous) at (0,36) size 180.25x100
19 LayoutText {#text} at (0,0) size 12x19
20 text run at (0,0) width 12: "1."
21 LayoutBlockFlow {IMG} at (12,0) size 56x20 [bgcolor=#008000]
22 LayoutInline {SPAN} at (0,0) size 40x19
23 LayoutImage (floating) {IMG} at (0,0) size 16x16
24 LayoutInline {SPAN} at (0,0) size 40x19
25 LayoutText {#text} at (16,0) size 40x19
26 text run at (16,0) width 40: "alt text"
27 LayoutText {#text} at (68,0) size 4x19
28 text run at (68,0) width 4: " "
29 LayoutBR {BR} at (72,0) size 0x19
30 LayoutText {#text} at (0,20) size 12x19
31 text run at (0,20) width 12: "2."
32 LayoutBlockFlow {IMG} at (12,20) size 56x20 [bgcolor=#008000]
33 LayoutInline {SPAN} at (0,0) size 40x19
34 LayoutImage (floating) {IMG} at (0,0) size 16x16
35 LayoutInline {SPAN} at (0,0) size 40x19
36 LayoutText {#text} at (16,0) size 40x19
37 text run at (16,0) width 40: "alt text"
38 LayoutText {#text} at (68,20) size 4x19
39 text run at (68,20) width 4: " "
40 LayoutBR {BR} at (72,20) size 0x19
41 LayoutText {#text} at (0,40) size 12x19
42 text run at (0,40) width 12: "3."
43 LayoutBlockFlow {IMG} at (12,40) size 56x20 [bgcolor=#008000]
44 LayoutInline {SPAN} at (0,0) size 40x19
45 LayoutImage (floating) {IMG} at (0,0) size 16x16
46 LayoutInline {SPAN} at (0,0) size 40x19
47 LayoutText {#text} at (16,0) size 40x19
48 text run at (16,0) width 40: "alt text"
49 LayoutBR {BR} at (68,40) size 0x19
50 LayoutText {#text} at (0,60) size 12x19
51 text run at (0,60) width 12: "4."
52 LayoutBlockFlow {IMG} at (12,60) size 56x20 [bgcolor=#008000]
53 LayoutInline {SPAN} at (0,0) size 40x19
54 LayoutImage (floating) {IMG} at (0,0) size 16x16
55 LayoutInline {SPAN} at (0,0) size 40x19
56 LayoutText {#text} at (16,0) size 40x19
57 text run at (16,0) width 40: "alt text"
58 LayoutBR {BR} at (68,60) size 0x19
59 LayoutText {#text} at (0,80) size 12x19
60 text run at (0,80) width 12: "5."
61 LayoutBlockFlow {IMG} at (12,80) size 56x20 [bgcolor=#008000]
62 LayoutInline {SPAN} at (0,0) size 40x19
63 LayoutImage (floating) {IMG} at (0,0) size 16x16
64 LayoutInline {SPAN} at (0,0) size 40x19
65 LayoutText {#text} at (16,0) size 40x19
66 text run at (16,0) width 40: "alt text"
67 LayoutText {#text} at (0,0) size 0x0
68 LayoutBlockFlow {DIV} at (0,168) size 180.25x204
69 LayoutBlockFlow {P} at (0,0) size 180.25x40
70 LayoutText {#text} at (0,0) size 163x39
71 text run at (0,0) width 163: "Different dimensions, no alt"
72 text run at (0,20) width 22: "text"
73 LayoutBlockFlow (anonymous) at (0,56) size 180.25x148
74 LayoutText {#text} at (0,10) size 12x19
75 text run at (0,10) width 12: "1."
76 LayoutBlockFlow {IMG} at (12,0) size 25x25 [bgcolor=#008000]
77 LayoutInline {SPAN} at (0,0) size 0x0
78 LayoutImage (floating) {IMG} at (0,0) size 16x16
79 LayoutInline {SPAN} at (0,0) size 0x0
80 LayoutBR {BR} at (37,10) size 0x19
81 LayoutText {#text} at (0,65) size 12x19
82 text run at (0,65) width 12: "2."
83 LayoutBlockFlow {IMG} at (12,30) size 50x50 [bgcolor=#008000]
84 LayoutInline {SPAN} at (0,0) size 0x0
85 LayoutImage (floating) {IMG} at (0,0) size 16x16
86 LayoutInline {SPAN} at (0,0) size 0x0
87 LayoutBR {BR} at (62,65) size 0x19
88 LayoutText {#text} at (0,86) size 12x19
89 text run at (0,86) width 12: "3."
90 LayoutBlockFlow {IMG} at (12,85) size 16x16 [bgcolor=#008000]
91 LayoutInline {SPAN} at (0,0) size 0x0
92 LayoutImage (floating) {IMG} at (0,0) size 16x16
93 LayoutInline {SPAN} at (0,0) size 0x0
94 LayoutBR {BR} at (28,86) size 0x19
95 LayoutText {#text} at (0,107) size 12x19
96 text run at (0,107) width 12: "4."
97 LayoutBlockFlow {IMG} at (12,106) size 16x16 [bgcolor=#008000]
98 LayoutInline {SPAN} at (0,0) size 0x0
99 LayoutImage (floating) {IMG} at (0,0) size 16x16
100 LayoutInline {SPAN} at (0,0) size 0x0
101 LayoutBR {BR} at (28,107) size 0x19
102 LayoutText {#text} at (0,128) size 12x19
103 text run at (0,128) width 12: "5."
104 LayoutBlockFlow {IMG} at (12,127) size 16x16
105 LayoutInline {SPAN} at (0,0) size 0x0
106 LayoutImage (floating) {IMG} at (0,0) size 16x16
107 LayoutInline {SPAN} at (0,0) size 0x0
108 LayoutText {#text} at (0,0) size 0x0
109 LayoutBlockFlow {DIV} at (0,408) size 180.25x201
110 LayoutBlockFlow {P} at (0,0) size 180.25x40
111 LayoutText {#text} at (0,0) size 163x39
112 text run at (0,0) width 163: "Different dimensions, no alt"
113 text run at (0,20) width 30: "text, "
114 text run at (30,20) width 45: "src = \"\""
115 LayoutBlockFlow (anonymous) at (0,56) size 180.25x145
116 LayoutText {#text} at (0,10) size 12x19
117 text run at (0,10) width 12: "1."
118 LayoutBlockFlow {IMG} at (12,0) size 25x25 [bgcolor=#008000]
119 LayoutInline {SPAN} at (0,0) size 0x0
120 LayoutInline {SPAN} at (0,0) size 0x0
121 LayoutBR {BR} at (37,10) size 0x19
122 LayoutText {#text} at (0,65) size 12x19
123 text run at (0,65) width 12: "2."
124 LayoutBlockFlow {IMG} at (12,30) size 50x50 [bgcolor=#008000]
125 LayoutInline {SPAN} at (0,0) size 0x0
126 LayoutInline {SPAN} at (0,0) size 0x0
127 LayoutBR {BR} at (62,65) size 0x19
128 LayoutText {#text} at (0,85) size 12x19
129 text run at (0,85) width 12: "3."
130 LayoutBlockFlow {IMG} at (12,100) size 0x0 [bgcolor=#008000]
131 LayoutInline {SPAN} at (0,0) size 0x0
132 LayoutInline {SPAN} at (0,0) size 0x0
133 LayoutBR {BR} at (12,85) size 0x19
134 LayoutText {#text} at (0,105) size 12x19
135 text run at (0,105) width 12: "4."
136 LayoutBlockFlow {IMG} at (12,120) size 0x0 [bgcolor=#008000]
137 LayoutInline {SPAN} at (0,0) size 0x0
138 LayoutInline {SPAN} at (0,0) size 0x0
139 LayoutBR {BR} at (12,105) size 0x19
140 LayoutText {#text} at (0,125) size 12x19
141 text run at (0,125) width 12: "5."
142 LayoutBlockFlow {IMG} at (12,140) size 0x0
143 LayoutInline {SPAN} at (0,0) size 0x0
144 LayoutInline {SPAN} at (0,0) size 0x0
145 LayoutBR {BR} at (12,125) size 0x19
146 LayoutBlockFlow {DIV} at (0,816) size 180.25x236
147 LayoutBlockFlow {P} at (0,0) size 180.25x40
148 LayoutText {#text} at (0,0) size 163x39
149 text run at (0,0) width 163: "Different dimensions, no alt"
150 text run at (0,20) width 67: "text, no src"
151 LayoutBlockFlow (anonymous) at (0,56) size 180.25x180
152 LayoutText {#text} at (0,10) size 12x19
153 text run at (0,10) width 12: "1."
154 LayoutImage {IMG} at (12,0) size 25x25 [bgcolor=#008000]
155 LayoutText {#text} at (37,10) size 4x19
156 text run at (37,10) width 4: " "
157 LayoutBR {BR} at (41,10) size 0x19
158 LayoutText {#text} at (0,65) size 12x19
159 text run at (0,65) width 12: "2."
160 LayoutImage {IMG} at (12,30) size 50x50 [bgcolor=#008000]
161 LayoutText {#text} at (62,65) size 4x19
162 text run at (62,65) width 4: " "
163 LayoutBR {BR} at (66,65) size 0x19
164 LayoutText {#text} at (0,85) size 12x19
165 text run at (0,85) width 12: "3."
166 LayoutImage {IMG} at (12,100) size 50x0 [bgcolor=#008000]
167 LayoutText {#text} at (62,85) size 4x19
168 text run at (62,85) width 4: " "
169 LayoutBR {BR} at (66,85) size 0x19
170 LayoutText {#text} at (0,140) size 12x19
171 text run at (0,140) width 12: "4."
172 LayoutImage {IMG} at (12,105) size 0x50 [bgcolor=#008000]
173 LayoutText {#text} at (12,140) size 4x19
174 text run at (12,140) width 4: " "
175 LayoutBR {BR} at (16,140) size 0x19
176 LayoutText {#text} at (0,160) size 12x19
177 text run at (0,160) width 12: "5."
178 LayoutImage {IMG} at (12,175) size 0x0
179 LayoutText {#text} at (0,0) size 0x0
180 LayoutBlockFlow {DIV} at (0,1068) size 180.25x156
181 LayoutBlockFlow {P} at (0,0) size 180.25x40
182 LayoutText {#text} at (0,0) size 174x39
183 text run at (0,0) width 174: "Different dimensions, alt text,"
184 text run at (0,20) width 45: "src = \"\""
185 LayoutBlockFlow (anonymous) at (0,56) size 180.25x100
186 LayoutText {#text} at (0,0) size 12x19
187 text run at (0,0) width 12: "1."
188 LayoutBlockFlow {IMG} at (12,0) size 56x20 [bgcolor=#008000]
189 LayoutInline {SPAN} at (0,0) size 40x19
190 LayoutImage (floating) {IMG} at (0,0) size 16x16
191 LayoutInline {SPAN} at (0,0) size 40x19
192 LayoutText {#text} at (16,0) size 40x19
193 text run at (16,0) width 40: "alt text"
194 LayoutText {#text} at (68,0) size 4x19
195 text run at (68,0) width 4: " "
196 LayoutBR {BR} at (72,0) size 0x19
197 LayoutText {#text} at (0,20) size 12x19
198 text run at (0,20) width 12: "2."
199 LayoutBlockFlow {IMG} at (12,20) size 56x20 [bgcolor=#008000]
200 LayoutInline {SPAN} at (0,0) size 40x19
201 LayoutImage (floating) {IMG} at (0,0) size 16x16
202 LayoutInline {SPAN} at (0,0) size 40x19
203 LayoutText {#text} at (16,0) size 40x19
204 text run at (16,0) width 40: "alt text"
205 LayoutText {#text} at (68,20) size 4x19
206 text run at (68,20) width 4: " "
207 LayoutBR {BR} at (72,20) size 0x19
208 LayoutText {#text} at (0,40) size 12x19
209 text run at (0,40) width 12: "3."
210 LayoutBlockFlow {IMG} at (12,40) size 56x20 [bgcolor=#008000]
211 LayoutInline {SPAN} at (0,0) size 40x19
212 LayoutImage (floating) {IMG} at (0,0) size 16x16
213 LayoutInline {SPAN} at (0,0) size 40x19
214 LayoutText {#text} at (16,0) size 40x19
215 text run at (16,0) width 40: "alt text"
216 LayoutText {#text} at (68,40) size 4x19
217 text run at (68,40) width 4: " "
218 LayoutBR {BR} at (72,40) size 0x19
219 LayoutText {#text} at (0,60) size 12x19
220 text run at (0,60) width 12: "4."
221 LayoutBlockFlow {IMG} at (12,60) size 56x20 [bgcolor=#008000]
222 LayoutInline {SPAN} at (0,0) size 40x19
223 LayoutImage (floating) {IMG} at (0,0) size 16x16
224 LayoutInline {SPAN} at (0,0) size 40x19
225 LayoutText {#text} at (16,0) size 40x19
226 text run at (16,0) width 40: "alt text"
227 LayoutText {#text} at (68,60) size 4x19
228 text run at (68,60) width 4: " "
229 LayoutBR {BR} at (72,60) size 0x19
230 LayoutText {#text} at (0,80) size 12x19
231 text run at (0,80) width 12: "5."
232 LayoutBlockFlow {IMG} at (12,95) size 0x0
233 LayoutInline {SPAN} at (0,0) size 0x0
234 LayoutInline {SPAN} at (0,0) size 0x0
235 LayoutText {#text} at (12,80) size 4x19
236 text run at (12,80) width 4: " "
237 LayoutBR {BR} at (16,80) size 0x19
238 LayoutBlockFlow {DIV} at (0,1224) size 180.25x156
239 LayoutBlockFlow {P} at (0,0) size 180.25x40
240 LayoutText {#text} at (0,0) size 174x39
241 text run at (0,0) width 174: "Different dimensions, alt text,"
242 text run at (0,20) width 37: "no src"
243 LayoutBlockFlow (anonymous) at (0,56) size 180.25x100
244 LayoutText {#text} at (0,0) size 12x19
245 text run at (0,0) width 12: "1."
246 LayoutBlockFlow {IMG} at (12,0) size 56x20 [bgcolor=#008000]
247 LayoutInline {SPAN} at (0,0) size 40x19
248 LayoutImage (floating) {IMG} at (0,0) size 16x16
249 LayoutInline {SPAN} at (0,0) size 40x19
250 LayoutText {#text} at (16,0) size 40x19
251 text run at (16,0) width 40: "alt text"
252 LayoutText {#text} at (68,0) size 4x19
253 text run at (68,0) width 4: " "
254 LayoutBR {BR} at (72,0) size 0x19
255 LayoutText {#text} at (0,20) size 12x19
256 text run at (0,20) width 12: "2."
257 LayoutBlockFlow {IMG} at (12,20) size 56x20 [bgcolor=#008000]
258 LayoutInline {SPAN} at (0,0) size 40x19
259 LayoutImage (floating) {IMG} at (0,0) size 16x16
260 LayoutInline {SPAN} at (0,0) size 40x19
261 LayoutText {#text} at (16,0) size 40x19
262 text run at (16,0) width 40: "alt text"
263 LayoutText {#text} at (68,20) size 4x19
264 text run at (68,20) width 4: " "
265 LayoutBR {BR} at (72,20) size 0x19
266 LayoutText {#text} at (0,40) size 12x19
267 text run at (0,40) width 12: "3."
268 LayoutBlockFlow {IMG} at (12,40) size 56x20 [bgcolor=#008000]
269 LayoutInline {SPAN} at (0,0) size 40x19
270 LayoutImage (floating) {IMG} at (0,0) size 16x16
271 LayoutInline {SPAN} at (0,0) size 40x19
272 LayoutText {#text} at (16,0) size 40x19
273 text run at (16,0) width 40: "alt text"
274 LayoutText {#text} at (68,40) size 4x19
275 text run at (68,40) width 4: " "
276 LayoutBR {BR} at (72,40) size 0x19
277 LayoutText {#text} at (0,60) size 12x19
278 text run at (0,60) width 12: "4."
279 LayoutBlockFlow {IMG} at (12,60) size 56x20 [bgcolor=#008000]
280 LayoutInline {SPAN} at (0,0) size 40x19
281 LayoutImage (floating) {IMG} at (0,0) size 16x16
282 LayoutInline {SPAN} at (0,0) size 40x19
283 LayoutText {#text} at (16,0) size 40x19
284 text run at (16,0) width 40: "alt text"
285 LayoutText {#text} at (68,60) size 4x19
286 text run at (68,60) width 4: " "
287 LayoutBR {BR} at (72,60) size 0x19
288 LayoutText {#text} at (0,80) size 12x19
289 text run at (0,80) width 12: "5."
290 LayoutBlockFlow {IMG} at (12,80) size 56x20
291 LayoutInline {SPAN} at (0,0) size 40x19
292 LayoutImage (floating) {IMG} at (0,0) size 16x16
293 LayoutInline {SPAN} at (0,0) size 40x19
294 LayoutText {#text} at (16,0) size 40x19
295 text run at (16,0) width 40: "alt text"
296 LayoutText {#text} at (68,80) size 4x19
297 text run at (68,80) width 4: " "
298 LayoutBR {BR} at (72,80) size 0x19
299 LayoutBlockFlow {DIV} at (0,1396) size 180.25x156
300 LayoutBlockFlow {P} at (0,0) size 180.25x40
301 LayoutText {#text} at (0,0) size 174x39
302 text run at (0,0) width 174: "Different dimensions, alt text,"
303 text run at (0,20) width 31: "src ="
304 LayoutBlockFlow (anonymous) at (0,56) size 180.25x100
305 LayoutText {#text} at (0,0) size 12x19
306 text run at (0,0) width 12: "1."
307 LayoutBlockFlow {IMG} at (12,0) size 56x20 [bgcolor=#008000]
308 LayoutInline {SPAN} at (0,0) size 40x19
309 LayoutImage (floating) {IMG} at (0,0) size 16x16
310 LayoutInline {SPAN} at (0,0) size 40x19
311 LayoutText {#text} at (16,0) size 40x19
312 text run at (16,0) width 40: "alt text"
313 LayoutText {#text} at (68,0) size 4x19
314 text run at (68,0) width 4: " "
315 LayoutBR {BR} at (72,0) size 0x19
316 LayoutText {#text} at (0,20) size 12x19
317 text run at (0,20) width 12: "2."
318 LayoutBlockFlow {IMG} at (12,20) size 56x20 [bgcolor=#008000]
319 LayoutInline {SPAN} at (0,0) size 40x19
320 LayoutImage (floating) {IMG} at (0,0) size 16x16
321 LayoutInline {SPAN} at (0,0) size 40x19
322 LayoutText {#text} at (16,0) size 40x19
323 text run at (16,0) width 40: "alt text"
324 LayoutText {#text} at (68,20) size 4x19
325 text run at (68,20) width 4: " "
326 LayoutBR {BR} at (72,20) size 0x19
327 LayoutText {#text} at (0,40) size 12x19
328 text run at (0,40) width 12: "3."
329 LayoutBlockFlow {IMG} at (12,40) size 56x20 [bgcolor=#008000]
330 LayoutInline {SPAN} at (0,0) size 40x19
331 LayoutImage (floating) {IMG} at (0,0) size 16x16
332 LayoutInline {SPAN} at (0,0) size 40x19
333 LayoutText {#text} at (16,0) size 40x19
334 text run at (16,0) width 40: "alt text"
335 LayoutText {#text} at (68,40) size 4x19
336 text run at (68,40) width 4: " "
337 LayoutBR {BR} at (72,40) size 0x19
338 LayoutText {#text} at (0,60) size 12x19
339 text run at (0,60) width 12: "4."
340 LayoutBlockFlow {IMG} at (12,60) size 56x20 [bgcolor=#008000]
341 LayoutInline {SPAN} at (0,0) size 40x19
342 LayoutImage (floating) {IMG} at (0,0) size 16x16
343 LayoutInline {SPAN} at (0,0) size 40x19
344 LayoutText {#text} at (16,0) size 40x19
345 text run at (16,0) width 40: "alt text"
346 LayoutText {#text} at (68,60) size 4x19
347 text run at (68,60) width 4: " "
348 LayoutBR {BR} at (72,60) size 0x19
349 LayoutText {#text} at (0,80) size 12x19
350 text run at (0,80) width 12: "5."
351 LayoutBlockFlow {IMG} at (12,95) size 0x0
352 LayoutInline {SPAN} at (0,0) size 0x0
353 LayoutInline {SPAN} at (0,0) size 0x0
354 LayoutText {#text} at (12,80) size 4x19
355 text run at (12,80) width 4: " "
356 LayoutBR {BR} at (16,80) size 0x19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698