1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Bug 963: Parse scripts in blocks hidden with "display: none"

Handle <script> blocks even when they are contained by blocks with
"display: none" set.

This commit fixes the second problem that Kalle points out in comment 5
to bug 963.
This commit is contained in:
Miciah Dashiel Butler Masters 2008-05-23 02:51:30 +00:00 committed by Miciah Dashiel Butler Masters
parent cadd2ecc10
commit 86db3461b8

View File

@ -78,7 +78,7 @@ css_apply_display(struct html_context *html_context, struct html_element *elemen
break;
case CSS_DISP_NONE:
if (!html_context->options->css_ignore_display_none)
element->invisible = 1;
element->invisible = 2;
break;
default:
INTERNAL("Bad prop->value.display %d", prop->value.display);