Re: patch: disallow textarea/button inside select
On Sun, Aug 24, 2008 at 01:25:02AM +0000, corvid wrote:
Putting aside the Stash one for something easy (with Stash, the html file is like 90K, and it seems like touching any of it makes the crashing stop, so...), I find that textarea or button inside select is bad because close_select assumes that current input is a select.
An alternative would be to make close_select check the current input, but then other controls aren't supposed to be inside it anyway...
I feel like we already had this bug and fixed it, but I must be thinking of whatever specifically made us add the IN_SELECT test to open_input.
We may find a canonical way to implement this constraints in the future (e.g. only OPTION|OPTGROUP in SELECT), maybe inside Html_process_tag()... Committed... -- Cheers Jorge.-
participants (1)
-
jcid@dillo.org