Add a basic img test.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/732763002
This commit is contained in:
Ojan Vafai 2014-11-14 13:58:19 -08:00
parent 3d343084cc
commit 63afdb64d8
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
layer at (0,0) size 800x600
RenderView {#document} at (0,0) size 800x600
layer at (0,0) size 800x89
RenderBlock {foo} at (0,0) size 800x89
RenderImage {img} at (272,0) size 256x64
RenderImage {img} at (350,64) size 100x25

View File

@ -0,0 +1,7 @@
<foo>
<import src="../resources/dump-as-render-tree.sky" />
<img src="resources/palatted-color-png-gamma-one-color-profile.png" />
<img src="resources/palatted-color-png-gamma-one-color-profile.png" style="width: 100px;" />
</foo>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB