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

Unified Diff: LayoutTests/platform/linux/fast/hidpi/image-srcset-png-canvas-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-png-canvas-expected.txt
diff --git a/LayoutTests/platform/linux/fast/hidpi/image-srcset-png-canvas-expected.txt b/LayoutTests/platform/linux/fast/hidpi/image-srcset-png-canvas-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..70ed88cee8aac7fe2521c40f60716b515537f87b
--- /dev/null
+++ b/LayoutTests/platform/linux/fast/hidpi/image-srcset-png-canvas-expected.txt
@@ -0,0 +1,62 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x521
+ RenderBlock {HTML} at (0,0) size 800x521.25
+ RenderBody {BODY} at (8,19.91) size 784x485.34
+ RenderBlock {H2} at (0,0) size 784x27
+ 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 784x236.22 [border: (1px solid #808080)]
+ RenderBlock {H3} at (17,35.72) size 750x23
+ RenderText {#text} at (0,0) size 366x22
+ text run at (0,0) width 366: "Canvas PNG without explicit dimensions - 1x"
+ RenderBlock (floating) {DIV} at (550.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 (317.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
+ RenderHTMLCanvas {CANVAS} at (7,27.39) size 202x102 [border: (1px solid #000000)]
+ RenderText {#text} at (0,0) size 0x0
+ RenderBlock (anonymous) at (17,77.44) size 750x141.78
+ RenderText {#text} at (0,0) size 283x59
+ text run at (0,0) width 283: "This test should show a PNG image drawn into"
+ text run at (0,20) width 267: "a canvas. The canvas and image should look"
+ text run at (0,40) width 235: "the same and both should be 200x100."
+ RenderBR {BR} at (235,40) size 0x19
+ RenderBlock {CODE} at (0,75) size 0x0
+ RenderText {#text} at (0,60) size 4x19
+ text run at (0,60) width 4: " "
+ RenderBR {BR} at (4,60) size 0x19
+ RenderBlock {DIV} at (0,299.13) size 784x186.22 [border: (1px solid #808080)]
+ RenderBlock {H3} at (17,35.72) size 750x23
+ RenderText {#text} at (0,0) size 366x22
+ text run at (0,0) width 366: "Canvas PNG without explicit dimensions - 2x"
+ RenderBlock (floating) {DIV} at (650.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 (517.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
+ RenderHTMLCanvas {CANVAS} at (7,27.39) size 102x52 [border: (1px solid #000000)]
+ RenderText {#text} at (0,0) size 0x0
+ RenderBlock (anonymous) at (17,77.44) size 750x91.78
+ RenderText {#text} at (0,0) size 447x39
+ text run at (0,0) width 447: "This test should show an SVG image drawn into a canvas. The canvas and"
+ text run at (0,20) width 340: "image should look the same and both should be 100x50."
+ RenderBR {BR} at (340,20) size 0x19
+ RenderBlock {CODE} at (0,55) size 0x0
+ RenderText {#text} at (0,40) size 4x19
+ text run at (0,40) width 4: " "
+ RenderBR {BR} at (4,40) size 0x19

Powered by Google App Engine
This is Rietveld 408576698