mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 01:33:16 +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) {
|
while (last_inner != NULL) {
|
||||||
if (last_inner->list_marker != NULL)
|
if (last_inner->list_marker != NULL)
|
||||||
break;
|
break;
|
||||||
|
if (last_inner->type ==
|
||||||
last_inner = last_inner->last;
|
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) {
|
if (last_inner != NULL) {
|
||||||
last = last_inner;
|
last = last_inner;
|
||||||
|
Loading…
Reference in New Issue
Block a user