diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-08-30 15:16:14 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-08-30 16:08:34 +0200 |
commit | 73e52f3582329a5e222884a5eaea9f3e21c9a321 (patch) | |
tree | 3aa91553ab852ac70a63f8218380922b80dc8ff3 /devdoc/Images.txt | |
parent | 79c10b34b38b5e10c2c5d3c7feb6ac6dfb2979fb (diff) |
Avoid new Embed or Resource on invisible inputs
When an input element should not be displayed due to display:none, don't
allocate the Resource or the Embed directly. It won't be added to the
Widget tree either. This prevents allocating Resources that are not tied
to a Widget so they are not leaked when the tree is destroyed.
The Embed or Resource elements won't be needed as the DilloHtmlInput
handles all the form logic.
Diffstat (limited to 'devdoc/Images.txt')
0 files changed, 0 insertions, 0 deletions