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:
Matt Perry
2014-11-12 16:50:34 -05:00
parent bc824f36fe
commit 69f275081b
2 changed files with 17 additions and 0 deletions

View 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

View 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>