mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 04:56:50 +03:00
Also remember to apply min/max-width on floats without auto width.
svn path=/trunk/netsurf/; revision=5446
This commit is contained in:
parent
1a00aa03a5
commit
324cc53e87
@ -947,6 +947,8 @@ void layout_float_find_dimensions(int available_width,
|
||||
if (min_width > 0 && width < min_width) width = min_width;
|
||||
|
||||
} else {
|
||||
if (max_width >= 0 && width > max_width) width = max_width;
|
||||
if (min_width > 0 && width < min_width) width = min_width;
|
||||
width -= scrollbar_width;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user