Standard behavior of <frame> element.
After loading of document into the frame its root element (html) will be set as a single child of the frame element as if it was declared this way:
... <frame src="something.htm"> <html> <!-- root node of something.htm --> ... </html> </frame> ...
that have this behavior applied by default (see master_style_sheet):
<frame> that this behavior knows about:
src=“url.html” - url of the document that will be loaded into this frame.content-style=“url.css” - url of style sheet that will be appended to styles defined in the document. That allows host to [re-]define some styles defined in the document. While loading frame element gets :busy flags that can be used for presenting load-in-progress state.
The frame behavior supports following xcall() methods (see dom::element::xcall() function):
xcall(“load”, url:string) - starts loading content of the url into the frame;xcall(“clear”) - clears content of the frame (by loading blank document);Note that in CSSS! or TIScript/Sciter you can access these methods simply as:
theFrame.load("http://something.com");