mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[iframe] Just to commit today.
This commit is contained in:
parent
ae02be3b6e
commit
cef822653d
@ -502,6 +502,7 @@ html_iframe_do(char *a, char *object_src,
|
||||
}
|
||||
|
||||
if (height > 0) {
|
||||
int y = html_context->part->cy;
|
||||
char *url2;
|
||||
ln_break(html_context, height);
|
||||
|
||||
@ -511,7 +512,7 @@ html_iframe_do(char *a, char *object_src,
|
||||
struct uri *uri = get_uri(url2, URI_BASE);
|
||||
|
||||
if (uri) {
|
||||
html_context->special_f(html_context, SP_IFRAME, uri);
|
||||
html_context->special_f(html_context, SP_IFRAME, uri, y, height);
|
||||
done_uri(uri);
|
||||
}
|
||||
mem_free(url2);
|
||||
|
@ -2360,6 +2360,8 @@ html_special(struct html_context *html_context, enum html_special_type c, ...)
|
||||
{
|
||||
if (document) {
|
||||
struct uri *uri = va_arg(l, struct uri *);
|
||||
int y = va_arg(l, int);
|
||||
int height = va_arg(l, int);
|
||||
|
||||
add_to_uri_list(&document->iframes, uri);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user