Sky: Add a test for the <iframe> element.
Had to disable a DCHECK for now. Scott will investigate why the DCHECK is hit. BUG=432658 R=sky@chromium.org Review URL: https://codereview.chromium.org/722713003
This commit is contained in:
13
engine/src/flutter/tests/lowlevel/iframe-expected.txt
Normal file
13
engine/src/flutter/tests/lowlevel/iframe-expected.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
layer at (0,0) size 800x600
|
||||
RenderView {#document} at (0,0) size 800x600
|
||||
layer at (0,0) size 800x188
|
||||
RenderBlock {sky} at (0,0) size 800x188
|
||||
RenderBlock {div} at (0,0) size 800x188
|
||||
RenderBlock (anonymous) at (0,0) size 800x19
|
||||
RenderText {#text} at (0,0) size 76x19
|
||||
text run at (0,0) width 76: "This is an"
|
||||
RenderBlock (anonymous) at (0,169) size 800x19
|
||||
RenderText {#text} at (0,0) size 72x19
|
||||
text run at (0,0) width 72: "element."
|
||||
layer at (250,19) size 300x150
|
||||
RenderReplaced {iframe} at (250,19) size 300x150
|
||||
4
engine/src/flutter/tests/lowlevel/iframe.sky
Normal file
4
engine/src/flutter/tests/lowlevel/iframe.sky
Normal file
@@ -0,0 +1,4 @@
|
||||
<sky>
|
||||
<import src="../resources/dump-as-render-tree.sky" />
|
||||
<div>This is an <iframe src="abarth.sky">iframe</iframe> element.</div>
|
||||
</sky>
|
||||
Reference in New Issue
Block a user