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

Side by Side Diff: LayoutTests/platform/linux/fast/hidpi/image-srcset-png-expected.txt

Issue 25105004: Use srcset's resource pixel density to determine intrinsic size (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cleantests
Patch Set: Fixed crash+rebased Created 7 years, 2 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 785x1135
2 RenderView at (0,0) size 785x600
3 layer at (0,0) size 785x1135
4 RenderBlock {HTML} at (0,0) size 785x1134.69
5 RenderBody {BODY} at (8,19.91) size 769x1098.78
6 RenderBlock {H2} at (0,0) size 769x27
7 RenderInline {A} at (0,0) size 59x26 [color=#0000EE]
8 RenderText {#text} at (0,0) size 59x26
9 text run at (0,0) width 59: "srcset"
10 RenderText {#text} at (59,0) size 184x26
11 text run at (59,0) width 184: " testcases for SVG"
12 RenderBlock {DIV} at (0,46.91) size 769x284.22 [border: (1px solid #808080 )]
13 RenderBlock {H3} at (17,35.72) size 735x23
14 RenderText {#text} at (0,0) size 300x22
15 text run at (0,0) width 300: "PNG without explicit dimensions - 1x"
16 RenderBlock (floating) {DIV} at (535.22,77.44) size 216.78x141.78 [bgcol or=#EEEEEE] [border: (1px solid #CCCCCC)]
17 RenderText {#text} at (7,7) size 55x19
18 text run at (7,7) width 55: "expected"
19 RenderBR {BR} at (62,7) size 0x19
20 RenderImage {IMG} at (7,27.39) size 202x102 [border: (1px solid #00000 0)]
21 RenderText {#text} at (0,0) size 0x0
22 RenderBlock (floating) {DIV} at (302.44,77.44) size 216.78x141.78 [bgcol or=#EEEEEE] [border: (1px solid #CCCCCC)]
23 RenderText {#text} at (7,7) size 35x19
24 text run at (7,7) width 35: "actual"
25 RenderBR {BR} at (42,7) size 0x19
26 RenderImage {IMG} at (7,27.39) size 202x102 [border: (1px solid #00000 0)]
27 RenderText {#text} at (0,0) size 0x0
28 RenderBlock (anonymous) at (17,77.44) size 735x189.78
29 RenderText {#text} at (0,0) size 267x79
30 text run at (0,0) width 257: "This test should show a PNG image of s ize"
31 text run at (0,20) width 267: "200x100, and intrinsic/natural size 2 00x100."
32 text run at (0,40) width 259: "The left half of the image should be red and"
33 text run at (0,60) width 257: "there should be a black circle in the center."
34 RenderBR {BR} at (257,60) size 0x19
35 RenderBlock {CODE} at (0,154.78) size 440x34
36 RenderText {#text} at (0,0) size 384x17
37 text run at (0,0) width 384: "image stats: size(200,100), naturalS ize(200,100)"
38 RenderBR {BR} at (384,0) size 0x17
39 RenderText {#text} at (0,17) size 440x17
40 text run at (0,17) width 440: "image codes: <img id=\"png1\" src=\ "resources/srcset.png\">"
41 RenderText {#text} at (440,169) size 4x20
42 text run at (440,169) width 4: " "
43 RenderText {#text} at (0,0) size 0x0
44 RenderBR {BR} at (444,169) size 0x20
45 RenderBlock {DIV} at (0,347.13) size 769x234.22 [border: (1px solid #80808 0)]
46 RenderBlock {H3} at (17,35.72) size 735x23
47 RenderText {#text} at (0,0) size 274x22
48 text run at (0,0) width 274: "PNG with explicit dimensions - 1x"
49 RenderBlock (floating) {DIV} at (635.22,77.44) size 116.78x91.78 [bgcolo r=#EEEEEE] [border: (1px solid #CCCCCC)]
50 RenderText {#text} at (7,7) size 55x19
51 text run at (7,7) width 55: "expected"
52 RenderBR {BR} at (62,7) size 0x19
53 RenderImage {IMG} at (7,27.39) size 102x52 [border: (1px solid #000000 )]
54 RenderText {#text} at (0,0) size 0x0
55 RenderBlock (floating) {DIV} at (502.44,77.44) size 116.78x91.78 [bgcolo r=#EEEEEE] [border: (1px solid #CCCCCC)]
56 RenderText {#text} at (7,7) size 35x19
57 text run at (7,7) width 35: "actual"
58 RenderBR {BR} at (42,7) size 0x19
59 RenderImage {IMG} at (7,27.39) size 102x52 [border: (1px solid #000000 )]
60 RenderText {#text} at (0,0) size 0x0
61 RenderBlock (anonymous) at (17,77.44) size 735x139.78
62 RenderText {#text} at (0,0) size 458x59
63 text run at (0,0) width 457: "This test should show a PNG image of s ize 100x50, and intrinsic/natural size"
64 text run at (0,20) width 458: "100x50. The left half of the image sh ould be red and there should be a black"
65 text run at (0,40) width 113: "circle in the center."
66 RenderBR {BR} at (113,40) size 0x19
67 RenderBlock {CODE} at (0,104.78) size 632x34
68 RenderText {#text} at (0,0) size 376x17
69 text run at (0,0) width 376: "image stats: size(100,50), naturalSi ze(200,100)"
70 RenderBR {BR} at (376,0) size 0x17
71 RenderText {#text} at (0,17) size 632x17
72 text run at (0,17) width 632: "image codes: <img id=\"png2\" src=\ "resources/srcset.png\" width=\"100\" height=\"50\">"
73 RenderText {#text} at (632,119) size 4x20
74 text run at (632,119) width 4: " "
75 RenderText {#text} at (0,0) size 0x0
76 RenderBR {BR} at (636,119) size 0x20
77 RenderBlock {DIV} at (0,597.34) size 769x234.22 [border: (1px solid #80808 0)]
78 RenderBlock {H3} at (17,35.72) size 735x23
79 RenderText {#text} at (0,0) size 300x22
80 text run at (0,0) width 300: "PNG without explicit dimensions - 2x"
81 RenderBlock (floating) {DIV} at (635.22,77.44) size 116.78x91.78 [bgcolo r=#EEEEEE] [border: (1px solid #CCCCCC)]
82 RenderText {#text} at (7,7) size 55x19
83 text run at (7,7) width 55: "expected"
84 RenderBR {BR} at (62,7) size 0x19
85 RenderImage {IMG} at (7,27.39) size 102x52 [border: (1px solid #000000 )]
86 RenderText {#text} at (0,0) size 0x0
87 RenderBlock (floating) {DIV} at (502.44,77.44) size 116.78x91.78 [bgcolo r=#EEEEEE] [border: (1px solid #CCCCCC)]
88 RenderText {#text} at (7,7) size 35x19
89 text run at (7,7) width 35: "actual"
90 RenderBR {BR} at (42,7) size 0x19
91 RenderImage {IMG} at (7,27.39) size 102x52 [border: (1px solid #000000 )]
92 RenderText {#text} at (0,0) size 0x0
93 RenderBlock (anonymous) at (17,77.44) size 735x139.78
94 RenderText {#text} at (0,0) size 458x59
95 text run at (0,0) width 457: "This test should show a PNG image of s ize 100x50, and intrinsic/natural size"
96 text run at (0,20) width 458: "100x50. The left half of the image sh ould be red and there should be a black"
97 text run at (0,40) width 113: "circle in the center."
98 RenderBR {BR} at (113,40) size 0x19
99 RenderBlock {CODE} at (0,104.78) size 544x34
100 RenderText {#text} at (0,0) size 376x17
101 text run at (0,0) width 376: "image stats: size(100,50), naturalSi ze(200,100)"
102 RenderBR {BR} at (376,0) size 0x17
103 RenderText {#text} at (0,17) size 544x17
104 text run at (0,17) width 544: "image codes: <img id=\"png3\" src=\ "\" srcset=\"resources/srcset.png 2x\">"
105 RenderText {#text} at (544,119) size 4x20
106 text run at (544,119) width 4: " "
107 RenderText {#text} at (0,0) size 0x0
108 RenderBR {BR} at (548,119) size 0x20
109 RenderBlock {DIV} at (0,847.56) size 769x251.22 [border: (1px solid #80808 0)]
110 RenderBlock {H3} at (17,35.72) size 735x23
111 RenderText {#text} at (0,0) size 274x22
112 text run at (0,0) width 274: "PNG with explicit dimensions - 4x"
113 RenderBlock (floating) {DIV} at (635.22,77.44) size 116.78x91.78 [bgcolo r=#EEEEEE] [border: (1px solid #CCCCCC)]
114 RenderText {#text} at (7,7) size 55x19
115 text run at (7,7) width 55: "expected"
116 RenderBR {BR} at (62,7) size 0x19
117 RenderImage {IMG} at (7,27.39) size 102x52 [border: (1px solid #000000 )]
118 RenderText {#text} at (0,0) size 0x0
119 RenderBlock (floating) {DIV} at (502.44,77.44) size 116.78x91.78 [bgcolo r=#EEEEEE] [border: (1px solid #CCCCCC)]
120 RenderText {#text} at (7,7) size 35x19
121 text run at (7,7) width 35: "actual"
122 RenderBR {BR} at (42,7) size 0x19
123 RenderImage {IMG} at (7,27.39) size 102x52 [border: (1px solid #000000 )]
124 RenderText {#text} at (0,0) size 0x0
125 RenderBlock (anonymous) at (17,77.44) size 735x156.78
126 RenderText {#text} at (0,0) size 457x59
127 text run at (0,0) width 457: "This test should show a PNG image of s ize 100x50, and intrinsic/natural size"
128 text run at (0,20) width 450: "50x25. The left half of the image sho uld be red and there should be a black"
129 text run at (0,40) width 113: "circle in the center."
130 RenderBR {BR} at (113,40) size 0x19
131 RenderBlock {CODE} at (0,104.78) size 735x51
132 RenderText {#text} at (0,0) size 376x17
133 text run at (0,0) width 376: "image stats: size(100,50), naturalSi ze(200,100)"
134 RenderBR {BR} at (376,0) size 0x17
135 RenderText {#text} at (0,17) size 632x34
136 text run at (0,17) width 632: "image codes: <img id=\"png4\" src=\ "\" srcset=\"resources/srcset.png 4x\" width=\"100\""
137 text run at (0,34) width 96: "height=\"50\">"
138 RenderText {#text} at (0,0) size 0x0
139 RenderText {#text} at (0,0) size 0x0
140 RenderBR {BR} at (0,0) size 0x0
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698