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

Unified Diff: LayoutTests/platform/linux/fast/hidpi/image-srcset-svg-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/platform/linux/fast/hidpi/image-srcset-svg-expected.txt
diff --git a/LayoutTests/platform/linux/fast/hidpi/image-srcset-svg-expected.txt b/LayoutTests/platform/linux/fast/hidpi/image-srcset-svg-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b0d87161f4f3ce671c7dd0d20f483770b5e78521
--- /dev/null
+++ b/LayoutTests/platform/linux/fast/hidpi/image-srcset-svg-expected.txt
@@ -0,0 +1,77 @@
+layer at (0,0) size 785x617
+ RenderView at (0,0) size 785x600
+layer at (0,0) size 785x617
+ RenderBlock {HTML} at (0,0) size 785x617.25
+ RenderBody {BODY} at (8,19.91) size 769x581.34
+ RenderBlock {H2} at (0,0) size 769x27
+ RenderInline {A} at (0,0) size 59x26 [color=#0000EE]
+ RenderText {#text} at (0,0) size 59x26
+ text run at (0,0) width 59: "srcset"
+ RenderText {#text} at (59,0) size 184x26
+ text run at (59,0) width 184: " testcases for SVG"
+ RenderBlock {DIV} at (0,46.91) size 769x284.22 [border: (1px solid #808080)]
+ RenderBlock {H3} at (17,35.72) size 735x23
+ RenderText {#text} at (0,0) size 298x22
+ text run at (0,0) width 298: "SVG without explicit dimensions - 1x"
+ RenderBlock (floating) {DIV} at (535.22,77.44) size 216.78x141.78 [bgcolor=#EEEEEE] [border: (1px solid #CCCCCC)]
+ RenderText {#text} at (7,7) size 55x19
+ text run at (7,7) width 55: "expected"
+ RenderBR {BR} at (62,7) size 0x19
+ RenderImage {IMG} at (7,27.39) size 202x102 [border: (1px solid #000000)]
+ RenderText {#text} at (0,0) size 0x0
+ RenderBlock (floating) {DIV} at (302.44,77.44) size 216.78x141.78 [bgcolor=#EEEEEE] [border: (1px solid #CCCCCC)]
+ RenderText {#text} at (7,7) size 35x19
+ text run at (7,7) width 35: "actual"
+ RenderBR {BR} at (42,7) size 0x19
+ RenderImage {IMG} at (7,27.39) size 202x102 [border: (1px solid #000000)]
+ RenderText {#text} at (0,0) size 0x0
+ RenderBlock (anonymous) at (17,77.44) size 735x189.78
+ RenderText {#text} at (0,0) size 267x99
+ text run at (0,0) width 263: "This test should show an SVG image of size"
+ text run at (0,20) width 267: "200x100, and intrinsic/natural size 200x100."
+ text run at (0,40) width 246: "The left half of the image should be green"
+ text run at (0,60) width 230: "and there should be a blue circle in the"
+ text run at (0,80) width 41: "center."
+ RenderBR {BR} at (41,80) size 0x19
+ RenderBlock {CODE} at (0,154.78) size 440x34
+ RenderText {#text} at (0,0) size 384x17
+ text run at (0,0) width 384: "image stats: size(200,100), naturalSize(200,100)"
+ RenderBR {BR} at (384,0) size 0x17
+ RenderText {#text} at (0,17) size 440x17
+ text run at (0,17) width 440: "image codes: <img id=\"svg1\" src=\"resources/srcset.svg\">"
+ RenderText {#text} at (440,169) size 4x20
+ text run at (440,169) width 4: " "
+ RenderText {#text} at (0,0) size 0x0
+ RenderBR {BR} at (444,169) size 0x20
+ RenderBlock {DIV} at (0,347.13) size 769x234.22 [border: (1px solid #808080)]
+ RenderBlock {H3} at (17,35.72) size 735x23
+ RenderText {#text} at (0,0) size 272x22
+ text run at (0,0) width 272: "SVG with explicit dimensions - 1x"
+ RenderBlock (floating) {DIV} at (635.22,77.44) size 116.78x91.78 [bgcolor=#EEEEEE] [border: (1px solid #CCCCCC)]
+ RenderText {#text} at (7,7) size 55x19
+ text run at (7,7) width 55: "expected"
+ RenderBR {BR} at (62,7) size 0x19
+ RenderImage {IMG} at (7,27.39) size 102x52 [border: (1px solid #000000)]
+ RenderText {#text} at (0,0) size 0x0
+ RenderBlock (floating) {DIV} at (502.44,77.44) size 116.78x91.78 [bgcolor=#EEEEEE] [border: (1px solid #CCCCCC)]
+ RenderText {#text} at (7,7) size 35x19
+ text run at (7,7) width 35: "actual"
+ RenderBR {BR} at (42,7) size 0x19
+ RenderImage {IMG} at (7,27.39) size 102x52 [border: (1px solid #000000)]
+ RenderText {#text} at (0,0) size 0x0
+ RenderBlock (anonymous) at (17,77.44) size 735x139.78
+ RenderText {#text} at (0,0) size 463x59
+ text run at (0,0) width 463: "This test should show an SVG image of size 100x50, and intrinsic/natural size"
+ text run at (0,20) width 463: "100x50. The left half of the image should be green and there should be a blue"
+ text run at (0,40) width 113: "circle in the center."
+ RenderBR {BR} at (113,40) size 0x19
+ RenderBlock {CODE} at (0,104.78) size 632x34
+ RenderText {#text} at (0,0) size 368x17
+ text run at (0,0) width 368: "image stats: size(100,50), naturalSize(100,50)"
+ RenderBR {BR} at (368,0) size 0x17
+ RenderText {#text} at (0,17) size 632x17
+ text run at (0,17) width 632: "image codes: <img id=\"svg2\" src=\"resources/srcset.svg\" width=\"100\" height=\"50\">"
+ RenderText {#text} at (632,119) size 4x20
+ text run at (632,119) width 4: " "
+ RenderText {#text} at (0,0) size 0x0
+ RenderBR {BR} at (636,119) size 0x20

Powered by Google App Engine
This is Rietveld 408576698