aboutsummaryrefslogtreecommitdiff
path: root/dpid/dpid.h
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2025-08-30 15:16:14 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2025-08-30 16:08:34 +0200
commit73e52f3582329a5e222884a5eaea9f3e21c9a321 (patch)
tree3aa91553ab852ac70a63f8218380922b80dc8ff3 /dpid/dpid.h
parent79c10b34b38b5e10c2c5d3c7feb6ac6dfb2979fb (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 'dpid/dpid.h')
0 files changed, 0 insertions, 0 deletions