mirror of
https://github.com/RGBCube/serenity
synced 2025-07-07 16:17:36 +00:00

This patch introduces a bunch of things: - Subframes (Web::Frame::create_subframe()) - HTMLIFrameElement (loads and owns the hosted Web::Frame) - LayoutFrame (layout and rendering of the hosted frame) There's still a huge number of things missing, like scrolling, overflow handling, event handling, scripting, etc. But we can make a little iframe in a document and it actually renders another document there. I think that's pretty cool! :^)
6 lines
214 B
HTML
6 lines
214 B
HTML
<body>
|
|
<p>This page has an iframe in it
|
|
<p>Cool huh?
|
|
<iframe width=300 height=200 src="iframe-subframe.html" style="border: 1px solid #444"></iframe>
|
|
<p><b>this text is after the iframe</b>
|
|
</body>
|