mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 17:22:44 +03:00
Restrict 'drill down' to specific box types.
This commit is contained in:
parent
b1eb026c6e
commit
7063846614
@ -513,8 +513,16 @@ static bool box_construct_marker(struct box *box, const char *title,
|
||||
while (last_inner != NULL) {
|
||||
if (last_inner->list_marker != NULL)
|
||||
break;
|
||||
|
||||
last_inner = last_inner->last;
|
||||
if (last_inner->type ==
|
||||
BOX_INLINE_CONTAINER ||
|
||||
last_inner->type ==
|
||||
BOX_FLOAT_LEFT ||
|
||||
last_inner->type ==
|
||||
BOX_FLOAT_RIGHT) {
|
||||
last_inner = last_inner->last;
|
||||
} else {
|
||||
last_inner = NULL;
|
||||
}
|
||||
}
|
||||
if (last_inner != NULL) {
|
||||
last = last_inner;
|
||||
|
Loading…
Reference in New Issue
Block a user