mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 12:12:35 +03:00
html: set up canvas box properly
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
parent
b39f418bca
commit
937894d654
@ -824,6 +824,13 @@ box_canvas(dom_node *n,
|
|||||||
}
|
}
|
||||||
*convert_children = false;
|
*convert_children = false;
|
||||||
|
|
||||||
|
if (box->style &&
|
||||||
|
ns_computed_display(box->style, box_is_root(n)) == CSS_DISPLAY_NONE)
|
||||||
|
return true;
|
||||||
|
|
||||||
|
/* This is replaced content */
|
||||||
|
box->flags |= IS_REPLACED | REPLACE_DIM;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user