mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 22:41:30 +03:00
Root element can't be absolute positioned. Fixes #3062055.
svn path=/trunk/netsurf/; revision=10743
This commit is contained in:
parent
e0477fa668
commit
b9773d34bb
@ -1350,7 +1350,8 @@ void layout_find_dimensions(int available_width, int viewport_height,
|
||||
enum css_height_e cbhtype;
|
||||
|
||||
if (css_computed_position(box->style) ==
|
||||
CSS_POSITION_ABSOLUTE) {
|
||||
CSS_POSITION_ABSOLUTE &&
|
||||
box->parent) {
|
||||
/* Box is absolutely positioned */
|
||||
assert(box->float_container);
|
||||
containing_block = box->float_container;
|
||||
|
Loading…
Reference in New Issue
Block a user