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

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 315x19
8 text run at (0,0) width 315: "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 132x19
17 text run at (0,0) width 132: "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 58x20 [bgcolor=#008000]
22 LayoutInline {SPAN} at (0,0) size 42x19
23 LayoutImage (floating) {IMG} at (0,0) size 16x16
24 LayoutInline {SPAN} at (0,0) size 42x19
25 LayoutText {#text} at (16,0) size 42x19
26 text run at (16,0) width 42: "alt text"
27 LayoutText {#text} at (70,0) size 4x19
28 text run at (70,0) width 4: " "
29 LayoutBR {BR} at (74,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 58x20 [bgcolor=#008000]
33 LayoutInline {SPAN} at (0,0) size 42x19
34 LayoutImage (floating) {IMG} at (0,0) size 16x16
35 LayoutInline {SPAN} at (0,0) size 42x19
36 LayoutText {#text} at (16,0) size 42x19
37 text run at (16,0) width 42: "alt text"
38 LayoutText {#text} at (70,20) size 4x19
39 text run at (70,20) width 4: " "
40 LayoutBR {BR} at (74,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 58x20 [bgcolor=#008000]
44 LayoutInline {SPAN} at (0,0) size 42x19
45 LayoutImage (floating) {IMG} at (0,0) size 16x16
46 LayoutInline {SPAN} at (0,0) size 42x19
47 LayoutText {#text} at (16,0) size 42x19
48 text run at (16,0) width 42: "alt text"
49 LayoutBR {BR} at (70,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 58x20 [bgcolor=#008000]
53 LayoutInline {SPAN} at (0,0) size 42x19
54 LayoutImage (floating) {IMG} at (0,0) size 16x16
55 LayoutInline {SPAN} at (0,0) size 42x19
56 LayoutText {#text} at (16,0) size 42x19
57 text run at (16,0) width 42: "alt text"
58 LayoutBR {BR} at (70,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 58x20 [bgcolor=#008000]
62 LayoutInline {SPAN} at (0,0) size 42x19
63 LayoutImage (floating) {IMG} at (0,0) size 16x16
64 LayoutInline {SPAN} at (0,0) size 42x19
65 LayoutText {#text} at (16,0) size 42x19
66 text run at (16,0) width 42: "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 175x39
71 text run at (0,0) width 175: "Different dimensions, no alt"
72 text run at (0,20) width 23: "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 175x39
112 text run at (0,0) width 175: "Different dimensions, no alt"
113 text run at (0,20) width 31: "text, "
114 text run at (31,20) width 49: "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 175x39
149 text run at (0,0) width 175: "Different dimensions, no alt"
150 text run at (0,20) width 69: "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 155x39
183 text run at (0,0) width 155: "Different dimensions, alt"
184 text run at (0,20) width 31: "text, "
185 text run at (31,20) width 49: "src = \"\""
186 LayoutBlockFlow (anonymous) at (0,56) size 180.25x100
187 LayoutText {#text} at (0,0) size 12x19
188 text run at (0,0) width 12: "1."
189 LayoutBlockFlow {IMG} at (12,0) size 58x20 [bgcolor=#008000]
190 LayoutInline {SPAN} at (0,0) size 42x19
191 LayoutImage (floating) {IMG} at (0,0) size 16x16
192 LayoutInline {SPAN} at (0,0) size 42x19
193 LayoutText {#text} at (16,0) size 42x19
194 text run at (16,0) width 42: "alt text"
195 LayoutText {#text} at (70,0) size 4x19
196 text run at (70,0) width 4: " "
197 LayoutBR {BR} at (74,0) size 0x19
198 LayoutText {#text} at (0,20) size 12x19
199 text run at (0,20) width 12: "2."
200 LayoutBlockFlow {IMG} at (12,20) size 58x20 [bgcolor=#008000]
201 LayoutInline {SPAN} at (0,0) size 42x19
202 LayoutImage (floating) {IMG} at (0,0) size 16x16
203 LayoutInline {SPAN} at (0,0) size 42x19
204 LayoutText {#text} at (16,0) size 42x19
205 text run at (16,0) width 42: "alt text"
206 LayoutText {#text} at (70,20) size 4x19
207 text run at (70,20) width 4: " "
208 LayoutBR {BR} at (74,20) size 0x19
209 LayoutText {#text} at (0,40) size 12x19
210 text run at (0,40) width 12: "3."
211 LayoutBlockFlow {IMG} at (12,40) size 58x20 [bgcolor=#008000]
212 LayoutInline {SPAN} at (0,0) size 42x19
213 LayoutImage (floating) {IMG} at (0,0) size 16x16
214 LayoutInline {SPAN} at (0,0) size 42x19
215 LayoutText {#text} at (16,0) size 42x19
216 text run at (16,0) width 42: "alt text"
217 LayoutText {#text} at (70,40) size 4x19
218 text run at (70,40) width 4: " "
219 LayoutBR {BR} at (74,40) size 0x19
220 LayoutText {#text} at (0,60) size 12x19
221 text run at (0,60) width 12: "4."
222 LayoutBlockFlow {IMG} at (12,60) size 58x20 [bgcolor=#008000]
223 LayoutInline {SPAN} at (0,0) size 42x19
224 LayoutImage (floating) {IMG} at (0,0) size 16x16
225 LayoutInline {SPAN} at (0,0) size 42x19
226 LayoutText {#text} at (16,0) size 42x19
227 text run at (16,0) width 42: "alt text"
228 LayoutText {#text} at (70,60) size 4x19
229 text run at (70,60) width 4: " "
230 LayoutBR {BR} at (74,60) size 0x19
231 LayoutText {#text} at (0,80) size 12x19
232 text run at (0,80) width 12: "5."
233 LayoutBlockFlow {IMG} at (12,95) size 0x0
234 LayoutInline {SPAN} at (0,0) size 0x0
235 LayoutInline {SPAN} at (0,0) size 0x0
236 LayoutText {#text} at (12,80) size 4x19
237 text run at (12,80) width 4: " "
238 LayoutBR {BR} at (16,80) size 0x19
239 LayoutBlockFlow {DIV} at (0,1224) size 180.25x156
240 LayoutBlockFlow {P} at (0,0) size 180.25x40
241 LayoutText {#text} at (0,0) size 155x39
242 text run at (0,0) width 155: "Different dimensions, alt"
243 text run at (0,20) width 69: "text, no src"
244 LayoutBlockFlow (anonymous) at (0,56) size 180.25x100
245 LayoutText {#text} at (0,0) size 12x19
246 text run at (0,0) width 12: "1."
247 LayoutBlockFlow {IMG} at (12,0) size 58x20 [bgcolor=#008000]
248 LayoutInline {SPAN} at (0,0) size 42x19
249 LayoutImage (floating) {IMG} at (0,0) size 16x16
250 LayoutInline {SPAN} at (0,0) size 42x19
251 LayoutText {#text} at (16,0) size 42x19
252 text run at (16,0) width 42: "alt text"
253 LayoutText {#text} at (70,0) size 4x19
254 text run at (70,0) width 4: " "
255 LayoutBR {BR} at (74,0) size 0x19
256 LayoutText {#text} at (0,20) size 12x19
257 text run at (0,20) width 12: "2."
258 LayoutBlockFlow {IMG} at (12,20) size 58x20 [bgcolor=#008000]
259 LayoutInline {SPAN} at (0,0) size 42x19
260 LayoutImage (floating) {IMG} at (0,0) size 16x16
261 LayoutInline {SPAN} at (0,0) size 42x19
262 LayoutText {#text} at (16,0) size 42x19
263 text run at (16,0) width 42: "alt text"
264 LayoutText {#text} at (70,20) size 4x19
265 text run at (70,20) width 4: " "
266 LayoutBR {BR} at (74,20) size 0x19
267 LayoutText {#text} at (0,40) size 12x19
268 text run at (0,40) width 12: "3."
269 LayoutBlockFlow {IMG} at (12,40) size 58x20 [bgcolor=#008000]
270 LayoutInline {SPAN} at (0,0) size 42x19
271 LayoutImage (floating) {IMG} at (0,0) size 16x16
272 LayoutInline {SPAN} at (0,0) size 42x19
273 LayoutText {#text} at (16,0) size 42x19
274 text run at (16,0) width 42: "alt text"
275 LayoutText {#text} at (70,40) size 4x19
276 text run at (70,40) width 4: " "
277 LayoutBR {BR} at (74,40) size 0x19
278 LayoutText {#text} at (0,60) size 12x19
279 text run at (0,60) width 12: "4."
280 LayoutBlockFlow {IMG} at (12,60) size 58x20 [bgcolor=#008000]
281 LayoutInline {SPAN} at (0,0) size 42x19
282 LayoutImage (floating) {IMG} at (0,0) size 16x16
283 LayoutInline {SPAN} at (0,0) size 42x19
284 LayoutText {#text} at (16,0) size 42x19
285 text run at (16,0) width 42: "alt text"
286 LayoutText {#text} at (70,60) size 4x19
287 text run at (70,60) width 4: " "
288 LayoutBR {BR} at (74,60) size 0x19
289 LayoutText {#text} at (0,80) size 12x19
290 text run at (0,80) width 12: "5."
291 LayoutBlockFlow {IMG} at (12,80) size 58x20
292 LayoutInline {SPAN} at (0,0) size 42x19
293 LayoutImage (floating) {IMG} at (0,0) size 16x16
294 LayoutInline {SPAN} at (0,0) size 42x19
295 LayoutText {#text} at (16,0) size 42x19
296 text run at (16,0) width 42: "alt text"
297 LayoutText {#text} at (70,80) size 4x19
298 text run at (70,80) width 4: " "
299 LayoutBR {BR} at (74,80) size 0x19
300 LayoutBlockFlow {DIV} at (0,1396) size 180.25x156
301 LayoutBlockFlow {P} at (0,0) size 180.25x40
302 LayoutText {#text} at (0,0) size 155x39
303 text run at (0,0) width 155: "Different dimensions, alt"
304 text run at (0,20) width 31: "text, "
305 text run at (31,20) width 31: "src ="
306 LayoutBlockFlow (anonymous) at (0,56) size 180.25x100
307 LayoutText {#text} at (0,0) size 12x19
308 text run at (0,0) width 12: "1."
309 LayoutBlockFlow {IMG} at (12,0) size 58x20 [bgcolor=#008000]
310 LayoutInline {SPAN} at (0,0) size 42x19
311 LayoutImage (floating) {IMG} at (0,0) size 16x16
312 LayoutInline {SPAN} at (0,0) size 42x19
313 LayoutText {#text} at (16,0) size 42x19
314 text run at (16,0) width 42: "alt text"
315 LayoutText {#text} at (70,0) size 4x19
316 text run at (70,0) width 4: " "
317 LayoutBR {BR} at (74,0) size 0x19
318 LayoutText {#text} at (0,20) size 12x19
319 text run at (0,20) width 12: "2."
320 LayoutBlockFlow {IMG} at (12,20) size 58x20 [bgcolor=#008000]
321 LayoutInline {SPAN} at (0,0) size 42x19
322 LayoutImage (floating) {IMG} at (0,0) size 16x16
323 LayoutInline {SPAN} at (0,0) size 42x19
324 LayoutText {#text} at (16,0) size 42x19
325 text run at (16,0) width 42: "alt text"
326 LayoutText {#text} at (70,20) size 4x19
327 text run at (70,20) width 4: " "
328 LayoutBR {BR} at (74,20) size 0x19
329 LayoutText {#text} at (0,40) size 12x19
330 text run at (0,40) width 12: "3."
331 LayoutBlockFlow {IMG} at (12,40) size 58x20 [bgcolor=#008000]
332 LayoutInline {SPAN} at (0,0) size 42x19
333 LayoutImage (floating) {IMG} at (0,0) size 16x16
334 LayoutInline {SPAN} at (0,0) size 42x19
335 LayoutText {#text} at (16,0) size 42x19
336 text run at (16,0) width 42: "alt text"
337 LayoutText {#text} at (70,40) size 4x19
338 text run at (70,40) width 4: " "
339 LayoutBR {BR} at (74,40) size 0x19
340 LayoutText {#text} at (0,60) size 12x19
341 text run at (0,60) width 12: "4."
342 LayoutBlockFlow {IMG} at (12,60) size 58x20 [bgcolor=#008000]
343 LayoutInline {SPAN} at (0,0) size 42x19
344 LayoutImage (floating) {IMG} at (0,0) size 16x16
345 LayoutInline {SPAN} at (0,0) size 42x19
346 LayoutText {#text} at (16,0) size 42x19
347 text run at (16,0) width 42: "alt text"
348 LayoutText {#text} at (70,60) size 4x19
349 text run at (70,60) width 4: " "
350 LayoutBR {BR} at (74,60) size 0x19
351 LayoutText {#text} at (0,80) size 12x19
352 text run at (0,80) width 12: "5."
353 LayoutBlockFlow {IMG} at (12,95) size 0x0
354 LayoutInline {SPAN} at (0,0) size 0x0
355 LayoutInline {SPAN} at (0,0) size 0x0
356 LayoutText {#text} at (12,80) size 4x19
357 text run at (12,80) width 4: " "
358 LayoutBR {BR} at (16,80) size 0x19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698