mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Add a basic img test.
R=abarth@chromium.org Review URL: https://codereview.chromium.org/732763002
This commit is contained in:
parent
3d343084cc
commit
63afdb64d8
7
engine/src/flutter/tests/lowlevel/img-expected.txt
Normal file
7
engine/src/flutter/tests/lowlevel/img-expected.txt
Normal 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
|
||||
|
||||
7
engine/src/flutter/tests/lowlevel/img.sky
Normal file
7
engine/src/flutter/tests/lowlevel/img.sky
Normal 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 |
Loading…
x
Reference in New Issue
Block a user