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

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

Powered by Google App Engine
This is Rietveld 408576698